#CF9CF2#CF9CF2

#CF9CF2 is a light, vivid violet. Relative luminance 0.435; OKLCH L 77.1% C 0.131 H 310.8°. Best body text is #000000 at 9.69:1 contrast (WCAG AA passes).

Color values

HEX#CF9CF2
RGBrgb(207, 156, 242)
HSLhsl(276, 77%, 78%)
HSVhsv(276, 36%, 95%)
CMYKcmyk(14.5%, 35.5%, 0%, 5.1%)
CIE-LABlab(71.86, 34.49, -35.90)
CIE-LCHlch(71.86, 49.78, 313.86°)
OKLaboklab(77.12% 0.0853 -0.0989)
OKLCHoklch(77.12% 0.131 310.8)
XYZxyz(53.6448, 43.4539, 89.5486)
Luminance0.4345 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CF9CF2 #BFF29C
analogous
#A49CF2 #CF9CF2 #F29CEA
triadic
#CF9CF2 #F2CF9C #9CF2CF
tetradic
#CF9CF2 #F2A49C #BFF29C #9CEAF2
square
#CF9CF2 #F2A49C #BFF29C #9CEAF2
split-complementary
#CF9CF2 #EAF29C #9CF2A4
monochromatic
#9B30E4 #B566EB #CF9CF2 #E9D2F9 #F2E4FB

Accessibility & contrast

On white

2.17
#CF9CF2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.69
#CF9CF2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CF9CF2
9.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CF9CF2#FFFFFF#000000##000000
##CF9CF21.002.179.699.69
#FFFFFF2.171.0021.0021.00
#0000009.6921.001.001.00
##0000009.6921.001.001.00

Color blindness preview

Protanopia (red-blind)
#8CAEF5
Deuteranopia (green-blind)
#98B1EF
Tritanopia (blue-blind)
#CBA8BC
Achromatopsia (no color)
#B0B0B0

Design tokens & code

CSS
--color: #cf9cf2;
/* rgb */ color: rgb(207, 156, 242);
/* oklch */ color: oklch(77.1% 0.131 310.8);
Tailwind
colors: {
  custom: {
    50: '#dfbaf6',
    500: '#cf9cf2',
    950: '#000000',
  },
}
SCSS
$custom: #cf9cf2;
$custom-light: #dfbaf6;
$custom-dark: #000000;
JSON
{
  "hex": "#cf9cf2",
  "rgb": {
    "r": 207,
    "g": 156,
    "b": 242
  },
  "hsl": {
    "h": 275.581,
    "s": 76.786,
    "l": 78.039
  },
  "oklch": {
    "l": 0.77119,
    "c": 0.13059,
    "h": 310.8
  },
  "luminance": 0.43453
}

Semantic roles & 50–950 ramp

primary
#CF9CF2
secondary
#E3F3D8
accent
#D90C60
background
#FDFBFF
surface
#FBF6FE
border
#D4D0D6
text
#151117
muted
#838085

Preview Lab

Preview with #CF9CF2

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

Preview Lab → · Contrast checker → · Palette generator →

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