#CF9DEB#CF9DEB

#CF9DEB is a light, vivid violet. Relative luminance 0.434; OKLCH L 77.0% C 0.121 H 312.9°. Best body text is #000000 at 9.68:1 contrast (WCAG AA passes).

Color values

HEX#CF9DEB
RGBrgb(207, 157, 235)
HSLhsl(278, 66%, 77%)
HSVhsv(278, 33%, 92%)
CMYKcmyk(11.9%, 33.2%, 0%, 7.8%)
CIE-LABlab(71.81, 32.48, -32.16)
CIE-LCHlch(71.81, 45.71, 315.29°)
OKLaboklab(76.99% 0.0822 -0.0883)
OKLCHoklch(76.99% 0.121 312.9)
XYZxyz(52.7820, 43.3784, 84.1735)
Luminance0.4338 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CF9DEB #B9EB9D
analogous
#A89DEB #CF9DEB #EB9DE0
triadic
#CF9DEB #EBCF9D #9DEBCF
tetradic
#CF9DEB #EBA89D #B9EB9D #9DE0EB
square
#CF9DEB #EBA89D #B9EB9D #9DE0EB
split-complementary
#CF9DEB #E0EB9D #9DEBA8
monochromatic
#9D37D6 #B66AE1 #CF9DEB #E8D0F5 #F3E6FA

Accessibility & contrast

On white

2.17
#CF9DEB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.68
#CF9DEB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CF9DEB
9.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CF9DEB#FFFFFF#000000##000000
##CF9DEB1.002.179.689.68
#FFFFFF2.171.0021.0021.00
#0000009.6821.001.001.00
##0000009.6821.001.001.00

Color blindness preview

Protanopia (red-blind)
#90ADEE
Deuteranopia (green-blind)
#9BB1E9
Tritanopia (blue-blind)
#CDA7BA
Achromatopsia (no color)
#B0B0B0

Design tokens & code

CSS
--color: #cf9deb;
/* rgb */ color: rgb(207, 157, 235);
/* oklch */ color: oklch(77.0% 0.121 312.9);
Tailwind
colors: {
  custom: {
    50: '#debaf1',
    500: '#cf9deb',
    950: '#000000',
  },
}
SCSS
$custom: #cf9deb;
$custom-light: #debaf1;
$custom-dark: #000000;
JSON
{
  "hex": "#cf9deb",
  "rgb": {
    "r": 207,
    "g": 157,
    "b": 235
  },
  "hsl": {
    "h": 278.462,
    "s": 66.102,
    "l": 76.863
  },
  "oklch": {
    "l": 0.76988,
    "c": 0.12059,
    "h": 312.9
  },
  "luminance": 0.43377
}

Semantic roles & 50–950 ramp

primary
#CF9DEB
secondary
#E2F1DA
accent
#CE1859
background
#FDFBFE
surface
#FBF6FD
border
#D4D0D5
text
#151117
muted
#838085

Preview Lab

Preview with #CF9DEB

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

Preview Lab → · Contrast checker → · Palette generator →

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