#CF8FED#CF8FED

#CF8FED is a light, vivid purple. Relative luminance 0.390; OKLCH L 74.7% C 0.147 H 314.4°. Best body text is #000000 at 8.81:1 contrast (WCAG AA passes).

Color values

HEX#CF8FED
RGBrgb(207, 143, 237)
HSLhsl(281, 72%, 75%)
HSVhsv(281, 40%, 93%)
CMYKcmyk(12.7%, 39.7%, 0%, 7.1%)
CIE-LABlab(68.77, 40.48, -37.97)
CIE-LCHlch(68.77, 55.50, 316.83°)
OKLaboklab(74.71% 0.1027 -0.1048)
OKLCHoklch(74.71% 0.147 314.4)
XYZxyz(50.8382, 39.0259, 84.9590)
Luminance0.3902 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CF8FED #ADED8F
analogous
#A08FED #CF8FED #ED8FDC
triadic
#CF8FED #EDCF8F #8FEDCF
tetradic
#CF8FED #EDA08F #ADED8F #8FDCED
square
#CF8FED #EDA08F #ADED8F #8FDCED
split-complementary
#CF8FED #DCED8F #8FEDA0
monochromatic
#A226DC #B85AE5 #CF8FED #E6C4F5 #F4E5FB

Accessibility & contrast

On white

2.39
#CF8FED on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.81
#CF8FED on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CF8FED
8.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CF8FED#FFFFFF#000000##000000
##CF8FED1.002.398.818.81
#FFFFFF2.391.0021.0021.00
#0000008.8121.001.001.00
##0000008.8121.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #cf8fed;
/* rgb */ color: rgb(207, 143, 237);
/* oklch */ color: oklch(74.7% 0.147 314.4);
Tailwind
colors: {
  custom: {
    50: '#dfb1f3',
    500: '#cf8fed',
    950: '#000000',
  },
}
SCSS
$custom: #cf8fed;
$custom-light: #dfb1f3;
$custom-dark: #000000;
JSON
{
  "hex": "#cf8fed",
  "rgb": {
    "r": 207,
    "g": 143,
    "b": 237
  },
  "hsl": {
    "h": 280.851,
    "s": 72.308,
    "l": 74.51
  },
  "oklch": {
    "l": 0.74713,
    "c": 0.14674,
    "h": 314.4
  },
  "luminance": 0.39025
}

Semantic roles & 50–950 ramp

primary
#CF8FED
secondary
#E1F2D9
accent
#D4114F
background
#FDFAFE
surface
#FBF5FD
border
#D4CFD5
text
#151117
muted
#838085

Preview Lab

Preview with #CF8FED

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

Preview Lab → · Contrast checker → · Palette generator →

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