#CF5CF8#CF5CF8

#CF5CF8 is a light, highly saturated purple. Relative luminance 0.277; OKLCH L 68.1% C 0.236 H 316.0°. Best body text is #000000 at 6.54:1 contrast (WCAG AA passes).

Color values

HEX#CF5CF8
RGBrgb(207, 92, 248)
HSLhsl(284, 92%, 67%)
HSVhsv(284, 63%, 97%)
CMYKcmyk(16.5%, 62.9%, 0%, 2.7%)
CIE-LABlab(59.62, 68.05, -58.49)
CIE-LCHlch(59.62, 89.73, 319.32°)
OKLaboklab(68.13% 0.1701 -0.164)
OKLCHoklch(68.13% 0.236 316)
XYZxyz(46.4999, 27.6987, 91.6857)
Luminance0.2770 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CF5CF8 #85F85C
analogous
#815CF8 #CF5CF8 #F85CD3
triadic
#CF5CF8 #F8CF5C #5CF8CF
tetradic
#CF5CF8 #F8815C #85F85C #5CD3F8
square
#CF5CF8 #F8815C #85F85C #5CD3F8
split-complementary
#CF5CF8 #D3F85C #5CF881
monochromatic
#9C09D1 #BE21F5 #CF5CF8 #E097FB #F2D1FD

Accessibility & contrast

On white

3.21
#CF5CF8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.54
#CF5CF8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CF5CF8
6.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CF5CF8#FFFFFF#000000##000000
##CF5CF81.003.216.546.54
#FFFFFF3.211.0021.0021.00
#0000006.5421.001.001.00
##0000006.5421.001.001.00

Color blindness preview

Protanopia (red-blind)
#2189FD
Deuteranopia (green-blind)
#5C93F4
Tritanopia (blue-blind)
#CD78A2
Achromatopsia (no color)
#909090

Design tokens & code

CSS
--color: #cf5cf8;
/* rgb */ color: rgb(207, 92, 248);
/* oklch */ color: oklch(68.1% 0.236 316.0);
Tailwind
colors: {
  custom: {
    50: '#e191fb',
    500: '#cf5cf8',
    950: '#000000',
  },
}
SCSS
$custom: #cf5cf8;
$custom-light: #e191fb;
$custom-dark: #000000;
JSON
{
  "hex": "#cf5cf8",
  "rgb": {
    "r": 207,
    "g": 92,
    "b": 248
  },
  "hsl": {
    "h": 284.231,
    "s": 91.765,
    "l": 66.667
  },
  "oklch": {
    "l": 0.68126,
    "c": 0.23633,
    "h": 316
  },
  "luminance": 0.27697
}

Semantic roles & 50–950 ramp

primary
#CF5CF8
secondary
#CCF1BF
accent
#E6003C
background
#FEF9FF
surface
#FCF2FF
border
#D5CCD7
text
#160D17
muted
#847E85

Preview Lab

Preview with #CF5CF8

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

Preview Lab → · Contrast checker → · Palette generator →

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