#CF9BEA#CF9BEA

#CF9BEA is a light, vivid violet. Relative luminance 0.426; OKLCH L 76.6% C 0.123 H 313.7°. Best body text is #000000 at 9.53:1 contrast (WCAG AA passes).

Color values

HEX#CF9BEA
RGBrgb(207, 155, 234)
HSLhsl(279, 65%, 76%)
HSVhsv(279, 34%, 92%)
CMYKcmyk(11.5%, 33.8%, 0%, 8.2%)
CIE-LABlab(71.32, 33.37, -32.38)
CIE-LCHlch(71.32, 46.49, 315.86°)
OKLaboklab(76.6% 0.0848 -0.0889)
OKLCHoklch(76.6% 0.123 313.7)
XYZxyz(52.3023, 42.6495, 83.3029)
Luminance0.4265 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CF9BEA #B6EA9B
analogous
#A89BEA #CF9BEA #EA9BDE
triadic
#CF9BEA #EACF9B #9BEACF
tetradic
#CF9BEA #EAA89B #B6EA9B #9BDEEA
square
#CF9BEA #EAA89B #B6EA9B #9BDEEA
split-complementary
#CF9BEA #DEEA9B #9BEAA8
monochromatic
#9E36D5 #B768DF #CF9BEA #E7CEF5 #F3E6FA

Accessibility & contrast

On white

2.20
#CF9BEA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.53
#CF9BEA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CF9BEA
9.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CF9BEA#FFFFFF#000000##000000
##CF9BEA1.002.209.539.53
#FFFFFF2.201.0021.0021.00
#0000009.5321.001.001.00
##0000009.5321.001.001.00

Color blindness preview

Protanopia (red-blind)
#8EACED
Deuteranopia (green-blind)
#9AB0E8
Tritanopia (blue-blind)
#CDA5B8
Achromatopsia (no color)
#AFAFAF

Design tokens & code

CSS
--color: #cf9bea;
/* rgb */ color: rgb(207, 155, 234);
/* oklch */ color: oklch(76.6% 0.123 313.7);
Tailwind
colors: {
  custom: {
    50: '#deb9f1',
    500: '#cf9bea',
    950: '#000000',
  },
}
SCSS
$custom: #cf9bea;
$custom-light: #deb9f1;
$custom-dark: #000000;
JSON
{
  "hex": "#cf9bea",
  "rgb": {
    "r": 207,
    "g": 155,
    "b": 234
  },
  "hsl": {
    "h": 279.494,
    "s": 65.289,
    "l": 76.275
  },
  "oklch": {
    "l": 0.766,
    "c": 0.12285,
    "h": 313.7
  },
  "luminance": 0.42649
}

Semantic roles & 50–950 ramp

primary
#CF9BEA
secondary
#E2F1DA
accent
#CD1856
background
#FDFBFE
surface
#FBF6FD
border
#D4D0D5
text
#151116
muted
#838084

Preview Lab

Preview with #CF9BEA

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

Preview Lab → · Contrast checker → · Palette generator →

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