#CB7FF9#CB7FF9

#CB7FF9 is a light, vivid violet. Relative luminance 0.347; OKLCH L 72.4% C 0.185 H 311.3°. Best body text is #000000 at 7.94:1 contrast (WCAG AA passes).

Color values

HEX#CB7FF9
RGBrgb(203, 127, 249)
HSLhsl(277, 91%, 74%)
HSVhsv(277, 49%, 98%)
CMYKcmyk(18.5%, 49%, 0%, 2.4%)
CIE-LABlab(65.53, 50.36, -49.68)
CIE-LCHlch(65.53, 70.74, 315.39°)
OKLaboklab(72.37% 0.122 -0.1386)
OKLCHoklch(72.37% 0.185 311.3)
XYZxyz(49.3138, 34.7158, 93.7072)
Luminance0.3472 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB7FF9 #ADF97F
analogous
#8E7FF9 #CB7FF9 #F97FEA
triadic
#CB7FF9 #F9CB7F #7FF9CB
tetradic
#CB7FF9 #F98E7F #ADF97F #7FEAF9
square
#CB7FF9 #F98E7F #ADF97F #7FEAF9
split-complementary
#CB7FF9 #EAF97F #7FF98E
monochromatic
#9B0BF2 #B345F6 #CB7FF9 #E3B9FC #F3E2FE

Accessibility & contrast

On white

2.64
#CB7FF9 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.94
#CB7FF9 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CB7FF9
7.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CB7FF9#FFFFFF#000000##000000
##CB7FF91.002.647.947.94
#FFFFFF2.641.0021.0021.00
#0000007.9421.001.001.00
##0000007.9421.001.001.00

Color blindness preview

Protanopia (red-blind)
#619BFD
Deuteranopia (green-blind)
#77A1F6
Tritanopia (blue-blind)
#C693B1
Achromatopsia (no color)
#9F9F9F

Design tokens & code

CSS
--color: #cb7ff9;
/* rgb */ color: rgb(203, 127, 249);
/* oklch */ color: oklch(72.4% 0.185 311.3);
Tailwind
colors: {
  custom: {
    50: '#dda6fc',
    500: '#cb7ff9',
    950: '#000000',
  },
}
SCSS
$custom: #cb7ff9;
$custom-light: #dda6fc;
$custom-dark: #000000;
JSON
{
  "hex": "#cb7ff9",
  "rgb": {
    "r": 203,
    "g": 127,
    "b": 249
  },
  "hsl": {
    "h": 277.377,
    "s": 91.045,
    "l": 73.725
  },
  "oklch": {
    "l": 0.72371,
    "c": 0.18465,
    "h": 311.3
  },
  "luminance": 0.34715
}

Semantic roles & 50–950 ramp

primary
#CB7FF9
secondary
#E2F6D5
accent
#E60057
background
#FDFAFF
surface
#FBF4FF
border
#D4CED7
text
#150F17
muted
#837F85

Preview Lab

Preview with #CB7FF9

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

Preview Lab → · Contrast checker → · Palette generator →

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