#C238C5#C238C5

#C238C5 is a mid, highly saturated purple. Relative luminance 0.183; OKLCH L 59.8% C 0.231 H 327.1°. Best body text is #000000 at 4.67:1 contrast (WCAG AA passes).

Color values

HEX#C238C5
RGBrgb(194, 56, 197)
HSLhsl(299, 56%, 50%)
HSVhsv(299, 72%, 77%)
CMYKcmyk(1.5%, 71.6%, 0%, 22.7%)
CIE-LABlab(49.90, 70.00, -45.26)
CIE-LCHlch(49.90, 83.35, 327.12°)
OKLaboklab(59.84% 0.1939 -0.1255)
OKLCHoklch(59.84% 0.231 327.1)
XYZxyz(33.7398, 18.3312, 54.5737)
Luminance0.1833 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C238C5 #3BC538
analogous
#7B38C5 #C238C5 #C53882
triadic
#C238C5 #C5C238 #38C5C2
tetradic
#C238C5 #C57B38 #3BC538 #3882C5
square
#C238C5 #C57B38 #3BC538 #3882C5
split-complementary
#C238C5 #82C538 #38C57B
monochromatic
#641D66 #932A95 #C238C5 #D167D4 #E096E1

Accessibility & contrast

On white

4.50
#C238C5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.67
#C238C5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C238C5
4.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C238C5#FFFFFF#000000##000000
##C238C51.004.504.674.67
#FFFFFF4.501.0021.0021.00
#0000004.6721.001.001.00
##0000004.6721.001.001.00

Color blindness preview

Protanopia (red-blind)
#186BC9
Deuteranopia (green-blind)
#5B7DC1
Tritanopia (blue-blind)
#C84E7B
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #c238c5;
/* rgb */ color: rgb(194, 56, 197);
/* oklch */ color: oklch(59.8% 0.231 327.1);
Tailwind
colors: {
  custom: {
    50: '#d87cd7',
    500: '#c238c5',
    950: '#000000',
  },
}
SCSS
$custom: #c238c5;
$custom-light: #d87cd7;
$custom-dark: #000000;
JSON
{
  "hex": "#c238c5",
  "rgb": {
    "r": 194,
    "g": 56,
    "b": 197
  },
  "hsl": {
    "h": 298.723,
    "s": 55.731,
    "l": 49.608
  },
  "oklch": {
    "l": 0.59842,
    "c": 0.23098,
    "h": 327.1
  },
  "luminance": 0.18329
}

Semantic roles & 50–950 ramp

primary
#C238C5
secondary
#8ECD8C
accent
#DF494C
background
#FDF8FD
surface
#FBEFFA
border
#D4CAD3
text
#150B14
muted
#837C83

Preview Lab

Preview with #C238C5

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

Preview Lab → · Contrast checker → · Palette generator →

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