#CF9BEC#CF9BEC

#CF9BEC is a light, vivid violet. Relative luminance 0.428; OKLCH L 76.7% C 0.125 H 312.9°. Best body text is #000000 at 9.55:1 contrast (WCAG AA passes).

Color values

HEX#CF9BEC
RGBrgb(207, 155, 236)
HSLhsl(279, 68%, 77%)
HSVhsv(279, 34%, 93%)
CMYKcmyk(12.3%, 34.3%, 0%, 7.5%)
CIE-LABlab(71.40, 33.78, -33.35)
CIE-LCHlch(71.40, 47.47, 315.37°)
OKLaboklab(76.69% 0.0853 -0.0916)
OKLCHoklch(76.69% 0.125 312.9)
XYZxyz(52.5913, 42.7651, 84.8246)
Luminance0.4276 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CF9BEC #B8EC9B
analogous
#A79BEC #CF9BEC #EC9BE0
triadic
#CF9BEC #ECCF9B #9BECCF
tetradic
#CF9BEC #ECA79B #B8EC9B #9BE0EC
square
#CF9BEC #ECA79B #B8EC9B #9BE0EC
split-complementary
#CF9BEC #E0EC9B #9BECA7
monochromatic
#9E34D8 #B668E2 #CF9BEC #E8CEF6 #F3E5FA

Accessibility & contrast

On white

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

On black

9.55
#CF9BEC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CF9BEC
9.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CF9BEC#FFFFFF#000000##000000
##CF9BEC1.002.209.559.55
#FFFFFF2.201.0021.0021.00
#0000009.5521.001.001.00
##0000009.5521.001.001.00

Color blindness preview

Protanopia (red-blind)
#8DACEF
Deuteranopia (green-blind)
#99B0EA
Tritanopia (blue-blind)
#CDA6B9
Achromatopsia (no color)
#AFAFAF

Design tokens & code

CSS
--color: #cf9bec;
/* rgb */ color: rgb(207, 155, 236);
/* oklch */ color: oklch(76.7% 0.125 312.9);
Tailwind
colors: {
  custom: {
    50: '#deb9f2',
    500: '#cf9bec',
    950: '#000000',
  },
}
SCSS
$custom: #cf9bec;
$custom-light: #deb9f2;
$custom-dark: #000000;
JSON
{
  "hex": "#cf9bec",
  "rgb": {
    "r": 207,
    "g": 155,
    "b": 236
  },
  "hsl": {
    "h": 278.519,
    "s": 68.067,
    "l": 76.667
  },
  "oklch": {
    "l": 0.76685,
    "c": 0.12519,
    "h": 312.9
  },
  "luminance": 0.42764
}

Semantic roles & 50–950 ramp

primary
#CF9BEC
secondary
#E2F2D9
accent
#D01658
background
#FDFBFE
surface
#FBF6FD
border
#D4D0D5
text
#151117
muted
#838085

Preview Lab

Preview with #CF9BEC

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

Preview Lab → · Contrast checker → · Palette generator →

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