#C838C1#C838C1

#C838C1 is a mid, highly saturated purple. Relative luminance 0.190; OKLCH L 60.5% C 0.231 H 330.1°. Best body text is #000000 at 4.79:1 contrast (WCAG AA passes).

Color values

HEX#C838C1
RGBrgb(200, 56, 193)
HSLhsl(303, 57%, 50%)
HSVhsv(303, 72%, 78%)
CMYKcmyk(0%, 72%, 3.5%, 21.6%)
CIE-LABlab(50.64, 70.65, -41.70)
CIE-LCHlch(50.64, 82.04, 329.45°)
OKLaboklab(60.49% 0.2001 -0.1151)
OKLCHoklch(60.49% 0.231 330.1)
XYZxyz(34.8591, 18.9607, 52.2655)
Luminance0.1896 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C838C1 #38C83F
analogous
#8738C8 #C838C1 #C83879
triadic
#C838C1 #C1C838 #38C1C8
tetradic
#C838C1 #C88738 #38C83F #3879C8
square
#C838C1 #C88738 #38C83F #3879C8
split-complementary
#C838C1 #79C838 #38C887
monochromatic
#691D65 #992A93 #C838C1 #D568D0 #E398DF

Accessibility & contrast

On white

4.38
#C838C1 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.79
#C838C1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C838C1
4.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C838C1#FFFFFF#000000##000000
##C838C11.004.384.794.79
#FFFFFF4.381.0021.0021.00
#0000004.7921.001.001.00
##0000004.7921.001.001.00

Color blindness preview

Protanopia (red-blind)
#276CC5
Deuteranopia (green-blind)
#637FBD
Tritanopia (blue-blind)
#CF4B79
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #c838c1;
/* rgb */ color: rgb(200, 56, 193);
/* oklch */ color: oklch(60.5% 0.231 330.1);
Tailwind
colors: {
  custom: {
    50: '#dd7dd4',
    500: '#c838c1',
    950: '#000000',
  },
}
SCSS
$custom: #c838c1;
$custom-light: #dd7dd4;
$custom-dark: #000000;
JSON
{
  "hex": "#c838c1",
  "rgb": {
    "r": 200,
    "g": 56,
    "b": 193
  },
  "hsl": {
    "h": 302.917,
    "s": 56.693,
    "l": 50.196
  },
  "oklch": {
    "l": 0.60493,
    "c": 0.23086,
    "h": 330.1
  },
  "luminance": 0.18958
}

Semantic roles & 50–950 ramp

primary
#C838C1
secondary
#8ECE91
accent
#E04F48
background
#FEF8FD
surface
#FCEFFA
border
#D5CAD3
text
#160B14
muted
#847C83

Preview Lab

Preview with #C838C1

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

Preview Lab → · Contrast checker → · Palette generator →

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