#C23DB2#C23DB2

#C23DB2 is a mid, highly saturated purple. Relative luminance 0.180; OKLCH L 59.3% C 0.211 H 333.1°. Best body text is #000000 at 4.60:1 contrast (WCAG AA passes).

Color values

HEX#C23DB2
RGBrgb(194, 61, 178)
HSLhsl(307, 52%, 50%)
HSVhsv(307, 69%, 76%)
CMYKcmyk(0%, 68.6%, 8.2%, 23.9%)
CIE-LABlab(49.52, 65.23, -34.78)
CIE-LCHlch(49.52, 73.92, 331.93°)
OKLaboklab(59.26% 0.1882 -0.0953)
OKLCHoklch(59.26% 0.211 333.1)
XYZxyz(31.9529, 18.0238, 43.9069)
Luminance0.1802 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C23DB2 #3DC24D
analogous
#8F3DC2 #C23DB2 #C23D70
triadic
#C23DB2 #B2C23D #3DB2C2
tetradic
#C23DB2 #C28F3D #3DC24D #3D70C2
square
#C23DB2 #C28F3D #3DC24D #3D70C2
split-complementary
#C23DB2 #70C23D #3DC28F
monochromatic
#65205D #932E87 #C23DB2 #D16CC4 #DF9AD7

Accessibility & contrast

On white

4.56
#C23DB2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.60
#C23DB2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C23DB2
4.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C23DB2#FFFFFF#000000##000000
##C23DB21.004.564.604.60
#FFFFFF4.561.0021.0021.00
#0000004.6021.001.001.00
##0000004.6021.001.001.00

Color blindness preview

Protanopia (red-blind)
#3869B5
Deuteranopia (green-blind)
#677DAF
Tritanopia (blue-blind)
#CB4973
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #c23db2;
/* rgb */ color: rgb(194, 61, 178);
/* oklch */ color: oklch(59.3% 0.211 333.1);
Tailwind
colors: {
  custom: {
    50: '#d87ec9',
    500: '#c23db2',
    950: '#000000',
  },
}
SCSS
$custom: #c23db2;
$custom-light: #d87ec9;
$custom-dark: #000000;
JSON
{
  "hex": "#c23db2",
  "rgb": {
    "r": 194,
    "g": 61,
    "b": 178
  },
  "hsl": {
    "h": 307.218,
    "s": 52.157,
    "l": 50
  },
  "oklch": {
    "l": 0.59257,
    "c": 0.21093,
    "h": 333.1
  },
  "luminance": 0.18021
}

Semantic roles & 50–950 ramp

primary
#C23DB2
secondary
#90CB97
accent
#DC5D4C
background
#FDF8FC
surface
#FBEFF8
border
#D4CAD1
text
#150B13
muted
#837C82

Preview Lab

Preview with #C23DB2

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

Preview Lab → · Contrast checker → · Palette generator →

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