#CF8FEE#CF8FEE

#CF8FEE is a light, vivid purple. Relative luminance 0.391; OKLCH L 74.8% C 0.148 H 314.1°. Best body text is #000000 at 8.82:1 contrast (WCAG AA passes).

Color values

HEX#CF8FEE
RGBrgb(207, 143, 238)
HSLhsl(280, 74%, 75%)
HSVhsv(280, 40%, 93%)
CMYKcmyk(13%, 39.9%, 0%, 6.7%)
CIE-LABlab(68.81, 40.69, -38.45)
CIE-LCHlch(68.81, 55.98, 316.62°)
OKLaboklab(74.76% 0.1029 -0.1062)
OKLCHoklch(74.76% 0.148 314.1)
XYZxyz(50.9847, 39.0845, 85.7306)
Luminance0.3908 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CF8FEE #AEEE8F
analogous
#A08FEE #CF8FEE #EE8FDE
triadic
#CF8FEE #EECF8F #8FEECF
tetradic
#CF8FEE #EEA08F #AEEE8F #8FDEEE
square
#CF8FEE #EEA08F #AEEE8F #8FDEEE
split-complementary
#CF8FEE #DEEE8F #8FEEA0
monochromatic
#A125DE #B85AE6 #CF8FEE #E6C4F6 #F4E4FB

Accessibility & contrast

On white

2.38
#CF8FEE on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.82
#CF8FEE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CF8FEE
8.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CF8FEE#FFFFFF#000000##000000
##CF8FEE1.002.388.828.82
#FFFFFF2.381.0021.0021.00
#0000008.8221.001.001.00
##0000008.8221.001.001.00

Color blindness preview

Protanopia (red-blind)
#7EA4F2
Deuteranopia (green-blind)
#8EAAEB
Tritanopia (blue-blind)
#CD9CB3
Achromatopsia (no color)
#A8A8A8

Design tokens & code

CSS
--color: #cf8fee;
/* rgb */ color: rgb(207, 143, 238);
/* oklch */ color: oklch(74.8% 0.148 314.1);
Tailwind
colors: {
  custom: {
    50: '#dfb1f4',
    500: '#cf8fee',
    950: '#000000',
  },
}
SCSS
$custom: #cf8fee;
$custom-light: #dfb1f4;
$custom-dark: #000000;
JSON
{
  "hex": "#cf8fee",
  "rgb": {
    "r": 207,
    "g": 143,
    "b": 238
  },
  "hsl": {
    "h": 280.421,
    "s": 73.643,
    "l": 74.706
  },
  "oklch": {
    "l": 0.74759,
    "c": 0.14787,
    "h": 314.1
  },
  "luminance": 0.39083
}

Semantic roles & 50–950 ramp

primary
#CF8FEE
secondary
#E1F3D8
accent
#D61050
background
#FDFAFE
surface
#FBF5FD
border
#D4CFD5
text
#151117
muted
#838085

Preview Lab

Preview with #CF8FEE

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

Preview Lab → · Contrast checker → · Palette generator →

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