#C238D4#C238D4

#C238D4 is a mid, highly saturated purple. Relative luminance 0.191; OKLCH L 60.7% C 0.243 H 322.8°. Best body text is #000000 at 4.81:1 contrast (WCAG AA passes).

Color values

HEX#C238D4
RGBrgb(194, 56, 212)
HSLhsl(293, 64%, 53%)
HSVhsv(293, 74%, 83%)
CMYKcmyk(8.5%, 73.6%, 0%, 16.9%)
CIE-LABlab(50.75, 72.52, -52.52)
CIE-LCHlch(50.75, 89.54, 324.09°)
OKLaboklab(60.73% 0.1934 -0.1467)
OKLCHoklch(60.73% 0.243 322.8)
XYZxyz(35.5448, 19.0532, 64.0800)
Luminance0.1905 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C238D4 #4AD438
analogous
#7438D4 #C238D4 #D43898
triadic
#C238D4 #D4C238 #38D4C2
tetradic
#C238D4 #D47438 #4AD438 #3898D4
square
#C238D4 #D47438 #4AD438 #3898D4
split-complementary
#C238D4 #98D438 #38D474
monochromatic
#6D1A78 #9B25AA #C238D4 #D16ADF #E19DEA

Accessibility & contrast

On white

4.37
#C238D4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.81
#C238D4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C238D4
4.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C238D4#FFFFFF#000000##000000
##C238D41.004.374.814.81
#FFFFFF4.371.0021.0021.00
#0000004.8121.001.001.00
##0000004.8121.001.001.00

Color blindness preview

Protanopia (red-blind)
#006FD8
Deuteranopia (green-blind)
#517ED0
Tritanopia (blue-blind)
#C55584
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #c238d4;
/* rgb */ color: rgb(194, 56, 212);
/* oklch */ color: oklch(60.7% 0.243 322.8);
Tailwind
colors: {
  custom: {
    50: '#d97de2',
    500: '#c238d4',
    950: '#000000',
  },
}
SCSS
$custom: #c238d4;
$custom-light: #d97de2;
$custom-dark: #000000;
JSON
{
  "hex": "#c238d4",
  "rgb": {
    "r": 194,
    "g": 56,
    "b": 212
  },
  "hsl": {
    "h": 293.077,
    "s": 64.463,
    "l": 52.549
  },
  "oklch": {
    "l": 0.60726,
    "c": 0.24272,
    "h": 322.8
  },
  "luminance": 0.19051
}

Semantic roles & 50–950 ramp

primary
#C238D4
secondary
#9AD692
accent
#E74054
background
#FDF8FD
surface
#FBEFFB
border
#D4CAD4
text
#150B15
muted
#837C83

Preview Lab

Preview with #C238D4

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

Preview Lab → · Contrast checker → · Palette generator →

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