#CF5ACC#CF5ACC

#CF5ACC is a light, vivid purple. Relative luminance 0.249; OKLCH L 65.5% C 0.200 H 328.6°. Best body text is #000000 at 5.99:1 contrast (WCAG AA passes).

Color values

HEX#CF5ACC
RGBrgb(207, 90, 204)
HSLhsl(302, 55%, 58%)
HSVhsv(302, 57%, 81%)
CMYKcmyk(0%, 56.5%, 1.4%, 18.8%)
CIE-LABlab(57.02, 60.86, -37.90)
CIE-LCHlch(57.02, 71.70, 328.09°)
OKLaboklab(65.5% 0.1705 -0.1042)
OKLCHoklch(65.5% 0.2 328.6)
XYZxyz(40.2869, 24.9399, 59.8070)
Luminance0.2494 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CF5ACC #5ACF5D
analogous
#975ACF #CF5ACC #CF5A92
triadic
#CF5ACC #CCCF5A #5ACCCF
tetradic
#CF5ACC #CF975A #5ACF5D #5A92CF
square
#CF5ACC #CF975A #5ACF5D #5A92CF
split-complementary
#CF5ACC #92CF5A #5ACF97
monochromatic
#872785 #B735B3 #CF5ACC #DD89DB #EBB9E9

Accessibility & contrast

On white

3.51
#CF5ACC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.99
#CF5ACC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CF5ACC
5.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CF5ACC#FFFFFF#000000##000000
##CF5ACC1.003.515.995.99
#FFFFFF3.511.0021.0021.00
#0000005.9921.001.001.00
##0000005.9921.001.001.00

Color blindness preview

Protanopia (red-blind)
#4F7FD0
Deuteranopia (green-blind)
#768EC9
Tritanopia (blue-blind)
#D5678B
Achromatopsia (no color)
#898989

Design tokens & code

CSS
--color: #cf5acc;
/* rgb */ color: rgb(207, 90, 204);
/* oklch */ color: oklch(65.5% 0.200 328.6);
Tailwind
colors: {
  custom: {
    50: '#e08fdc',
    500: '#cf5acc',
    950: '#000000',
  },
}
SCSS
$custom: #cf5acc;
$custom-light: #e08fdc;
$custom-dark: #000000;
JSON
{
  "hex": "#cf5acc",
  "rgb": {
    "r": 207,
    "g": 90,
    "b": 204
  },
  "hsl": {
    "h": 301.538,
    "s": 54.93,
    "l": 58.235
  },
  "oklch": {
    "l": 0.655,
    "c": 0.19981,
    "h": 328.6
  },
  "luminance": 0.24937
}

Semantic roles & 50–950 ramp

primary
#CF5ACC
secondary
#ABDAAC
accent
#DE4D4A
background
#FEF9FD
surface
#FCF1FB
border
#D5CBD4
text
#160D15
muted
#847E83

Preview Lab

Preview with #CF5ACC

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

Preview Lab → · Contrast checker → · Palette generator →

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