#C838C0#C838C0

#C838C0 is a mid, highly saturated purple. Relative luminance 0.189; OKLCH L 60.4% C 0.230 H 330.4°. Best body text is #000000 at 4.78:1 contrast (WCAG AA passes).

Color values

HEX#C838C0
RGBrgb(200, 56, 192)
HSLhsl(303, 57%, 50%)
HSVhsv(303, 72%, 78%)
CMYKcmyk(0%, 72%, 4%, 21.6%)
CIE-LABlab(50.59, 70.50, -41.20)
CIE-LCHlch(50.59, 81.65, 329.70°)
OKLaboklab(60.44% 0.2001 -0.1136)
OKLCHoklch(60.44% 0.23 330.4)
XYZxyz(34.7479, 18.9162, 51.6800)
Luminance0.1891 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C838C0 #38C840
analogous
#8838C8 #C838C0 #C83878
triadic
#C838C0 #C0C838 #38C0C8
tetradic
#C838C0 #C88838 #38C840 #3878C8
square
#C838C0 #C88838 #38C840 #3878C8
split-complementary
#C838C0 #78C838 #38C888
monochromatic
#691D64 #992A92 #C838C0 #D568CF #E398DE

Accessibility & contrast

On white

4.39
#C838C0 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.78
#C838C0 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C838C0
4.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C838C0#FFFFFF#000000##000000
##C838C01.004.394.784.78
#FFFFFF4.391.0021.0021.00
#0000004.7821.001.001.00
##0000004.7821.001.001.00

Color blindness preview

Protanopia (red-blind)
#286CC4
Deuteranopia (green-blind)
#637FBC
Tritanopia (blue-blind)
#D04A79
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #c838c0;
/* rgb */ color: rgb(200, 56, 192);
/* oklch */ color: oklch(60.4% 0.230 330.4);
Tailwind
colors: {
  custom: {
    50: '#dd7dd3',
    500: '#c838c0',
    950: '#000000',
  },
}
SCSS
$custom: #c838c0;
$custom-light: #dd7dd3;
$custom-dark: #000000;
JSON
{
  "hex": "#c838c0",
  "rgb": {
    "r": 200,
    "g": 56,
    "b": 192
  },
  "hsl": {
    "h": 303.333,
    "s": 56.693,
    "l": 50.196
  },
  "oklch": {
    "l": 0.60439,
    "c": 0.23012,
    "h": 330.4
  },
  "luminance": 0.18913
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #C838C0

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

Preview Lab → · Contrast checker → · Palette generator →

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