#CB7CF9#CB7CF9

#CB7CF9 is a light, vivid violet. Relative luminance 0.340; OKLCH L 71.9% C 0.189 H 311.7°. Best body text is #000000 at 7.79:1 contrast (WCAG AA passes).

Color values

HEX#CB7CF9
RGBrgb(203, 124, 249)
HSLhsl(278, 91%, 73%)
HSVhsv(278, 50%, 98%)
CMYKcmyk(18.5%, 50.2%, 0%, 2.4%)
CIE-LABlab(64.92, 51.92, -50.63)
CIE-LCHlch(64.92, 72.52, 315.72°)
OKLaboklab(71.92% 0.126 -0.1414)
OKLCHoklch(71.92% 0.189 311.7)
XYZxyz(48.9321, 33.9524, 93.5799)
Luminance0.3395 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB7CF9 #AAF97C
analogous
#8C7CF9 #CB7CF9 #F97CE8
triadic
#CB7CF9 #F9CB7C #7CF9CB
tetradic
#CB7CF9 #F98C7C #AAF97C #7CE8F9
square
#CB7CF9 #F98C7C #AAF97C #7CE8F9
split-complementary
#CB7CF9 #E8F97C #7CF98C
monochromatic
#9B0BF0 #B441F6 #CB7CF9 #E2B7FC #F3E2FE

Accessibility & contrast

On white

2.70
#CB7CF9 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.79
#CB7CF9 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CB7CF9
7.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CB7CF9#FFFFFF#000000##000000
##CB7CF91.002.707.797.79
#FFFFFF2.701.0021.0021.00
#0000007.7921.001.001.00
##0000007.7921.001.001.00

Color blindness preview

Protanopia (red-blind)
#5D9AFD
Deuteranopia (green-blind)
#759FF6
Tritanopia (blue-blind)
#C690AF
Achromatopsia (no color)
#9D9D9D

Design tokens & code

CSS
--color: #cb7cf9;
/* rgb */ color: rgb(203, 124, 249);
/* oklch */ color: oklch(71.9% 0.189 311.7);
Tailwind
colors: {
  custom: {
    50: '#dda4fc',
    500: '#cb7cf9',
    950: '#000000',
  },
}
SCSS
$custom: #cb7cf9;
$custom-light: #dda4fc;
$custom-dark: #000000;
JSON
{
  "hex": "#cb7cf9",
  "rgb": {
    "r": 203,
    "g": 124,
    "b": 249
  },
  "hsl": {
    "h": 277.92,
    "s": 91.241,
    "l": 73.137
  },
  "oklch": {
    "l": 0.71924,
    "c": 0.18935,
    "h": 311.7
  },
  "luminance": 0.33951
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CB7CF9

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

Preview Lab → · Contrast checker → · Palette generator →

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