#CF8FDE#CF8FDE

#CF8FDE is a light, vivid purple. Relative luminance 0.382; OKLCH L 74.1% C 0.130 H 319.8°. Best body text is #000000 at 8.64:1 contrast (WCAG AA passes).

Color values

HEX#CF8FDE
RGBrgb(207, 143, 222)
HSLhsl(289, 54%, 72%)
HSVhsv(289, 36%, 87%)
CMYKcmyk(6.8%, 35.6%, 0%, 12.9%)
CIE-LABlab(68.16, 37.45, -30.66)
CIE-LCHlch(68.16, 48.40, 320.70°)
OKLaboklab(74.05% 0.0995 -0.0839)
OKLCHoklch(74.05% 0.13 319.8)
XYZxyz(48.7377, 38.1857, 73.8963)
Luminance0.3818 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CF8FDE #9EDE8F
analogous
#A88FDE #CF8FDE #DE8FC6
triadic
#CF8FDE #DECF8F #8FDECF
tetradic
#CF8FDE #DEA88F #9EDE8F #8FC6DE
square
#CF8FDE #DEA88F #9EDE8F #8FC6DE
split-complementary
#CF8FDE #C6DE8F #8FDEA8
monochromatic
#A237BB #BB60D0 #CF8FDE #E3BEEC #F5E7F8

Accessibility & contrast

On white

2.43
#CF8FDE on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.64
#CF8FDE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CF8FDE
8.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CF8FDE#FFFFFF#000000##000000
##CF8FDE1.002.438.648.64
#FFFFFF2.431.0021.0021.00
#0000008.6421.001.001.00
##0000008.6421.001.001.00

Color blindness preview

Protanopia (red-blind)
#85A2E1
Deuteranopia (green-blind)
#95A8DC
Tritanopia (blue-blind)
#D098AC
Achromatopsia (no color)
#A6A6A6

Design tokens & code

CSS
--color: #cf8fde;
/* rgb */ color: rgb(207, 143, 222);
/* oklch */ color: oklch(74.1% 0.130 319.8);
Tailwind
colors: {
  custom: {
    50: '#dfb1e8',
    500: '#cf8fde',
    950: '#000000',
  },
}
SCSS
$custom: #cf8fde;
$custom-light: #dfb1e8;
$custom-dark: #000000;
JSON
{
  "hex": "#cf8fde",
  "rgb": {
    "r": 207,
    "g": 143,
    "b": 222
  },
  "hsl": {
    "h": 288.608,
    "s": 54.483,
    "l": 71.569
  },
  "oklch": {
    "l": 0.7405,
    "c": 0.13013,
    "h": 319.8
  },
  "luminance": 0.38184
}

Semantic roles & 50–950 ramp

primary
#CF8FDE
secondary
#DEEFDA
accent
#C22442
background
#FDFAFE
surface
#FBF5FC
border
#D4CFD5
text
#151116
muted
#838084

Preview Lab

Preview with #CF8FDE

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

Preview Lab → · Contrast checker → · Palette generator →

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