#CF8FDF#CF8FDF

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

Color values

HEX#CF8FDF
RGBrgb(207, 143, 223)
HSLhsl(288, 56%, 72%)
HSVhsv(288, 36%, 87%)
CMYKcmyk(7.2%, 35.9%, 0%, 12.5%)
CIE-LABlab(68.20, 37.65, -31.15)
CIE-LCHlch(68.20, 48.87, 320.40°)
OKLaboklab(74.09% 0.0997 -0.0853)
OKLCHoklch(74.09% 0.131 319.4)
XYZxyz(48.8721, 38.2394, 74.6042)
Luminance0.3824 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CF8FDF #9FDF8F
analogous
#A78FDF #CF8FDF #DF8FC7
triadic
#CF8FDF #DFCF8F #8FDFCF
tetradic
#CF8FDF #DFA78F #9FDF8F #8FC7DF
square
#CF8FDF #DFA78F #9FDF8F #8FC7DF
split-complementary
#CF8FDF #C7DF8F #8FDFA7
monochromatic
#A236BD #BB5FD1 #CF8FDF #E3BFED #F5E7F8

Accessibility & contrast

On white

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

On black

8.65
#CF8FDF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CF8FDF
8.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CF8FDF#FFFFFF#000000##000000
##CF8FDF1.002.438.658.65
#FFFFFF2.431.0021.0021.00
#0000008.6521.001.001.00
##0000008.6521.001.001.00

Color blindness preview

Protanopia (red-blind)
#85A2E2
Deuteranopia (green-blind)
#94A9DC
Tritanopia (blue-blind)
#D098AD
Achromatopsia (no color)
#A6A6A6

Design tokens & code

CSS
--color: #cf8fdf;
/* rgb */ color: rgb(207, 143, 223);
/* oklch */ color: oklch(74.1% 0.131 319.4);
Tailwind
colors: {
  custom: {
    50: '#dfb1e9',
    500: '#cf8fdf',
    950: '#000000',
  },
}
SCSS
$custom: #cf8fdf;
$custom-light: #dfb1e9;
$custom-dark: #000000;
JSON
{
  "hex": "#cf8fdf",
  "rgb": {
    "r": 207,
    "g": 143,
    "b": 223
  },
  "hsl": {
    "h": 288,
    "s": 55.556,
    "l": 71.765
  },
  "oklch": {
    "l": 0.74092,
    "c": 0.13122,
    "h": 319.4
  },
  "luminance": 0.38238
}

Semantic roles & 50–950 ramp

primary
#CF8FDF
secondary
#DFEFDB
accent
#C32243
background
#FDFAFE
surface
#FBF5FD
border
#D4CFD5
text
#151116
muted
#838084

Preview Lab

Preview with #CF8FDF

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

Preview Lab → · Contrast checker → · Palette generator →

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