#CF8AEA#CF8AEA

#CF8AEA is a light, vivid purple. Relative luminance 0.374; OKLCH L 73.8% C 0.152 H 316.0°. Best body text is #000000 at 8.48:1 contrast (WCAG AA passes).

Color values

HEX#CF8AEA
RGBrgb(207, 138, 234)
HSLhsl(283, 70%, 73%)
HSVhsv(283, 41%, 92%)
CMYKcmyk(11.5%, 41%, 0%, 8.2%)
CIE-LABlab(67.56, 42.55, -38.20)
CIE-LCHlch(67.56, 57.18, 318.08°)
OKLaboklab(73.77% 0.1092 -0.1054)
OKLCHoklch(73.77% 0.152 316)
XYZxyz(49.6697, 37.3841, 82.4253)
Luminance0.3738 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CF8AEA #A5EA8A
analogous
#9F8AEA #CF8AEA #EA8AD5
triadic
#CF8AEA #EACF8A #8AEACF
tetradic
#CF8AEA #EA9F8A #A5EA8A #8AD5EA
square
#CF8AEA #EA9F8A #A5EA8A #8AD5EA
split-complementary
#CF8AEA #D5EA8A #8AEA9F
monochromatic
#A326D4 #BA56E1 #CF8AEA #E4BEF3 #F4E5FA

Accessibility & contrast

On white

2.48
#CF8AEA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.48
#CF8AEA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CF8AEA
8.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CF8AEA#FFFFFF#000000##000000
##CF8AEA1.002.488.488.48
#FFFFFF2.481.0021.0021.00
#0000008.4821.001.001.00
##0000008.4821.001.001.00

Color blindness preview

Protanopia (red-blind)
#7AA0ED
Deuteranopia (green-blind)
#8CA7E7
Tritanopia (blue-blind)
#CE97AF
Achromatopsia (no color)
#A5A5A5

Design tokens & code

CSS
--color: #cf8aea;
/* rgb */ color: rgb(207, 138, 234);
/* oklch */ color: oklch(73.8% 0.152 316.0);
Tailwind
colors: {
  custom: {
    50: '#dfadf1',
    500: '#cf8aea',
    950: '#000000',
  },
}
SCSS
$custom: #cf8aea;
$custom-light: #dfadf1;
$custom-dark: #000000;
JSON
{
  "hex": "#cf8aea",
  "rgb": {
    "r": 207,
    "g": 138,
    "b": 234
  },
  "hsl": {
    "h": 283.125,
    "s": 69.565,
    "l": 72.941
  },
  "oklch": {
    "l": 0.73765,
    "c": 0.15182,
    "h": 316
  },
  "luminance": 0.37383
}

Semantic roles & 50–950 ramp

primary
#CF8AEA
secondary
#E0F2D9
accent
#D21449
background
#FDFAFE
surface
#FBF4FD
border
#D4CED5
text
#151016
muted
#837F84

Preview Lab

Preview with #CF8AEA

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

Preview Lab → · Contrast checker → · Palette generator →

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