#CF5ABC#CF5ABC

#CF5ABC is a light, vivid purple. Relative luminance 0.242; OKLCH L 64.7% C 0.187 H 334.2°. Best body text is #000000 at 5.84:1 contrast (WCAG AA passes).

Color values

HEX#CF5ABC
RGBrgb(207, 90, 188)
HSLhsl(310, 55%, 58%)
HSVhsv(310, 57%, 81%)
CMYKcmyk(0%, 56.5%, 9.2%, 18.8%)
CIE-LABlab(56.30, 58.21, -29.87)
CIE-LCHlch(56.30, 65.42, 332.84°)
OKLaboklab(64.74% 0.1682 -0.0812)
OKLCHoklch(64.74% 0.187 334.2)
XYZxyz(38.4655, 24.2114, 50.2145)
Luminance0.2421 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CF5ABC #5ACF6D
analogous
#A85ACF #CF5ABC #CF5A81
triadic
#CF5ABC #BCCF5A #5ABCCF
tetradic
#CF5ABC #CFA85A #5ACF6D #5A81CF
square
#CF5ABC #CFA85A #5ACF6D #5A81CF
split-complementary
#CF5ABC #81CF5A #5ACFA8
monochromatic
#872778 #B735A2 #CF5ABC #DD89CF #EBB9E3

Accessibility & contrast

On white

3.59
#CF5ABC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.84
#CF5ABC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CF5ABC
5.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CF5ABC#FFFFFF#000000##000000
##CF5ABC1.003.595.845.84
#FFFFFF3.591.0021.0021.00
#0000005.8421.001.001.00
##0000005.8421.001.001.00

Color blindness preview

Protanopia (red-blind)
#597CBF
Deuteranopia (green-blind)
#7C8DB9
Tritanopia (blue-blind)
#D86183
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #cf5abc;
/* rgb */ color: rgb(207, 90, 188);
/* oklch */ color: oklch(64.7% 0.187 334.2);
Tailwind
colors: {
  custom: {
    50: '#e08ed0',
    500: '#cf5abc',
    950: '#000000',
  },
}
SCSS
$custom: #cf5abc;
$custom-light: #e08ed0;
$custom-dark: #000000;
JSON
{
  "hex": "#cf5abc",
  "rgb": {
    "r": 207,
    "g": 90,
    "b": 188
  },
  "hsl": {
    "h": 309.744,
    "s": 54.93,
    "l": 58.235
  },
  "oklch": {
    "l": 0.64738,
    "c": 0.18681,
    "h": 334.2
  },
  "luminance": 0.24209
}

Semantic roles & 50–950 ramp

primary
#CF5ABC
secondary
#ABDAB3
accent
#DE624A
background
#FEF9FC
surface
#FCF1F9
border
#D5CBD2
text
#160D14
muted
#847E82

Preview Lab

Preview with #CF5ABC

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

Preview Lab → · Contrast checker → · Palette generator →

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