#CF8AEF#CF8AEF

#CF8AEF is a light, vivid purple. Relative luminance 0.377; OKLCH L 74.0% C 0.157 H 314.4°. Best body text is #000000 at 8.53:1 contrast (WCAG AA passes).

Color values

HEX#CF8AEF
RGBrgb(207, 138, 239)
HSLhsl(281, 76%, 74%)
HSVhsv(281, 42%, 94%)
CMYKcmyk(13.4%, 42.3%, 0%, 6.3%)
CIE-LABlab(67.78, 43.57, -40.61)
CIE-LCHlch(67.78, 59.56, 317.01°)
OKLaboklab(74% 0.1102 -0.1124)
OKLCHoklch(74% 0.157 314.4)
XYZxyz(50.3981, 37.6755, 86.2618)
Luminance0.3767 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CF8AEF #AAEF8A
analogous
#9D8AEF #CF8AEF #EF8ADD
triadic
#CF8AEF #EFCF8A #8AEFCF
tetradic
#CF8AEF #EF9D8A #AAEF8A #8ADDEF
square
#CF8AEF #EF9D8A #AAEF8A #8ADDEF
split-complementary
#CF8AEF #DDEF8A #8AEF9D
monochromatic
#A31FE0 #B954E8 #CF8AEF #E5C0F6 #F4E4FB

Accessibility & contrast

On white

2.46
#CF8AEF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.53
#CF8AEF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CF8AEF
8.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CF8AEF#FFFFFF#000000##000000
##CF8AEF1.002.468.538.53
#FFFFFF2.461.0021.0021.00
#0000008.5321.001.001.00
##0000008.5321.001.001.00

Color blindness preview

Protanopia (red-blind)
#77A1F3
Deuteranopia (green-blind)
#89A7EC
Tritanopia (blue-blind)
#CD98B1
Achromatopsia (no color)
#A5A5A5

Design tokens & code

CSS
--color: #cf8aef;
/* rgb */ color: rgb(207, 138, 239);
/* oklch */ color: oklch(74.0% 0.157 314.4);
Tailwind
colors: {
  custom: {
    50: '#dfadf4',
    500: '#cf8aef',
    950: '#000000',
  },
}
SCSS
$custom: #cf8aef;
$custom-light: #dfadf4;
$custom-dark: #000000;
JSON
{
  "hex": "#cf8aef",
  "rgb": {
    "r": 207,
    "g": 138,
    "b": 239
  },
  "hsl": {
    "h": 280.99,
    "s": 75.94,
    "l": 73.922
  },
  "oklch": {
    "l": 0.73998,
    "c": 0.15735,
    "h": 314.4
  },
  "luminance": 0.37674
}

Semantic roles & 50–950 ramp

primary
#CF8AEF
secondary
#E1F3D8
accent
#D80D4E
background
#FDFAFE
surface
#FBF4FD
border
#D4CED5
text
#151017
muted
#837F85

Preview Lab

Preview with #CF8AEF

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

Preview Lab → · Contrast checker → · Palette generator →

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