#CF8FEB#CF8FEB

#CF8FEB is a light, vivid purple. Relative luminance 0.389; OKLCH L 74.6% C 0.144 H 315.1°. Best body text is #000000 at 8.78:1 contrast (WCAG AA passes).

Color values

HEX#CF8FEB
RGBrgb(207, 143, 235)
HSLhsl(282, 70%, 74%)
HSVhsv(282, 39%, 92%)
CMYKcmyk(11.9%, 39.1%, 0%, 7.8%)
CIE-LABlab(68.69, 40.07, -37.00)
CIE-LCHlch(68.69, 54.54, 317.28°)
OKLaboklab(74.62% 0.1023 -0.102)
OKLCHoklch(74.62% 0.144 315.1)
XYZxyz(50.5477, 38.9096, 83.4287)
Luminance0.3891 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CF8FEB #ABEB8F
analogous
#A18FEB #CF8FEB #EB8FD9
triadic
#CF8FEB #EBCF8F #8FEBCF
tetradic
#CF8FEB #EBA18F #ABEB8F #8FD9EB
square
#CF8FEB #EBA18F #ABEB8F #8FD9EB
split-complementary
#CF8FEB #D9EB8F #8FEBA1
monochromatic
#A227D8 #B95BE2 #CF8FEB #E5C3F4 #F4E5FA

Accessibility & contrast

On white

2.39
#CF8FEB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.78
#CF8FEB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CF8FEB
8.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CF8FEB#FFFFFF#000000##000000
##CF8FEB1.002.398.788.78
#FFFFFF2.391.0021.0021.00
#0000008.7821.001.001.00
##0000008.7821.001.001.00

Color blindness preview

Protanopia (red-blind)
#7FA4EE
Deuteranopia (green-blind)
#8FA9E8
Tritanopia (blue-blind)
#CD9BB2
Achromatopsia (no color)
#A8A8A8

Design tokens & code

CSS
--color: #cf8feb;
/* rgb */ color: rgb(207, 143, 235);
/* oklch */ color: oklch(74.6% 0.144 315.1);
Tailwind
colors: {
  custom: {
    50: '#dfb1f1',
    500: '#cf8feb',
    950: '#000000',
  },
}
SCSS
$custom: #cf8feb;
$custom-light: #dfb1f1;
$custom-dark: #000000;
JSON
{
  "hex": "#cf8feb",
  "rgb": {
    "r": 207,
    "g": 143,
    "b": 235
  },
  "hsl": {
    "h": 281.739,
    "s": 69.697,
    "l": 74.118
  },
  "oklch": {
    "l": 0.74622,
    "c": 0.14448,
    "h": 315.1
  },
  "luminance": 0.38908
}

Semantic roles & 50–950 ramp

primary
#CF8FEB
secondary
#E1F2D9
accent
#D2144E
background
#FDFAFE
surface
#FBF5FD
border
#D4CFD5
text
#151117
muted
#838085

Preview Lab

Preview with #CF8FEB

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

Preview Lab → · Contrast checker → · Palette generator →

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