#CF5DFB#CF5DFB

#CF5DFB is a light, highly saturated purple. Relative luminance 0.281; OKLCH L 68.4% C 0.238 H 315.3°. Best body text is #000000 at 6.61:1 contrast (WCAG AA passes).

Color values

HEX#CF5DFB
RGBrgb(207, 93, 251)
HSLhsl(283, 95%, 67%)
HSVhsv(283, 63%, 98%)
CMYKcmyk(17.5%, 62.9%, 0%, 1.6%)
CIE-LABlab(59.94, 68.20, -59.63)
CIE-LCHlch(59.94, 90.59, 318.84°)
OKLaboklab(68.42% 0.1689 -0.1674)
OKLCHoklch(68.42% 0.238 315.3)
XYZxyz(47.0563, 28.0607, 94.1856)
Luminance0.2806 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CF5DFB #89FB5D
analogous
#805DFB #CF5DFB #FB5DD8
triadic
#CF5DFB #FBCF5D #5DFBCF
tetradic
#CF5DFB #FB805D #89FB5D #5DD8FB
square
#CF5DFB #FB805D #89FB5D #5DD8FB
split-complementary
#CF5DFB #D8FB5D #5DFB80
monochromatic
#9E05D8 #BD21FA #CF5DFB #E199FC #F2D4FE

Accessibility & contrast

On white

3.18
#CF5DFB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.61
#CF5DFB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CF5DFB
6.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CF5DFB#FFFFFF#000000##000000
##CF5DFB1.003.186.616.61
#FFFFFF3.181.0021.0021.00
#0000006.6121.001.001.00
##0000006.6121.001.001.00

Color blindness preview

Protanopia (red-blind)
#1D8AFF
Deuteranopia (green-blind)
#5B94F7
Tritanopia (blue-blind)
#CC7AA4
Achromatopsia (no color)
#909090

Design tokens & code

CSS
--color: #cf5dfb;
/* rgb */ color: rgb(207, 93, 251);
/* oklch */ color: oklch(68.4% 0.238 315.3);
Tailwind
colors: {
  custom: {
    50: '#e192fd',
    500: '#cf5dfb',
    950: '#000000',
  },
}
SCSS
$custom: #cf5dfb;
$custom-light: #e192fd;
$custom-dark: #000000;
JSON
{
  "hex": "#cf5dfb",
  "rgb": {
    "r": 207,
    "g": 93,
    "b": 251
  },
  "hsl": {
    "h": 283.291,
    "s": 95.181,
    "l": 67.451
  },
  "oklch": {
    "l": 0.68418,
    "c": 0.2378,
    "h": 315.3
  },
  "luminance": 0.28059
}

Semantic roles & 50–950 ramp

primary
#CF5DFB
secondary
#CFF3C1
accent
#E60040
background
#FEF9FF
surface
#FCF2FF
border
#D5CCD7
text
#160D18
muted
#847E86

Preview Lab

Preview with #CF5DFB

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

Preview Lab → · Contrast checker → · Palette generator →

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