#CF5FCC#CF5FCC

#CF5FCC is a light, vivid purple. Relative luminance 0.258; OKLCH L 66.1% C 0.192 H 328.5°. Best body text is #000000 at 6.16:1 contrast (WCAG AA passes).

Color values

HEX#CF5FCC
RGBrgb(207, 95, 204)
HSLhsl(302, 54%, 59%)
HSVhsv(302, 54%, 81%)
CMYKcmyk(0%, 54.1%, 1.4%, 18.8%)
CIE-LABlab(57.86, 58.58, -36.58)
CIE-LCHlch(57.86, 69.07, 328.02°)
OKLaboklab(66.12% 0.164 -0.1005)
OKLCHoklch(66.12% 0.192 328.5)
XYZxyz(40.7229, 25.8119, 59.9523)
Luminance0.2581 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CF5FCC #5FCF62
analogous
#9A5FCF #CF5FCC #CF5F94
triadic
#CF5FCC #CCCF5F #5FCCCF
tetradic
#CF5FCC #CF9A5F #5FCF62 #5F94CF
square
#CF5FCC #CF9A5F #5FCF62 #5F94CF
split-complementary
#CF5FCC #94CF5F #5FCF9A
monochromatic
#8A2988 #B938B6 #CF5FCC #DD8EDB #EBBDEA

Accessibility & contrast

On white

3.41
#CF5FCC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.16
#CF5FCC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CF5FCC
6.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CF5FCC#FFFFFF#000000##000000
##CF5FCC1.003.416.166.16
#FFFFFF3.411.0021.0021.00
#0000006.1621.001.001.00
##0000006.1621.001.001.00

Color blindness preview

Protanopia (red-blind)
#5581CF
Deuteranopia (green-blind)
#7990C9
Tritanopia (blue-blind)
#D56B8D
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #cf5fcc;
/* rgb */ color: rgb(207, 95, 204);
/* oklch */ color: oklch(66.1% 0.192 328.5);
Tailwind
colors: {
  custom: {
    50: '#e092dc',
    500: '#cf5fcc',
    950: '#000000',
  },
}
SCSS
$custom: #cf5fcc;
$custom-light: #e092dc;
$custom-dark: #000000;
JSON
{
  "hex": "#cf5fcc",
  "rgb": {
    "r": 207,
    "g": 95,
    "b": 204
  },
  "hsl": {
    "h": 301.607,
    "s": 53.846,
    "l": 59.216
  },
  "oklch": {
    "l": 0.66117,
    "c": 0.19235,
    "h": 328.5
  },
  "luminance": 0.25809
}

Semantic roles & 50–950 ramp

primary
#CF5FCC
secondary
#AFDBB0
accent
#DD4F4B
background
#FEF9FD
surface
#FCF2FB
border
#D5CCD4
text
#160D15
muted
#847E83

Preview Lab

Preview with #CF5FCC

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

Preview Lab → · Contrast checker → · Palette generator →

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