#CF9FEA#CF9FEA

#CF9FEA is a light, moderate violet. Relative luminance 0.440; OKLCH L 77.3% C 0.116 H 312.9°. Best body text is #000000 at 9.80:1 contrast (WCAG AA passes).

Color values

HEX#CF9FEA
RGBrgb(207, 159, 234)
HSLhsl(278, 64%, 77%)
HSVhsv(278, 32%, 92%)
CMYKcmyk(11.5%, 32.1%, 0%, 8.2%)
CIE-LABlab(72.23, 31.19, -30.96)
CIE-LCHlch(72.23, 43.95, 315.20°)
OKLaboklab(77.3% 0.079 -0.0849)
OKLCHoklch(77.3% 0.116 312.9)
XYZxyz(52.9791, 44.0030, 83.5285)
Luminance0.4400 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CF9FEA #BAEA9F
analogous
#AA9FEA #CF9FEA #EA9FE0
triadic
#CF9FEA #EACF9F #9FEACF
tetradic
#CF9FEA #EAAA9F #BAEA9F #9FE0EA
square
#CF9FEA #EAAA9F #BAEA9F #9FE0EA
split-complementary
#CF9FEA #E0EA9F #9FEAAA
monochromatic
#9D3BD4 #B66DDF #CF9FEA #E8D1F5 #F2E6FA

Accessibility & contrast

On white

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

On black

9.80
#CF9FEA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CF9FEA
9.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CF9FEA#FFFFFF#000000##000000
##CF9FEA1.002.149.809.80
#FFFFFF2.141.0021.0021.00
#0000009.8021.001.001.00
##0000009.8021.001.001.00

Color blindness preview

Protanopia (red-blind)
#93AEED
Deuteranopia (green-blind)
#9EB2E8
Tritanopia (blue-blind)
#CDA9BA
Achromatopsia (no color)
#B1B1B1

Design tokens & code

CSS
--color: #cf9fea;
/* rgb */ color: rgb(207, 159, 234);
/* oklch */ color: oklch(77.3% 0.116 312.9);
Tailwind
colors: {
  custom: {
    50: '#debcf1',
    500: '#cf9fea',
    950: '#000000',
  },
}
SCSS
$custom: #cf9fea;
$custom-light: #debcf1;
$custom-dark: #000000;
JSON
{
  "hex": "#cf9fea",
  "rgb": {
    "r": 207,
    "g": 159,
    "b": 234
  },
  "hsl": {
    "h": 278.4,
    "s": 64.103,
    "l": 77.059
  },
  "oklch": {
    "l": 0.77295,
    "c": 0.11597,
    "h": 312.9
  },
  "luminance": 0.44002
}

Semantic roles & 50–950 ramp

primary
#CF9FEA
secondary
#E2F1DA
accent
#CC1A5A
background
#FDFBFE
surface
#FBF6FD
border
#D4D0D5
text
#151216
muted
#838184

Preview Lab

Preview with #CF9FEA

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

Preview Lab → · Contrast checker → · Palette generator →

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