#C23DBA#C23DBA

#C23DBA is a mid, highly saturated purple. Relative luminance 0.184; OKLCH L 59.7% C 0.217 H 330.5°. Best body text is #000000 at 4.67:1 contrast (WCAG AA passes).

Color values

HEX#C23DBA
RGBrgb(194, 61, 186)
HSLhsl(304, 52%, 50%)
HSVhsv(304, 69%, 76%)
CMYKcmyk(0%, 68.6%, 4.1%, 23.9%)
CIE-LABlab(49.92, 66.49, -38.83)
CIE-LCHlch(49.92, 76.99, 329.71°)
OKLaboklab(59.67% 0.1887 -0.1069)
OKLCHoklch(59.67% 0.217 330.5)
XYZxyz(32.7797, 18.3545, 48.2611)
Luminance0.1835 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C23DBA #3DC245
analogous
#873DC2 #C23DBA #C23D78
triadic
#C23DBA #BAC23D #3DBAC2
tetradic
#C23DBA #C2873D #3DC245 #3D78C2
square
#C23DBA #C2873D #3DC245 #3D78C2
split-complementary
#C23DBA #78C23D #3DC287
monochromatic
#652061 #932E8D #C23DBA #D16CCB #DF9ADB

Accessibility & contrast

On white

4.50
#C23DBA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.67
#C23DBA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C23DBA
4.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C23DBA#FFFFFF#000000##000000
##C23DBA1.004.504.674.67
#FFFFFF4.501.0021.0021.00
#0000004.6721.001.001.00
##0000004.6721.001.001.00

Color blindness preview

Protanopia (red-blind)
#316BBE
Deuteranopia (green-blind)
#647DB7
Tritanopia (blue-blind)
#C94D77
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #c23dba;
/* rgb */ color: rgb(194, 61, 186);
/* oklch */ color: oklch(59.7% 0.217 330.5);
Tailwind
colors: {
  custom: {
    50: '#d87ecf',
    500: '#c23dba',
    950: '#000000',
  },
}
SCSS
$custom: #c23dba;
$custom-light: #d87ecf;
$custom-dark: #000000;
JSON
{
  "hex": "#c23dba",
  "rgb": {
    "r": 194,
    "g": 61,
    "b": 186
  },
  "hsl": {
    "h": 303.609,
    "s": 52.157,
    "l": 50
  },
  "oklch": {
    "l": 0.59674,
    "c": 0.21692,
    "h": 330.5
  },
  "luminance": 0.18352
}

Semantic roles & 50–950 ramp

primary
#C23DBA
secondary
#90CB93
accent
#DC554C
background
#FDF8FC
surface
#FBEFF9
border
#D4CAD2
text
#150B14
muted
#837C82

Preview Lab

Preview with #C23DBA

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

Preview Lab → · Contrast checker → · Palette generator →

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