#CF8FE5#CF8FE5

#CF8FE5 is a light, vivid purple. Relative luminance 0.386; OKLCH L 74.4% C 0.138 H 317.2°. Best body text is #000000 at 8.71:1 contrast (WCAG AA passes).

Color values

HEX#CF8FE5
RGBrgb(207, 143, 229)
HSLhsl(285, 62%, 73%)
HSVhsv(285, 38%, 90%)
CMYKcmyk(9.6%, 37.6%, 0%, 10.2%)
CIE-LABlab(68.44, 38.85, -34.09)
CIE-LCHlch(68.44, 51.69, 318.74°)
OKLaboklab(74.35% 0.1011 -0.0937)
OKLCHoklch(74.35% 0.138 317.2)
XYZxyz(49.6954, 38.5687, 78.9402)
Luminance0.3857 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CF8FE5 #A5E58F
analogous
#A48FE5 #CF8FE5 #E58FD0
triadic
#CF8FE5 #E5CF8F #8FE5CF
tetradic
#CF8FE5 #E5A48F #A5E58F #8FD0E5
square
#CF8FE5 #E5A48F #A5E58F #8FD0E5
split-complementary
#CF8FE5 #D0E58F #8FE5A4
monochromatic
#A32FCB #BA5DD9 #CF8FE5 #E4C1F1 #F4E6F9

Accessibility & contrast

On white

2.41
#CF8FE5 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.71
#CF8FE5 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CF8FE5
8.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CF8FE5#FFFFFF#000000##000000
##CF8FE51.002.418.718.71
#FFFFFF2.411.0021.0021.00
#0000008.7121.001.001.00
##0000008.7121.001.001.00

Color blindness preview

Protanopia (red-blind)
#82A3E8
Deuteranopia (green-blind)
#92A9E2
Tritanopia (blue-blind)
#CF9AAF
Achromatopsia (no color)
#A7A7A7

Design tokens & code

CSS
--color: #cf8fe5;
/* rgb */ color: rgb(207, 143, 229);
/* oklch */ color: oklch(74.4% 0.138 317.2);
Tailwind
colors: {
  custom: {
    50: '#dfb1ed',
    500: '#cf8fe5',
    950: '#000000',
  },
}
SCSS
$custom: #cf8fe5;
$custom-light: #dfb1ed;
$custom-dark: #000000;
JSON
{
  "hex": "#cf8fe5",
  "rgb": {
    "r": 207,
    "g": 143,
    "b": 229
  },
  "hsl": {
    "h": 284.651,
    "s": 62.319,
    "l": 72.941
  },
  "oklch": {
    "l": 0.74354,
    "c": 0.13779,
    "h": 317.2
  },
  "luminance": 0.38567
}

Semantic roles & 50–950 ramp

primary
#CF8FE5
secondary
#E0F1DA
accent
#CA1B48
background
#FDFAFE
surface
#FBF5FD
border
#D4CFD5
text
#151116
muted
#838084

Preview Lab

Preview with #CF8FE5

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

Preview Lab → · Contrast checker → · Palette generator →

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