#CF8AED#CF8AED

#CF8AED is a light, vivid purple. Relative luminance 0.376; OKLCH L 73.9% C 0.155 H 315.1°. Best body text is #000000 at 8.51:1 contrast (WCAG AA passes).

Color values

HEX#CF8AED
RGBrgb(207, 138, 237)
HSLhsl(282, 73%, 74%)
HSVhsv(282, 42%, 93%)
CMYKcmyk(12.7%, 41.8%, 0%, 7.1%)
CIE-LABlab(67.69, 43.16, -39.65)
CIE-LCHlch(67.69, 58.61, 317.43°)
OKLaboklab(73.9% 0.1098 -0.1096)
OKLCHoklch(73.9% 0.155 315.1)
XYZxyz(50.1043, 37.5580, 84.7144)
Luminance0.3756 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CF8AED #A8ED8A
analogous
#9D8AED #CF8AED #ED8AD9
triadic
#CF8AED #EDCF8A #8AEDCF
tetradic
#CF8AED #ED9D8A #A8ED8A #8AD9ED
square
#CF8AED #ED9D8A #A8ED8A #8AD9ED
split-complementary
#CF8AED #D9ED8A #8AED9D
monochromatic
#A322DB #B955E5 #CF8AED #E5BFF5 #F4E4FB

Accessibility & contrast

On white

2.47
#CF8AED on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.51
#CF8AED on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CF8AED
8.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CF8AED#FFFFFF#000000##000000
##CF8AED1.002.478.518.51
#FFFFFF2.471.0021.0021.00
#0000008.5121.001.001.00
##0000008.5121.001.001.00

Color blindness preview

Protanopia (red-blind)
#78A1F1
Deuteranopia (green-blind)
#8AA7EA
Tritanopia (blue-blind)
#CD98B0
Achromatopsia (no color)
#A5A5A5

Design tokens & code

CSS
--color: #cf8aed;
/* rgb */ color: rgb(207, 138, 237);
/* oklch */ color: oklch(73.9% 0.155 315.1);
Tailwind
colors: {
  custom: {
    50: '#dfadf3',
    500: '#cf8aed',
    950: '#000000',
  },
}
SCSS
$custom: #cf8aed;
$custom-light: #dfadf3;
$custom-dark: #000000;
JSON
{
  "hex": "#cf8aed",
  "rgb": {
    "r": 207,
    "g": 138,
    "b": 237
  },
  "hsl": {
    "h": 281.818,
    "s": 73.333,
    "l": 73.529
  },
  "oklch": {
    "l": 0.73904,
    "c": 0.15513,
    "h": 315.1
  },
  "luminance": 0.37557
}

Semantic roles & 50–950 ramp

primary
#CF8AED
secondary
#E0F3D8
accent
#D5104C
background
#FDFAFE
surface
#FBF4FD
border
#D4CED5
text
#151017
muted
#837F85

Preview Lab

Preview with #CF8AED

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

Preview Lab → · Contrast checker → · Palette generator →

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