#CF9FED#CF9FED

#CF9FED is a light, moderate violet. Relative luminance 0.442; OKLCH L 77.4% C 0.120 H 311.9°. Best body text is #000000 at 9.84:1 contrast (WCAG AA passes).

Color values

HEX#CF9FED
RGBrgb(207, 159, 237)
HSLhsl(277, 68%, 78%)
HSVhsv(277, 33%, 93%)
CMYKcmyk(12.7%, 32.9%, 0%, 7.1%)
CIE-LABlab(72.35, 31.81, -32.42)
CIE-LCHlch(72.35, 45.42, 314.45°)
OKLaboklab(77.42% 0.0798 -0.089)
OKLCHoklch(77.42% 0.12 311.9)
XYZxyz(53.4137, 44.1769, 85.8175)
Luminance0.4418 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CF9FED #BDED9F
analogous
#A89FED #CF9FED #ED9FE4
triadic
#CF9FED #EDCF9F #9FEDCF
tetradic
#CF9FED #EDA89F #BDED9F #9FE4ED
square
#CF9FED #EDA89F #BDED9F #9FE4ED
split-complementary
#CF9FED #E4ED9F #9FEDA8
monochromatic
#9B38DA #B56BE3 #CF9FED #E9D3F7 #F2E5FA

Accessibility & contrast

On white

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

On black

9.84
#CF9FED on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CF9FED
9.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CF9FED#FFFFFF#000000##000000
##CF9FED1.002.149.849.84
#FFFFFF2.141.0021.0021.00
#0000009.8421.001.001.00
##0000009.8421.001.001.00

Color blindness preview

Protanopia (red-blind)
#92AFF0
Deuteranopia (green-blind)
#9CB3EB
Tritanopia (blue-blind)
#CCA9BC
Achromatopsia (no color)
#B1B1B1

Design tokens & code

CSS
--color: #cf9fed;
/* rgb */ color: rgb(207, 159, 237);
/* oklch */ color: oklch(77.4% 0.120 311.9);
Tailwind
colors: {
  custom: {
    50: '#debcf3',
    500: '#cf9fed',
    950: '#000000',
  },
}
SCSS
$custom: #cf9fed;
$custom-light: #debcf3;
$custom-dark: #000000;
JSON
{
  "hex": "#cf9fed",
  "rgb": {
    "r": 207,
    "g": 159,
    "b": 237
  },
  "hsl": {
    "h": 276.923,
    "s": 68.421,
    "l": 77.647
  },
  "oklch": {
    "l": 0.77422,
    "c": 0.11954,
    "h": 311.9
  },
  "luminance": 0.44176
}

Semantic roles & 50–950 ramp

primary
#CF9FED
secondary
#E3F2D9
accent
#D0155D
background
#FDFBFE
surface
#FBF6FD
border
#D4D0D5
text
#151217
muted
#838185

Preview Lab

Preview with #CF9FED

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

Preview Lab → · Contrast checker → · Palette generator →

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