#CD2ABF#CD2ABF

#CD2ABF is a mid, highly saturated purple. Relative luminance 0.184; OKLCH L 60.1% C 0.245 H 332.2°. Best body text is #000000 at 4.68:1 contrast (WCAG AA passes).

Color values

HEX#CD2ABF
RGBrgb(205, 42, 191)
HSLhsl(305, 66%, 48%)
HSVhsv(305, 80%, 80%)
CMYKcmyk(0%, 79.5%, 6.8%, 19.6%)
CIE-LABlab(49.98, 75.39, -41.53)
CIE-LCHlch(49.98, 86.07, 331.15°)
OKLaboklab(60.14% 0.2166 -0.1144)
OKLCHoklch(60.14% 0.245 332.2)
XYZxyz(35.4089, 18.3997, 50.9667)
Luminance0.1840 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD2ABF #2ACD38
analogous
#892ACD #CD2ABF #CD2A6E
triadic
#CD2ABF #BFCD2A #2ABFCD
tetradic
#CD2ABF #CD892A #2ACD38 #2A6ECD
square
#CD2ABF #CD892A #2ACD38 #2A6ECD
split-complementary
#CD2ABF #6ECD2A #2ACD89
monochromatic
#671560 #9A2090 #CD2ABF #DD58D1 #E78ADF

Accessibility & contrast

On white

4.49
#CD2ABF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.68
#CD2ABF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CD2ABF
4.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD2ABF#FFFFFF#000000##000000
##CD2ABF1.004.494.684.68
#FFFFFF4.491.0021.0021.00
#0000004.6821.001.001.00
##0000004.6821.001.001.00

Color blindness preview

Protanopia (red-blind)
#1A68C3
Deuteranopia (green-blind)
#637FBB
Tritanopia (blue-blind)
#D64075
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #cd2abf;
/* rgb */ color: rgb(205, 42, 191);
/* oklch */ color: oklch(60.1% 0.245 332.2);
Tailwind
colors: {
  custom: {
    50: '#e178d3',
    500: '#cd2abf',
    950: '#000000',
  },
}
SCSS
$custom: #cd2abf;
$custom-light: #e178d3;
$custom-dark: #000000;
JSON
{
  "hex": "#cd2abf",
  "rgb": {
    "r": 205,
    "g": 42,
    "b": 191
  },
  "hsl": {
    "h": 305.153,
    "s": 65.992,
    "l": 48.431
  },
  "oklch": {
    "l": 0.60142,
    "c": 0.24496,
    "h": 332.2
  },
  "luminance": 0.18397
}

Semantic roles & 50–950 ramp

primary
#CD2ABF
secondary
#82D189
accent
#E94D3F
background
#FEF7FD
surface
#FDEEFA
border
#D5C9D3
text
#160A14
muted
#847C83

Preview Lab

Preview with #CD2ABF

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

Preview Lab → · Contrast checker → · Palette generator →

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