#C23DBE#C23DBE

#C23DBE is a mid, highly saturated purple. Relative luminance 0.185; OKLCH L 59.9% C 0.220 H 329.2°. Best body text is #000000 at 4.71:1 contrast (WCAG AA passes).

Color values

HEX#C23DBE
RGBrgb(194, 61, 190)
HSLhsl(302, 52%, 50%)
HSVhsv(302, 69%, 76%)
CMYKcmyk(0%, 68.6%, 2.1%, 23.9%)
CIE-LABlab(50.13, 67.13, -40.83)
CIE-LCHlch(50.13, 78.57, 328.69°)
OKLaboklab(59.89% 0.1889 -0.1127)
OKLCHoklch(59.89% 0.22 329.2)
XYZxyz(33.2109, 18.5269, 50.5321)
Luminance0.1852 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C23DBE #3DC241
analogous
#843DC2 #C23DBE #C23D7B
triadic
#C23DBE #BEC23D #3DBEC2
tetradic
#C23DBE #C2843D #3DC241 #3D7BC2
square
#C23DBE #C2843D #3DC241 #3D7BC2
split-complementary
#C23DBE #7BC23D #3DC284
monochromatic
#652063 #932E90 #C23DBE #D16CCE #DF9ADD

Accessibility & contrast

On white

4.46
#C23DBE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.71
#C23DBE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C23DBE
4.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C23DBE#FFFFFF#000000##000000
##C23DBE1.004.464.714.71
#FFFFFF4.461.0021.0021.00
#0000004.7121.001.001.00
##0000004.7121.001.001.00

Color blindness preview

Protanopia (red-blind)
#2D6CC2
Deuteranopia (green-blind)
#627EBB
Tritanopia (blue-blind)
#C94E79
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #c23dbe;
/* rgb */ color: rgb(194, 61, 190);
/* oklch */ color: oklch(59.9% 0.220 329.2);
Tailwind
colors: {
  custom: {
    50: '#d87ed2',
    500: '#c23dbe',
    950: '#000000',
  },
}
SCSS
$custom: #c23dbe;
$custom-light: #d87ed2;
$custom-dark: #000000;
JSON
{
  "hex": "#c23dbe",
  "rgb": {
    "r": 194,
    "g": 61,
    "b": 190
  },
  "hsl": {
    "h": 301.805,
    "s": 52.157,
    "l": 50
  },
  "oklch": {
    "l": 0.59889,
    "c": 0.21999,
    "h": 329.2
  },
  "luminance": 0.18525
}

Semantic roles & 50–950 ramp

primary
#C23DBE
secondary
#90CB91
accent
#DC514C
background
#FDF8FC
surface
#FBEFF9
border
#D4CAD2
text
#150B14
muted
#837C82

Preview Lab

Preview with #C23DBE

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

Preview Lab → · Contrast checker → · Palette generator →

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