#CF5FFB#CF5FFB

#CF5FFB is a light, highly saturated purple. Relative luminance 0.284; OKLCH L 68.6% C 0.235 H 315.1°. Best body text is #000000 at 6.68:1 contrast (WCAG AA passes).

Color values

HEX#CF5FFB
RGBrgb(207, 95, 251)
HSLhsl(283, 95%, 68%)
HSVhsv(283, 62%, 98%)
CMYKcmyk(17.5%, 62.2%, 0%, 1.6%)
CIE-LABlab(60.26, 67.32, -59.11)
CIE-LCHlch(60.26, 89.59, 318.71°)
OKLaboklab(68.65% 0.1667 -0.1659)
OKLCHoklch(68.65% 0.235 315.1)
XYZxyz(47.2341, 28.4164, 94.2449)
Luminance0.2842 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CF5FFB #8BFB5F
analogous
#815FFB #CF5FFB #FB5FD9
triadic
#CF5FFB #FBCF5F #5FFBCF
tetradic
#CF5FFB #FB815F #8BFB5F #5FD9FB
square
#CF5FFB #FB815F #8BFB5F #5FD9FB
split-complementary
#CF5FFB #D9FB5F #5FFB81
monochromatic
#9E05DA #BD23FA #CF5FFB #E19BFC #F3D6FE

Accessibility & contrast

On white

3.14
#CF5FFB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.68
#CF5FFB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CF5FFB
6.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CF5FFB#FFFFFF#000000##000000
##CF5FFB1.003.146.686.68
#FFFFFF3.141.0021.0021.00
#0000006.6821.001.001.00
##0000006.6821.001.001.00

Color blindness preview

Protanopia (red-blind)
#248BFF
Deuteranopia (green-blind)
#5C94F7
Tritanopia (blue-blind)
#CC7CA5
Achromatopsia (no color)
#919191

Design tokens & code

CSS
--color: #cf5ffb;
/* rgb */ color: rgb(207, 95, 251);
/* oklch */ color: oklch(68.6% 0.235 315.1);
Tailwind
colors: {
  custom: {
    50: '#e193fd',
    500: '#cf5ffb',
    950: '#000000',
  },
}
SCSS
$custom: #cf5ffb;
$custom-light: #e193fd;
$custom-dark: #000000;
JSON
{
  "hex": "#cf5ffb",
  "rgb": {
    "r": 207,
    "g": 95,
    "b": 251
  },
  "hsl": {
    "h": 283.077,
    "s": 95.122,
    "l": 67.843
  },
  "oklch": {
    "l": 0.68649,
    "c": 0.23516,
    "h": 315.1
  },
  "luminance": 0.28415
}

Semantic roles & 50–950 ramp

primary
#CF5FFB
secondary
#D0F3C3
accent
#E60041
background
#FEF9FF
surface
#FCF2FF
border
#D5CCD7
text
#160D18
muted
#847E86

Preview Lab

Preview with #CF5FFB

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

Preview Lab → · Contrast checker → · Palette generator →

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