#CF9BEE#CF9BEE

#CF9BEE is a light, vivid violet. Relative luminance 0.429; OKLCH L 76.8% C 0.128 H 312.3°. Best body text is #000000 at 9.58:1 contrast (WCAG AA passes).

Color values

HEX#CF9BEE
RGBrgb(207, 155, 238)
HSLhsl(278, 71%, 77%)
HSVhsv(278, 35%, 93%)
CMYKcmyk(13%, 34.9%, 0%, 6.7%)
CIE-LABlab(71.47, 34.20, -34.32)
CIE-LCHlch(71.47, 48.44, 314.90°)
OKLaboklab(76.77% 0.0858 -0.0944)
OKLCHoklch(76.77% 0.128 312.3)
XYZxyz(52.8835, 42.8820, 86.3635)
Luminance0.4288 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CF9BEE #BAEE9B
analogous
#A69BEE #CF9BEE #EE9BE4
triadic
#CF9BEE #EECF9B #9BEECF
tetradic
#CF9BEE #EEA69B #BAEE9B #9BE4EE
square
#CF9BEE #EEA69B #BAEE9B #9BE4EE
split-complementary
#CF9BEE #E4EE9B #9BEEA6
monochromatic
#9D32DC #B667E5 #CF9BEE #E8CFF7 #F2E5FB

Accessibility & contrast

On white

2.19
#CF9BEE on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.58
#CF9BEE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CF9BEE
9.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CF9BEE#FFFFFF#000000##000000
##CF9BEE1.002.199.589.58
#FFFFFF2.191.0021.0021.00
#0000009.5821.001.001.00
##0000009.5821.001.001.00

Color blindness preview

Protanopia (red-blind)
#8DACF1
Deuteranopia (green-blind)
#99B0EC
Tritanopia (blue-blind)
#CCA6BA
Achromatopsia (no color)
#AFAFAF

Design tokens & code

CSS
--color: #cf9bee;
/* rgb */ color: rgb(207, 155, 238);
/* oklch */ color: oklch(76.8% 0.128 312.3);
Tailwind
colors: {
  custom: {
    50: '#deb9f3',
    500: '#cf9bee',
    950: '#000000',
  },
}
SCSS
$custom: #cf9bee;
$custom-light: #deb9f3;
$custom-dark: #000000;
JSON
{
  "hex": "#cf9bee",
  "rgb": {
    "r": 207,
    "g": 155,
    "b": 238
  },
  "hsl": {
    "h": 277.59,
    "s": 70.94,
    "l": 77.059
  },
  "oklch": {
    "l": 0.76772,
    "c": 0.12755,
    "h": 312.3
  },
  "luminance": 0.42881
}

Semantic roles & 50–950 ramp

primary
#CF9BEE
secondary
#E2F2D9
accent
#D3135A
background
#FDFBFE
surface
#FBF6FD
border
#D4D0D5
text
#151117
muted
#838085

Preview Lab

Preview with #CF9BEE

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

Preview Lab → · Contrast checker → · Palette generator →

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