#CF8FE7#CF8FE7

#CF8FE7 is a light, vivid purple. Relative luminance 0.387; OKLCH L 74.4% C 0.140 H 316.4°. Best body text is #000000 at 8.74:1 contrast (WCAG AA passes).

Color values

HEX#CF8FE7
RGBrgb(207, 143, 231)
HSLhsl(284, 65%, 73%)
HSVhsv(284, 38%, 91%)
CMYKcmyk(10.4%, 38.1%, 0%, 9.4%)
CIE-LABlab(68.52, 39.25, -35.06)
CIE-LCHlch(68.52, 52.63, 318.23°)
OKLaboklab(74.44% 0.1015 -0.0965)
OKLCHoklch(74.44% 0.14 316.4)
XYZxyz(49.9763, 38.6811, 80.4194)
Luminance0.3868 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CF8FE7 #A7E78F
analogous
#A38FE7 #CF8FE7 #E78FD3
triadic
#CF8FE7 #E7CF8F #8FE7CF
tetradic
#CF8FE7 #E7A38F #A7E78F #8FD3E7
square
#CF8FE7 #E7A38F #A7E78F #8FD3E7
split-complementary
#CF8FE7 #D3E78F #8FE7A3
monochromatic
#A32CCF #B95DDC #CF8FE7 #E5C1F2 #F4E6FA

Accessibility & contrast

On white

2.40
#CF8FE7 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.74
#CF8FE7 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CF8FE7
8.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CF8FE7#FFFFFF#000000##000000
##CF8FE71.002.408.748.74
#FFFFFF2.401.0021.0021.00
#0000008.7421.001.001.00
##0000008.7421.001.001.00

Color blindness preview

Protanopia (red-blind)
#81A3EA
Deuteranopia (green-blind)
#91A9E4
Tritanopia (blue-blind)
#CE9AB0
Achromatopsia (no color)
#A7A7A7

Design tokens & code

CSS
--color: #cf8fe7;
/* rgb */ color: rgb(207, 143, 231);
/* oklch */ color: oklch(74.4% 0.140 316.4);
Tailwind
colors: {
  custom: {
    50: '#dfb1ef',
    500: '#cf8fe7',
    950: '#000000',
  },
}
SCSS
$custom: #cf8fe7;
$custom-light: #dfb1ef;
$custom-dark: #000000;
JSON
{
  "hex": "#cf8fe7",
  "rgb": {
    "r": 207,
    "g": 143,
    "b": 231
  },
  "hsl": {
    "h": 283.636,
    "s": 64.706,
    "l": 73.333
  },
  "oklch": {
    "l": 0.74442,
    "c": 0.14002,
    "h": 316.4
  },
  "luminance": 0.3868
}

Semantic roles & 50–950 ramp

primary
#CF8FE7
secondary
#E0F1DA
accent
#CD194A
background
#FDFAFE
surface
#FBF5FD
border
#D4CFD5
text
#151116
muted
#838084

Preview Lab

Preview with #CF8FE7

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

Preview Lab → · Contrast checker → · Palette generator →

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