#CF9AEE#CF9AEE

#CF9AEE is a light, vivid violet. Relative luminance 0.425; OKLCH L 76.6% C 0.129 H 312.4°. Best body text is #000000 at 9.51:1 contrast (WCAG AA passes).

Color values

HEX#CF9AEE
RGBrgb(207, 154, 238)
HSLhsl(278, 71%, 77%)
HSVhsv(278, 35%, 93%)
CMYKcmyk(13%, 35.3%, 0%, 6.7%)
CIE-LABlab(71.25, 34.74, -34.67)
CIE-LCHlch(71.25, 49.08, 315.06°)
OKLaboklab(76.6% 0.0872 -0.0954)
OKLCHoklch(76.6% 0.129 312.4)
XYZxyz(52.7177, 42.5505, 86.3083)
Luminance0.4255 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CF9AEE #B9EE9A
analogous
#A59AEE #CF9AEE #EE9AE3
triadic
#CF9AEE #EECF9A #9AEECF
tetradic
#CF9AEE #EEA59A #B9EE9A #9AE3EE
square
#CF9AEE #EEA59A #B9EE9A #9AE3EE
split-complementary
#CF9AEE #E3EE9A #9AEEA5
monochromatic
#9D31DC #B666E5 #CF9AEE #E8CEF7 #F3E5FB

Accessibility & contrast

On white

2.21
#CF9AEE on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.51
#CF9AEE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CF9AEE
9.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CF9AEE#FFFFFF#000000##000000
##CF9AEE1.002.219.519.51
#FFFFFF2.211.0021.0021.00
#0000009.5121.001.001.00
##0000009.5121.001.001.00

Color blindness preview

Protanopia (red-blind)
#8BACF1
Deuteranopia (green-blind)
#98B0EC
Tritanopia (blue-blind)
#CCA5B9
Achromatopsia (no color)
#AEAEAE

Design tokens & code

CSS
--color: #cf9aee;
/* rgb */ color: rgb(207, 154, 238);
/* oklch */ color: oklch(76.6% 0.129 312.4);
Tailwind
colors: {
  custom: {
    50: '#dfb8f4',
    500: '#cf9aee',
    950: '#000000',
  },
}
SCSS
$custom: #cf9aee;
$custom-light: #dfb8f4;
$custom-dark: #000000;
JSON
{
  "hex": "#cf9aee",
  "rgb": {
    "r": 207,
    "g": 154,
    "b": 238
  },
  "hsl": {
    "h": 277.857,
    "s": 71.186,
    "l": 76.863
  },
  "oklch": {
    "l": 0.766,
    "c": 0.12925,
    "h": 312.4
  },
  "luminance": 0.4255
}

Semantic roles & 50–950 ramp

primary
#CF9AEE
secondary
#E2F2D9
accent
#D31259
background
#FDFBFE
surface
#FBF6FD
border
#D4D0D5
text
#151117
muted
#838085

Preview Lab

Preview with #CF9AEE

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

Preview Lab → · Contrast checker → · Palette generator →

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