#CF5FC5#CF5FC5

#CF5FC5 is a light, vivid purple. Relative luminance 0.255; OKLCH L 65.8% C 0.186 H 331.0°. Best body text is #000000 at 6.10:1 contrast (WCAG AA passes).

Color values

HEX#CF5FC5
RGBrgb(207, 95, 197)
HSLhsl(305, 54%, 59%)
HSVhsv(305, 54%, 81%)
CMYKcmyk(0%, 54.1%, 4.8%, 18.8%)
CIE-LABlab(57.54, 57.39, -33.09)
CIE-LCHlch(57.54, 66.25, 330.04°)
OKLaboklab(65.78% 0.163 -0.0904)
OKLCHoklch(65.78% 0.186 331)
XYZxyz(39.9021, 25.4836, 55.6297)
Luminance0.2548 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CF5FC5 #5FCF69
analogous
#A15FCF #CF5FC5 #CF5F8D
triadic
#CF5FC5 #C5CF5F #5FC5CF
tetradic
#CF5FC5 #CFA15F #5FCF69 #5F8DCF
square
#CF5FC5 #CFA15F #5FCF69 #5F8DCF
split-complementary
#CF5FC5 #8DCF5F #5FCFA1
monochromatic
#8A2982 #B938AE #CF5FC5 #DD8ED6 #EBBDE7

Accessibility & contrast

On white

3.44
#CF5FC5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.10
#CF5FC5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CF5FC5
6.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CF5FC5#FFFFFF#000000##000000
##CF5FC51.003.446.106.10
#FFFFFF3.441.0021.0021.00
#0000006.1021.001.001.00
##0000006.1021.001.001.00

Color blindness preview

Protanopia (red-blind)
#5A80C8
Deuteranopia (green-blind)
#7C90C2
Tritanopia (blue-blind)
#D66989
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #cf5fc5;
/* rgb */ color: rgb(207, 95, 197);
/* oklch */ color: oklch(65.8% 0.186 331.0);
Tailwind
colors: {
  custom: {
    50: '#e091d7',
    500: '#cf5fc5',
    950: '#000000',
  },
}
SCSS
$custom: #cf5fc5;
$custom-light: #e091d7;
$custom-dark: #000000;
JSON
{
  "hex": "#cf5fc5",
  "rgb": {
    "r": 207,
    "g": 95,
    "b": 197
  },
  "hsl": {
    "h": 305.357,
    "s": 53.846,
    "l": 59.216
  },
  "oklch": {
    "l": 0.65783,
    "c": 0.18643,
    "h": 331
  },
  "luminance": 0.25481
}

Semantic roles & 50–950 ramp

primary
#CF5FC5
secondary
#AFDBB3
accent
#DD584B
background
#FEF9FD
surface
#FCF2FA
border
#D5CCD3
text
#160D14
muted
#847E83

Preview Lab

Preview with #CF5FC5

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

Preview Lab → · Contrast checker → · Palette generator →

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