#CF9BE5#CF9BE5

#CF9BE5 is a light, moderate purple. Relative luminance 0.424; OKLCH L 76.4% C 0.117 H 315.6°. Best body text is #000000 at 9.47:1 contrast (WCAG AA passes).

Color values

HEX#CF9BE5
RGBrgb(207, 155, 229)
HSLhsl(282, 59%, 75%)
HSVhsv(282, 32%, 90%)
CMYKcmyk(9.6%, 32.3%, 0%, 10.2%)
CIE-LABlab(71.12, 32.34, -29.94)
CIE-LCHlch(71.12, 44.07, 317.21°)
OKLaboklab(76.39% 0.0836 -0.0819)
OKLCHoklch(76.39% 0.117 315.6)
XYZxyz(51.5942, 42.3663, 79.5731)
Luminance0.4237 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CF9BE5 #B1E59B
analogous
#AA9BE5 #CF9BE5 #E59BD6
triadic
#CF9BE5 #E5CF9B #9BE5CF
tetradic
#CF9BE5 #E5AA9B #B1E59B #9BD6E5
square
#CF9BE5 #E5AA9B #B1E59B #9BD6E5
split-complementary
#CF9BE5 #D6E59B #9BE5AA
monochromatic
#A03ACC #B86AD8 #CF9BE5 #E6CCF2 #F3E7F9

Accessibility & contrast

On white

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

On black

9.47
#CF9BE5 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CF9BE5
9.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CF9BE5#FFFFFF#000000##000000
##CF9BE51.002.229.479.47
#FFFFFF2.221.0021.0021.00
#0000009.4721.001.001.00
##0000009.4721.001.001.00

Color blindness preview

Protanopia (red-blind)
#90ABE8
Deuteranopia (green-blind)
#9CB0E3
Tritanopia (blue-blind)
#CEA4B6
Achromatopsia (no color)
#AEAEAE

Design tokens & code

CSS
--color: #cf9be5;
/* rgb */ color: rgb(207, 155, 229);
/* oklch */ color: oklch(76.4% 0.117 315.6);
Tailwind
colors: {
  custom: {
    50: '#deb9ed',
    500: '#cf9be5',
    950: '#000000',
  },
}
SCSS
$custom: #cf9be5;
$custom-light: #deb9ed;
$custom-dark: #000000;
JSON
{
  "hex": "#cf9be5",
  "rgb": {
    "r": 207,
    "g": 155,
    "b": 229
  },
  "hsl": {
    "h": 282.162,
    "s": 58.73,
    "l": 75.294
  },
  "oklch": {
    "l": 0.76388,
    "c": 0.11705,
    "h": 315.6
  },
  "luminance": 0.42365
}

Semantic roles & 50–950 ramp

primary
#CF9BE5
secondary
#E1F0DB
accent
#C61F51
background
#FDFBFE
surface
#FBF6FD
border
#D4D0D5
text
#151116
muted
#838084

Preview Lab

Preview with #CF9BE5

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

Preview Lab → · Contrast checker → · Palette generator →

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