#C23EC8#C23EC8

#C23EC8 is a mid, highly saturated purple. Relative luminance 0.191; OKLCH L 60.5% C 0.227 H 326.1°. Best body text is #000000 at 4.82:1 contrast (WCAG AA passes).

Color values

HEX#C23EC8
RGBrgb(194, 62, 200)
HSLhsl(297, 56%, 51%)
HSVhsv(297, 69%, 78%)
CMYKcmyk(3%, 69%, 0%, 21.6%)
CIE-LABlab(50.79, 68.42, -45.57)
CIE-LCHlch(50.79, 82.21, 326.34°)
OKLaboklab(60.54% 0.1881 -0.1265)
OKLCHoklch(60.54% 0.227 326.1)
XYZxyz(34.3954, 19.0870, 56.5049)
Luminance0.1908 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C23EC8 #44C83E
analogous
#7D3EC8 #C23EC8 #C83E89
triadic
#C23EC8 #C8C23E #3EC8C2
tetradic
#C23EC8 #C87D3E #44C83E #3E89C8
square
#C23EC8 #C87D3E #44C83E #3E89C8
split-complementary
#C23EC8 #89C83E #3EC87D
monochromatic
#691F6D #972D9C #C23EC8 #D16ED6 #E09DE3

Accessibility & contrast

On white

4.36
#C23EC8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.82
#C23EC8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C23EC8
4.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C23EC8#FFFFFF#000000##000000
##C23EC81.004.364.824.82
#FFFFFF4.361.0021.0021.00
#0000004.8221.001.001.00
##0000004.8221.001.001.00

Color blindness preview

Protanopia (red-blind)
#206ECC
Deuteranopia (green-blind)
#5C7FC5
Tritanopia (blue-blind)
#C7547F
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #c23ec8;
/* rgb */ color: rgb(194, 62, 200);
/* oklch */ color: oklch(60.5% 0.227 326.1);
Tailwind
colors: {
  custom: {
    50: '#d87fd9',
    500: '#c23ec8',
    950: '#000000',
  },
}
SCSS
$custom: #c23ec8;
$custom-light: #d87fd9;
$custom-dark: #000000;
JSON
{
  "hex": "#c23ec8",
  "rgb": {
    "r": 194,
    "g": 62,
    "b": 200
  },
  "hsl": {
    "h": 297.391,
    "s": 55.645,
    "l": 51.373
  },
  "oklch": {
    "l": 0.60536,
    "c": 0.22666,
    "h": 326.1
  },
  "luminance": 0.19085
}

Semantic roles & 50–950 ramp

primary
#C23EC8
secondary
#95CF92
accent
#DF494F
background
#FDF8FD
surface
#FBEFFA
border
#D4CAD3
text
#150B15
muted
#837C83

Preview Lab

Preview with #C23EC8

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

Preview Lab → · Contrast checker → · Palette generator →

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