#CF8FEF#CF8FEF

#CF8FEF is a light, vivid purple. Relative luminance 0.391; OKLCH L 74.8% C 0.149 H 313.8°. Best body text is #000000 at 8.83:1 contrast (WCAG AA passes).

Color values

HEX#CF8FEF
RGBrgb(207, 143, 239)
HSLhsl(280, 75%, 75%)
HSVhsv(280, 40%, 94%)
CMYKcmyk(13.4%, 40.2%, 0%, 6.3%)
CIE-LABlab(68.86, 40.90, -38.93)
CIE-LCHlch(68.86, 56.47, 316.41°)
OKLaboklab(74.8% 0.1031 -0.1076)
OKLCHoklch(74.8% 0.149 313.8)
XYZxyz(51.1320, 39.1434, 86.5065)
Luminance0.3914 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CF8FEF #AFEF8F
analogous
#9F8FEF #CF8FEF #EF8FDF
triadic
#CF8FEF #EFCF8F #8FEFCF
tetradic
#CF8FEF #EF9F8F #AFEF8F #8FDFEF
square
#CF8FEF #EF9F8F #AFEF8F #8FDFEF
split-complementary
#CF8FEF #DFEF8F #8FEF9F
monochromatic
#A124E0 #B859E7 #CF8FEF #E6C5F7 #F4E4FB

Accessibility & contrast

On white

2.38
#CF8FEF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.83
#CF8FEF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CF8FEF
8.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CF8FEF#FFFFFF#000000##000000
##CF8FEF1.002.388.838.83
#FFFFFF2.381.0021.0021.00
#0000008.8321.001.001.00
##0000008.8321.001.001.00

Color blindness preview

Protanopia (red-blind)
#7EA4F3
Deuteranopia (green-blind)
#8EAAEC
Tritanopia (blue-blind)
#CD9CB4
Achromatopsia (no color)
#A8A8A8

Design tokens & code

CSS
--color: #cf8fef;
/* rgb */ color: rgb(207, 143, 239);
/* oklch */ color: oklch(74.8% 0.149 313.8);
Tailwind
colors: {
  custom: {
    50: '#dfb1f4',
    500: '#cf8fef',
    950: '#000000',
  },
}
SCSS
$custom: #cf8fef;
$custom-light: #dfb1f4;
$custom-dark: #000000;
JSON
{
  "hex": "#cf8fef",
  "rgb": {
    "r": 207,
    "g": 143,
    "b": 239
  },
  "hsl": {
    "h": 280,
    "s": 75,
    "l": 74.902
  },
  "oklch": {
    "l": 0.74805,
    "c": 0.14901,
    "h": 313.8
  },
  "luminance": 0.39142
}

Semantic roles & 50–950 ramp

primary
#CF8FEF
secondary
#E1F3D8
accent
#D70E51
background
#FDFAFE
surface
#FBF5FD
border
#D4CFD5
text
#151117
muted
#838085

Preview Lab

Preview with #CF8FEF

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

Preview Lab → · Contrast checker → · Palette generator →

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