#CF5FF5#CF5FF5

#CF5FF5 is a light, highly saturated purple. Relative luminance 0.280; OKLCH L 68.3% C 0.230 H 316.6°. Best body text is #000000 at 6.61:1 contrast (WCAG AA passes).

Color values

HEX#CF5FF5
RGBrgb(207, 95, 245)
HSLhsl(285, 88%, 67%)
HSVhsv(285, 61%, 96%)
CMYKcmyk(15.5%, 61.2%, 0%, 3.9%)
CIE-LABlab(59.93, 66.15, -56.33)
CIE-LCHlch(59.93, 86.88, 319.58°)
OKLaboklab(68.3% 0.1667 -0.1577)
OKLCHoklch(68.3% 0.23 316.6)
XYZxyz(46.3033, 28.0441, 89.3425)
Luminance0.2804 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CF5FF5 #85F55F
analogous
#845FF5 #CF5FF5 #F55FD0
triadic
#CF5FF5 #F5CF5F #5FF5CF
tetradic
#CF5FF5 #F5845F #85F55F #5FD0F5
square
#CF5FF5 #F5845F #85F55F #5FD0F5
split-complementary
#CF5FF5 #D0F55F #5FF584
monochromatic
#9C0DCD #BE25F1 #CF5FF5 #E099F9 #F2D2FC

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CF5FF5#FFFFFF#000000##000000
##CF5FF51.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)
#2F89FA
Deuteranopia (green-blind)
#6194F1
Tritanopia (blue-blind)
#CD79A2
Achromatopsia (no color)
#909090

Design tokens & code

CSS
--color: #cf5ff5;
/* rgb */ color: rgb(207, 95, 245);
/* oklch */ color: oklch(68.3% 0.230 316.6);
Tailwind
colors: {
  custom: {
    50: '#e193f9',
    500: '#cf5ff5',
    950: '#000000',
  },
}
SCSS
$custom: #cf5ff5;
$custom-light: #e193f9;
$custom-dark: #000000;
JSON
{
  "hex": "#cf5ff5",
  "rgb": {
    "r": 207,
    "g": 95,
    "b": 245
  },
  "hsl": {
    "h": 284.8,
    "s": 88.235,
    "l": 66.667
  },
  "oklch": {
    "l": 0.68299,
    "c": 0.22951,
    "h": 316.6
  },
  "luminance": 0.28042
}

Semantic roles & 50–950 ramp

primary
#CF5FF5
secondary
#CCF0C0
accent
#E5013A
background
#FEF9FF
surface
#FCF2FF
border
#D5CCD7
text
#160D17
muted
#847E85

Preview Lab

Preview with #CF5FF5

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

Preview Lab → · Contrast checker → · Palette generator →

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