#C838C2#C838C2

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

Color values

HEX#C838C2
RGBrgb(200, 56, 194)
HSLhsl(303, 57%, 50%)
HSVhsv(303, 72%, 78%)
CMYKcmyk(0%, 72%, 3%, 21.6%)
CIE-LABlab(50.69, 70.81, -42.19)
CIE-LCHlch(50.69, 82.43, 329.21°)
OKLaboklab(60.55% 0.2002 -0.1165)
OKLCHoklch(60.55% 0.232 329.8)
XYZxyz(34.9710, 19.0054, 52.8550)
Luminance0.1900 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C838C2 #38C83E
analogous
#8638C8 #C838C2 #C8387A
triadic
#C838C2 #C2C838 #38C2C8
tetradic
#C838C2 #C88638 #38C83E #387AC8
square
#C838C2 #C88638 #38C83E #387AC8
split-complementary
#C838C2 #7AC838 #38C886
monochromatic
#691D66 #992A94 #C838C2 #D568D1 #E398DF

Accessibility & contrast

On white

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

On black

4.80
#C838C2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C838C2
4.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C838C2#FFFFFF#000000##000000
##C838C21.004.374.804.80
#FFFFFF4.371.0021.0021.00
#0000004.8021.001.001.00
##0000004.8021.001.001.00

Color blindness preview

Protanopia (red-blind)
#266CC6
Deuteranopia (green-blind)
#627FBE
Tritanopia (blue-blind)
#CF4B7A
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #c838c2;
/* rgb */ color: rgb(200, 56, 194);
/* oklch */ color: oklch(60.5% 0.232 329.8);
Tailwind
colors: {
  custom: {
    50: '#dd7dd5',
    500: '#c838c2',
    950: '#000000',
  },
}
SCSS
$custom: #c838c2;
$custom-light: #dd7dd5;
$custom-dark: #000000;
JSON
{
  "hex": "#c838c2",
  "rgb": {
    "r": 200,
    "g": 56,
    "b": 194
  },
  "hsl": {
    "h": 302.5,
    "s": 56.693,
    "l": 50.196
  },
  "oklch": {
    "l": 0.60547,
    "c": 0.2316,
    "h": 329.8
  },
  "luminance": 0.19003
}

Semantic roles & 50–950 ramp

primary
#C838C2
secondary
#8ECE90
accent
#E04E48
background
#FEF8FD
surface
#FCEFFA
border
#D5CAD3
text
#160B14
muted
#847C83

Preview Lab

Preview with #C838C2

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

Preview Lab → · Contrast checker → · Palette generator →

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