#CF9BE2#CF9BE2

#CF9BE2 is a light, moderate purple. Relative luminance 0.422; OKLCH L 76.3% C 0.114 H 316.8°. Best body text is #000000 at 9.44:1 contrast (WCAG AA passes).

Color values

HEX#CF9BE2
RGBrgb(207, 155, 226)
HSLhsl(284, 55%, 75%)
HSVhsv(284, 31%, 89%)
CMYKcmyk(8.4%, 31.4%, 0%, 11.4%)
CIE-LABlab(71.01, 31.74, -28.47)
CIE-LCHlch(71.01, 42.63, 318.11°)
OKLaboklab(76.26% 0.0828 -0.0778)
OKLCHoklch(76.26% 0.114 316.8)
XYZxyz(51.1789, 42.2002, 77.3862)
Luminance0.4220 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CF9BE2 #AEE29B
analogous
#AC9BE2 #CF9BE2 #E29BD1
triadic
#CF9BE2 #E2CF9B #9BE2CF
tetradic
#CF9BE2 #E2AC9B #AEE29B #9BD1E2
square
#CF9BE2 #E2AC9B #AEE29B #9BD1E2
split-complementary
#CF9BE2 #D1E29B #9BE2AC
monochromatic
#A13CC6 #B86CD4 #CF9BE2 #E6CAF0 #F4E7F8

Accessibility & contrast

On white

2.22
#CF9BE2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.44
#CF9BE2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CF9BE2
9.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CF9BE2#FFFFFF#000000##000000
##CF9BE21.002.229.449.44
#FFFFFF2.221.0021.0021.00
#0000009.4421.001.001.00
##0000009.4421.001.001.00

Color blindness preview

Protanopia (red-blind)
#91ABE5
Deuteranopia (green-blind)
#9DAFE0
Tritanopia (blue-blind)
#CFA3B5
Achromatopsia (no color)
#AEAEAE

Design tokens & code

CSS
--color: #cf9be2;
/* rgb */ color: rgb(207, 155, 226);
/* oklch */ color: oklch(76.3% 0.114 316.8);
Tailwind
colors: {
  custom: {
    50: '#deb9eb',
    500: '#cf9be2',
    950: '#000000',
  },
}
SCSS
$custom: #cf9be2;
$custom-light: #deb9eb;
$custom-dark: #000000;
JSON
{
  "hex": "#cf9be2",
  "rgb": {
    "r": 207,
    "g": 155,
    "b": 226
  },
  "hsl": {
    "h": 283.944,
    "s": 55.039,
    "l": 74.706
  },
  "oklch": {
    "l": 0.76264,
    "c": 0.11362,
    "h": 316.8
  },
  "luminance": 0.42199
}

Semantic roles & 50–950 ramp

primary
#CF9BE2
secondary
#E1EFDC
accent
#C3234E
background
#FDFBFE
surface
#FBF6FD
border
#D4D0D5
text
#151116
muted
#838084

Preview Lab

Preview with #CF9BE2

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

Preview Lab → · Contrast checker → · Palette generator →

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