#CF9FF2#CF9FF2

#CF9FF2 is a light, vivid violet. Relative luminance 0.445; OKLCH L 77.6% C 0.126 H 310.2°. Best body text is #000000 at 9.89:1 contrast (WCAG AA passes).

Color values

HEX#CF9FF2
RGBrgb(207, 159, 242)
HSLhsl(275, 76%, 79%)
HSVhsv(275, 34%, 95%)
CMYKcmyk(14.5%, 34.3%, 0%, 5.1%)
CIE-LABlab(72.54, 32.86, -34.84)
CIE-LCHlch(72.54, 47.89, 313.32°)
OKLaboklab(77.64% 0.081 -0.0959)
OKLCHoklch(77.64% 0.126 310.2)
XYZxyz(54.1544, 44.4731, 89.7185)
Luminance0.4447 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CF9FF2 #C2F29F
analogous
#A59FF2 #CF9FF2 #F29FEB
triadic
#CF9FF2 #F2CF9F #9FF2CF
tetradic
#CF9FF2 #F2A59F #C2F29F #9FEBF2
square
#CF9FF2 #F2A59F #C2F29F #9FEBF2
split-complementary
#CF9FF2 #EBF29F #9FF2A5
monochromatic
#9933E3 #B469EB #CF9FF2 #EAD5F9 #F2E4FB

Accessibility & contrast

On white

2.12
#CF9FF2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.89
#CF9FF2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CF9FF2
9.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CF9FF2#FFFFFF#000000##000000
##CF9FF21.002.129.899.89
#FFFFFF2.121.0021.0021.00
#0000009.8921.001.001.00
##0000009.8921.001.001.00

Color blindness preview

Protanopia (red-blind)
#90B0F5
Deuteranopia (green-blind)
#9AB3F0
Tritanopia (blue-blind)
#CBABBE
Achromatopsia (no color)
#B2B2B2

Design tokens & code

CSS
--color: #cf9ff2;
/* rgb */ color: rgb(207, 159, 242);
/* oklch */ color: oklch(77.6% 0.126 310.2);
Tailwind
colors: {
  custom: {
    50: '#debcf6',
    500: '#cf9ff2',
    950: '#000000',
  },
}
SCSS
$custom: #cf9ff2;
$custom-light: #debcf6;
$custom-dark: #000000;
JSON
{
  "hex": "#cf9ff2",
  "rgb": {
    "r": 207,
    "g": 159,
    "b": 242
  },
  "hsl": {
    "h": 274.699,
    "s": 76.147,
    "l": 78.627
  },
  "oklch": {
    "l": 0.77636,
    "c": 0.12553,
    "h": 310.2
  },
  "luminance": 0.44472
}

Semantic roles & 50–950 ramp

primary
#CF9FF2
secondary
#E3F3D8
accent
#D80D63
background
#FDFBFF
surface
#FBF6FE
border
#D4D0D6
text
#151217
muted
#838185

Preview Lab

Preview with #CF9FF2

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

Preview Lab → · Contrast checker → · Palette generator →

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