#C238C2#C238C2

#C238C2 is a mid, highly saturated purple. Relative luminance 0.182; OKLCH L 59.7% C 0.229 H 328.0°. Best body text is #000000 at 4.64:1 contrast (WCAG AA passes).

Color values

HEX#C238C2
RGBrgb(194, 56, 194)
HSLhsl(300, 55%, 49%)
HSVhsv(300, 71%, 76%)
CMYKcmyk(0%, 71.1%, 0%, 23.9%)
CIE-LABlab(49.73, 69.51, -43.78)
CIE-LCHlch(49.73, 82.15, 327.80°)
OKLaboklab(59.67% 0.1939 -0.1212)
OKLCHoklch(59.67% 0.229 328)
XYZxyz(33.3995, 18.1951, 52.7813)
Luminance0.1819 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C238C2 #38C238
analogous
#7D38C2 #C238C2 #C2387D
triadic
#C238C2 #C2C238 #38C2C2
tetradic
#C238C2 #C27D38 #38C238 #387DC2
square
#C238C2 #C27D38 #38C238 #387DC2
split-complementary
#C238C2 #7DC238 #38C27D
monochromatic
#631D63 #932A93 #C238C2 #D265D2 #E094E0

Accessibility & contrast

On white

4.53
#C238C2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.64
#C238C2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C238C2
4.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C238C2#FFFFFF#000000##000000
##C238C21.004.534.644.64
#FFFFFF4.531.0021.0021.00
#0000004.6421.001.001.00
##0000004.6421.001.001.00

Color blindness preview

Protanopia (red-blind)
#1E6BC6
Deuteranopia (green-blind)
#5D7CBF
Tritanopia (blue-blind)
#C84D7A
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #c238c2;
/* rgb */ color: rgb(194, 56, 194);
/* oklch */ color: oklch(59.7% 0.229 328.0);
Tailwind
colors: {
  custom: {
    50: '#d87cd5',
    500: '#c238c2',
    950: '#000000',
  },
}
SCSS
$custom: #c238c2;
$custom-light: #d87cd5;
$custom-dark: #000000;
JSON
{
  "hex": "#c238c2",
  "rgb": {
    "r": 194,
    "g": 56,
    "b": 194
  },
  "hsl": {
    "h": 300,
    "s": 55.2,
    "l": 49.02
  },
  "oklch": {
    "l": 0.59672,
    "c": 0.22869,
    "h": 328
  },
  "luminance": 0.18193
}

Semantic roles & 50–950 ramp

primary
#C238C2
secondary
#8ACB8A
accent
#DF4949
background
#FDF8FD
surface
#FBEFFA
border
#D4CAD3
text
#150B14
muted
#837C83

Preview Lab

Preview with #C238C2

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

Preview Lab → · Contrast checker → · Palette generator →

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