#CB7DF9#CB7DF9

#CB7DF9 is a light, vivid violet. Relative luminance 0.342; OKLCH L 72.1% C 0.188 H 311.6°. Best body text is #000000 at 7.84:1 contrast (WCAG AA passes).

Color values

HEX#CB7DF9
RGBrgb(203, 125, 249)
HSLhsl(278, 91%, 73%)
HSVhsv(278, 50%, 98%)
CMYKcmyk(18.5%, 49.8%, 0%, 2.4%)
CIE-LABlab(65.12, 51.40, -50.31)
CIE-LCHlch(65.12, 71.93, 315.61°)
OKLaboklab(72.07% 0.1246 -0.1405)
OKLCHoklch(72.07% 0.188 311.6)
XYZxyz(49.0581, 34.2043, 93.6219)
Luminance0.3420 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB7DF9 #ABF97D
analogous
#8D7DF9 #CB7DF9 #F97DE9
triadic
#CB7DF9 #F9CB7D #7DF9CB
tetradic
#CB7DF9 #F98D7D #ABF97D #7DE9F9
square
#CB7DF9 #F98D7D #ABF97D #7DE9F9
split-complementary
#CB7DF9 #E9F97D #7DF98D
monochromatic
#9B0BF0 #B442F6 #CB7DF9 #E2B7FC #F3E2FE

Accessibility & contrast

On white

2.68
#CB7DF9 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.84
#CB7DF9 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CB7DF9
7.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CB7DF9#FFFFFF#000000##000000
##CB7DF91.002.687.847.84
#FFFFFF2.681.0021.0021.00
#0000007.8421.001.001.00
##0000007.8421.001.001.00

Color blindness preview

Protanopia (red-blind)
#5E9AFD
Deuteranopia (green-blind)
#76A0F6
Tritanopia (blue-blind)
#C691B0
Achromatopsia (no color)
#9E9E9E

Design tokens & code

CSS
--color: #cb7df9;
/* rgb */ color: rgb(203, 125, 249);
/* oklch */ color: oklch(72.1% 0.188 311.6);
Tailwind
colors: {
  custom: {
    50: '#dda5fc',
    500: '#cb7df9',
    950: '#000000',
  },
}
SCSS
$custom: #cb7df9;
$custom-light: #dda5fc;
$custom-dark: #000000;
JSON
{
  "hex": "#cb7df9",
  "rgb": {
    "r": 203,
    "g": 125,
    "b": 249
  },
  "hsl": {
    "h": 277.742,
    "s": 91.176,
    "l": 73.333
  },
  "oklch": {
    "l": 0.72072,
    "c": 0.18778,
    "h": 311.6
  },
  "luminance": 0.34203
}

Semantic roles & 50–950 ramp

primary
#CB7DF9
secondary
#E1F6D5
accent
#E60055
background
#FDFAFF
surface
#FBF4FF
border
#D4CED7
text
#150F17
muted
#837F85

Preview Lab

Preview with #CB7DF9

Body copy rendered with the generated semantic roles for this colour.

Preview Lab → · Contrast checker → · Palette generator →

#CB7DF9 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva