#CB9DFD

A color in the Violet family

#cb9dfd is a color in the Violet family: RGB(203, 157, 253), HSL(269°, 96%, 80%), CMYK(20%, 38%, 0%, 1%). Closest named color: plum. Contrast is 2.15:1 on white and 9.78:1 on black. See shades, harmonies and color-blindness simulation.

Color Codes

HEX#cb9dfd
RGBrgb(203 157 253)
RGB (legacy)rgb(203, 157, 253)
RGB %rgb(80% 62% 99%)
HSLhsl(269 96% 80%)
HSV / HSBhsv(269, 38%, 99%)
HWBhwb(269 62% 1%)
CMYKcmyk(20%, 38%, 0%, 1%)
CIELAB (D50)lab(71.83 31.18 -41.65)
LCHlch(71.83 52.03 306.82)
OKLaboklab(0.7741 0.0816 -0.1149)
OKLCHoklch(0.7741 0.1409 305.38)
Decimal13344253

Properties

Color ToneViolet
Closest named colorplum ΔE 5.7
Closest web-safe color#cc99ff
Hue269°
Saturation (HSL / HSV)96% / 38%
Lightness (HSL)80%
Brightness or Value (HSV)99%
Luminance (Rec.601 / Rec.709)71% / 68%
Relative luminance (WCAG)0.439
Red / Green / Blue203 / 157 / 253

WCAG 2.2 Contrast Ratio

On White (#ffffff)
2.15:1
AA Normal (4.5:1) · FailAA Large (3:1) · FailAAA Normal (7:1) · Fail
On Black (#000000)
9.78:1
AA Normal (4.5:1) · PassAA Large (3:1) · PassAAA Normal (7:1) · Pass
Aa Bb 123

APCA Contrast Lc (reference) — As text on white / black: Lc 42 / -60.2 · As background with white / black text: Lc -46.7 / 61.9

Lightness Scale (OKLCH 50–950)

Eleven steps that change only perceived lightness while keeping hue and chroma — ready to use as design-system color tokens.

Tints (mixed with white)

Shades (mixed with black)

Color Harmonies

Color Vision Deficiency Simulation

Estimated appearance of this color for people with color vision deficiencies (Machado 2009).

Similar Named Colors

Use in CSS

:root {
  --color-brand: #cb9dfd;
  --color-brand-oklch: oklch(77.41% 0.1409 305.38);
}
.text { color: var(--color-brand); }
.background { background-color: var(--color-brand); }
.border { border: 1px solid rgb(203 157 253 / 50%); }
/* Tailwind CSS */
<div class="bg-[#cb9dfd] text-[#cb9dfd] border-[#cb9dfd]">