#C23CD8#C23CD8

#C23CD8 is a mid, highly saturated purple. Relative luminance 0.197; OKLCH L 61.3% C 0.242 H 321.6°. Best body text is #000000 at 4.93:1 contrast (WCAG AA passes).

Color values

HEX#C23CD8
RGBrgb(194, 60, 216)
HSLhsl(292, 67%, 54%)
HSVhsv(292, 72%, 85%)
CMYKcmyk(10.2%, 72.2%, 0%, 15.3%)
CIE-LABlab(51.45, 71.88, -53.68)
CIE-LCHlch(51.45, 89.71, 323.25°)
OKLaboklab(61.3% 0.1895 -0.1501)
OKLCHoklch(61.3% 0.242 321.6)
XYZxyz(36.2573, 19.6609, 66.8376)
Luminance0.1966 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C23CD8 #52D83C
analogous
#743CD8 #C23CD8 #D83CA0
triadic
#C23CD8 #D8C23C #3CD8C2
tetradic
#C23CD8 #D8743C #52D83C #3CA0D8
square
#C23CD8 #D8743C #52D83C #3CA0D8
split-complementary
#C23CD8 #A0D83C #3CD874
monochromatic
#721A80 #9F24B3 #C23CD8 #D26FE2 #E2A2EC

Accessibility & contrast

On white

4.26
#C23CD8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.93
#C23CD8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C23CD8
4.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C23CD8#FFFFFF#000000##000000
##C23CD81.004.264.934.93
#FFFFFF4.261.0021.0021.00
#0000004.9321.001.001.00
##0000004.9321.001.001.00

Color blindness preview

Protanopia (red-blind)
#0071DC
Deuteranopia (green-blind)
#5080D4
Tritanopia (blue-blind)
#C45A87
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #c23cd8;
/* rgb */ color: rgb(194, 60, 216);
/* oklch */ color: oklch(61.3% 0.242 321.6);
Tailwind
colors: {
  custom: {
    50: '#d97ee5',
    500: '#c23cd8',
    950: '#000000',
  },
}
SCSS
$custom: #c23cd8;
$custom-light: #d97ee5;
$custom-dark: #000000;
JSON
{
  "hex": "#c23cd8",
  "rgb": {
    "r": 194,
    "g": 60,
    "b": 216
  },
  "hsl": {
    "h": 291.538,
    "s": 66.667,
    "l": 54.118
  },
  "oklch": {
    "l": 0.61302,
    "c": 0.24176,
    "h": 321.6
  },
  "luminance": 0.19659
}

Semantic roles & 50–950 ramp

primary
#C23CD8
secondary
#A0D997
accent
#EA3E56
background
#FDF8FE
surface
#FBEFFC
border
#D4CAD5
text
#150B16
muted
#837C84

Preview Lab

Preview with #C23CD8

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

Preview Lab → · Contrast checker → · Palette generator →

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