#CF9FEB#CF9FEB

#CF9FEB is a light, moderate violet. Relative luminance 0.441; OKLCH L 77.3% C 0.117 H 312.6°. Best body text is #000000 at 9.81:1 contrast (WCAG AA passes).

Color values

HEX#CF9FEB
RGBrgb(207, 159, 235)
HSLhsl(278, 66%, 77%)
HSVhsv(278, 32%, 92%)
CMYKcmyk(11.9%, 32.3%, 0%, 7.8%)
CIE-LABlab(72.27, 31.39, -31.45)
CIE-LCHlch(72.27, 44.44, 314.95°)
OKLaboklab(77.34% 0.0793 -0.0863)
OKLCHoklch(77.34% 0.117 312.6)
XYZxyz(53.1232, 44.0606, 84.2872)
Luminance0.4406 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CF9FEB #BBEB9F
analogous
#A99FEB #CF9FEB #EB9FE1
triadic
#CF9FEB #EBCF9F #9FEBCF
tetradic
#CF9FEB #EBA99F #BBEB9F #9FE1EB
square
#CF9FEB #EBA99F #BBEB9F #9FE1EB
split-complementary
#CF9FEB #E1EB9F #9FEBA9
monochromatic
#9C3AD6 #B66CE0 #CF9FEB #E8D2F6 #F2E6FA

Accessibility & contrast

On white

2.14
#CF9FEB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.81
#CF9FEB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CF9FEB
9.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CF9FEB#FFFFFF#000000##000000
##CF9FEB1.002.149.819.81
#FFFFFF2.141.0021.0021.00
#0000009.8121.001.001.00
##0000009.8121.001.001.00

Color blindness preview

Protanopia (red-blind)
#93AFEE
Deuteranopia (green-blind)
#9DB2E9
Tritanopia (blue-blind)
#CDA9BB
Achromatopsia (no color)
#B1B1B1

Design tokens & code

CSS
--color: #cf9feb;
/* rgb */ color: rgb(207, 159, 235);
/* oklch */ color: oklch(77.3% 0.117 312.6);
Tailwind
colors: {
  custom: {
    50: '#debcf1',
    500: '#cf9feb',
    950: '#000000',
  },
}
SCSS
$custom: #cf9feb;
$custom-light: #debcf1;
$custom-dark: #000000;
JSON
{
  "hex": "#cf9feb",
  "rgb": {
    "r": 207,
    "g": 159,
    "b": 235
  },
  "hsl": {
    "h": 277.895,
    "s": 65.517,
    "l": 77.255
  },
  "oklch": {
    "l": 0.77337,
    "c": 0.11716,
    "h": 312.6
  },
  "luminance": 0.4406
}

Semantic roles & 50–950 ramp

primary
#CF9FEB
secondary
#E2F1DA
accent
#CD185B
background
#FDFBFE
surface
#FBF6FD
border
#D4D0D5
text
#151217
muted
#838185

Preview Lab

Preview with #CF9FEB

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

Preview Lab → · Contrast checker → · Palette generator →

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