#C838C4#C838C4

#C838C4 is a mid, highly saturated purple. Relative luminance 0.191; OKLCH L 60.7% C 0.233 H 329.2°. Best body text is #000000 at 4.82:1 contrast (WCAG AA passes).

Color values

HEX#C838C4
RGBrgb(200, 56, 196)
HSLhsl(302, 57%, 50%)
HSVhsv(302, 72%, 78%)
CMYKcmyk(0%, 72%, 2%, 21.6%)
CIE-LABlab(50.80, 71.13, -43.18)
CIE-LCHlch(50.80, 83.21, 328.74°)
OKLaboklab(60.66% 0.2002 -0.1194)
OKLCHoklch(60.66% 0.233 329.2)
XYZxyz(35.1971, 19.0959, 54.0459)
Luminance0.1909 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C838C4 #38C83C
analogous
#8438C8 #C838C4 #C8387C
triadic
#C838C4 #C4C838 #38C4C8
tetradic
#C838C4 #C88438 #38C83C #387CC8
square
#C838C4 #C88438 #38C83C #387CC8
split-complementary
#C838C4 #7CC838 #38C884
monochromatic
#691D67 #992A96 #C838C4 #D568D2 #E398E0

Accessibility & contrast

On white

4.36
#C838C4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.82
#C838C4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C838C4
4.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C838C4#FFFFFF#000000##000000
##C838C41.004.364.824.82
#FFFFFF4.361.0021.0021.00
#0000004.8221.001.001.00
##0000004.8221.001.001.00

Color blindness preview

Protanopia (red-blind)
#236DC8
Deuteranopia (green-blind)
#6180C0
Tritanopia (blue-blind)
#CF4C7B
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #c838c4;
/* rgb */ color: rgb(200, 56, 196);
/* oklch */ color: oklch(60.7% 0.233 329.2);
Tailwind
colors: {
  custom: {
    50: '#dd7dd6',
    500: '#c838c4',
    950: '#000000',
  },
}
SCSS
$custom: #c838c4;
$custom-light: #dd7dd6;
$custom-dark: #000000;
JSON
{
  "hex": "#c838c4",
  "rgb": {
    "r": 200,
    "g": 56,
    "b": 196
  },
  "hsl": {
    "h": 301.667,
    "s": 56.693,
    "l": 50.196
  },
  "oklch": {
    "l": 0.60657,
    "c": 0.23308,
    "h": 329.2
  },
  "luminance": 0.19093
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #C838C4

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

Preview Lab → · Contrast checker → · Palette generator →

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