#CF9BF2#CF9BF2

#CF9BF2 is a light, vivid violet. Relative luminance 0.431; OKLCH L 76.9% C 0.132 H 310.9°. Best body text is #000000 at 9.62:1 contrast (WCAG AA passes).

Color values

HEX#CF9BF2
RGBrgb(207, 155, 242)
HSLhsl(276, 77%, 78%)
HSVhsv(276, 36%, 95%)
CMYKcmyk(14.5%, 36%, 0%, 5.1%)
CIE-LABlab(71.64, 35.03, -36.25)
CIE-LCHlch(71.64, 50.41, 314.03°)
OKLaboklab(76.95% 0.0867 -0.0999)
OKLCHoklch(76.95% 0.132 310.9)
XYZxyz(53.4777, 43.1197, 89.4929)
Luminance0.4312 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CF9BF2 #BEF29B
analogous
#A39BF2 #CF9BF2 #F29BE9
triadic
#CF9BF2 #F2CF9B #9BF2CF
tetradic
#CF9BF2 #F2A39B #BEF29B #9BE9F2
square
#CF9BF2 #F2A39B #BEF29B #9BE9F2
split-complementary
#CF9BF2 #E9F29B #9BF2A3
monochromatic
#9B2FE4 #B565EB #CF9BF2 #E9D1F9 #F2E4FB

Accessibility & contrast

On white

2.18
#CF9BF2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.62
#CF9BF2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CF9BF2
9.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CF9BF2#FFFFFF#000000##000000
##CF9BF21.002.189.629.62
#FFFFFF2.181.0021.0021.00
#0000009.6221.001.001.00
##0000009.6221.001.001.00

Color blindness preview

Protanopia (red-blind)
#8BADF5
Deuteranopia (green-blind)
#97B1EF
Tritanopia (blue-blind)
#CBA7BB
Achromatopsia (no color)
#AFAFAF

Design tokens & code

CSS
--color: #cf9bf2;
/* rgb */ color: rgb(207, 155, 242);
/* oklch */ color: oklch(76.9% 0.132 310.9);
Tailwind
colors: {
  custom: {
    50: '#dfb9f6',
    500: '#cf9bf2',
    950: '#000000',
  },
}
SCSS
$custom: #cf9bf2;
$custom-light: #dfb9f6;
$custom-dark: #000000;
JSON
{
  "hex": "#cf9bf2",
  "rgb": {
    "r": 207,
    "g": 155,
    "b": 242
  },
  "hsl": {
    "h": 275.862,
    "s": 76.991,
    "l": 77.843
  },
  "oklch": {
    "l": 0.76947,
    "c": 0.13228,
    "h": 310.9
  },
  "luminance": 0.43119
}

Semantic roles & 50–950 ramp

primary
#CF9BF2
secondary
#E3F3D8
accent
#D90C5F
background
#FDFBFF
surface
#FBF6FE
border
#D4D0D6
text
#151117
muted
#838085

Preview Lab

Preview with #CF9BF2

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

Preview Lab → · Contrast checker → · Palette generator →

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