#CF9EEB#CF9EEB

#CF9EEB is a light, moderate violet. Relative luminance 0.437; OKLCH L 77.2% C 0.119 H 312.8°. Best body text is #000000 at 9.74:1 contrast (WCAG AA passes).

Color values

HEX#CF9EEB
RGBrgb(207, 158, 235)
HSLhsl(278, 66%, 77%)
HSVhsv(278, 33%, 92%)
CMYKcmyk(11.9%, 32.8%, 0%, 7.8%)
CIE-LABlab(72.04, 31.94, -31.80)
CIE-LCHlch(72.04, 45.07, 315.12°)
OKLaboklab(77.16% 0.0807 -0.0873)
OKLCHoklch(77.16% 0.119 312.8)
XYZxyz(52.9519, 43.7181, 84.2301)
Luminance0.4372 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CF9EEB #BAEB9E
analogous
#A99EEB #CF9EEB #EB9EE1
triadic
#CF9EEB #EBCF9E #9EEBCF
tetradic
#CF9EEB #EBA99E #BAEB9E #9EE1EB
square
#CF9EEB #EBA99E #BAEB9E #9EE1EB
split-complementary
#CF9EEB #E1EB9E #9EEBA9
monochromatic
#9D39D6 #B66BE1 #CF9EEB #E8D1F5 #F2E6FA

Accessibility & contrast

On white

2.16
#CF9EEB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.74
#CF9EEB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CF9EEB
9.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CF9EEB#FFFFFF#000000##000000
##CF9EEB1.002.169.749.74
#FFFFFF2.161.0021.0021.00
#0000009.7421.001.001.00
##0000009.7421.001.001.00

Color blindness preview

Protanopia (red-blind)
#91AEEE
Deuteranopia (green-blind)
#9CB2E9
Tritanopia (blue-blind)
#CDA8BA
Achromatopsia (no color)
#B1B1B1

Design tokens & code

CSS
--color: #cf9eeb;
/* rgb */ color: rgb(207, 158, 235);
/* oklch */ color: oklch(77.2% 0.119 312.8);
Tailwind
colors: {
  custom: {
    50: '#debbf1',
    500: '#cf9eeb',
    950: '#000000',
  },
}
SCSS
$custom: #cf9eeb;
$custom-light: #debbf1;
$custom-dark: #000000;
JSON
{
  "hex": "#cf9eeb",
  "rgb": {
    "r": 207,
    "g": 158,
    "b": 235
  },
  "hsl": {
    "h": 278.182,
    "s": 65.812,
    "l": 77.059
  },
  "oklch": {
    "l": 0.77162,
    "c": 0.11887,
    "h": 312.8
  },
  "luminance": 0.43717
}

Semantic roles & 50–950 ramp

primary
#CF9EEB
secondary
#E2F1DA
accent
#CE185A
background
#FDFBFE
surface
#FBF6FD
border
#D4D0D5
text
#151217
muted
#838185

Preview Lab

Preview with #CF9EEB

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

Preview Lab → · Contrast checker → · Palette generator →

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