#CF5FD8#CF5FD8

#CF5FD8 is a light, highly saturated purple. Relative luminance 0.264; OKLCH L 66.7% C 0.203 H 324.6°. Best body text is #000000 at 6.28:1 contrast (WCAG AA passes).

Color values

HEX#CF5FD8
RGBrgb(207, 95, 216)
HSLhsl(296, 61%, 61%)
HSVhsv(296, 56%, 85%)
CMYKcmyk(4.2%, 56%, 0%, 15.3%)
CIE-LABlab(58.42, 60.70, -42.49)
CIE-LCHlch(58.42, 74.10, 325.01°)
OKLaboklab(66.72% 0.1654 -0.1175)
OKLCHoklch(66.72% 0.203 324.6)
XYZxyz(42.2180, 26.4100, 67.8263)
Luminance0.2641 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CF5FD8 #68D85F
analogous
#925FD8 #CF5FD8 #D85FA4
triadic
#CF5FD8 #D8CF5F #5FD8CF
tetradic
#CF5FD8 #D8925F #68D85F #5FA4D8
square
#CF5FD8 #D8925F #68D85F #5FA4D8
split-complementary
#CF5FD8 #A4D85F #5FD892
monochromatic
#8F2598 #BE31C9 #CF5FD8 #DE90E4 #EDC1F0

Accessibility & contrast

On white

3.34
#CF5FD8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.28
#CF5FD8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CF5FD8
6.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CF5FD8#FFFFFF#000000##000000
##CF5FD81.003.346.286.28
#FFFFFF3.341.0021.0021.00
#0000006.2821.001.001.00
##0000006.2821.001.001.00

Color blindness preview

Protanopia (red-blind)
#4D84DC
Deuteranopia (green-blind)
#7391D5
Tritanopia (blue-blind)
#D36F93
Achromatopsia (no color)
#8C8C8C

Design tokens & code

CSS
--color: #cf5fd8;
/* rgb */ color: rgb(207, 95, 216);
/* oklch */ color: oklch(66.7% 0.203 324.6);
Tailwind
colors: {
  custom: {
    50: '#e092e4',
    500: '#cf5fd8',
    950: '#000000',
  },
}
SCSS
$custom: #cf5fd8;
$custom-light: #e092e4;
$custom-dark: #000000;
JSON
{
  "hex": "#cf5fd8",
  "rgb": {
    "r": 207,
    "g": 95,
    "b": 216
  },
  "hsl": {
    "h": 295.537,
    "s": 60.804,
    "l": 60.98
  },
  "oklch": {
    "l": 0.66716,
    "c": 0.20286,
    "h": 324.6
  },
  "luminance": 0.26408
}

Semantic roles & 50–950 ramp

primary
#CF5FD8
secondary
#B6E0B3
accent
#C81D2A
background
#FEF9FE
surface
#FCF2FC
border
#D5CCD5
text
#160D15
muted
#847E84

Preview Lab

Preview with #CF5FD8

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

Preview Lab → · Contrast checker → · Palette generator →

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