#C838C5#C838C5

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

Color values

HEX#C838C5
RGBrgb(200, 56, 197)
HSLhsl(301, 57%, 50%)
HSVhsv(301, 72%, 78%)
CMYKcmyk(0%, 72%, 1.5%, 21.6%)
CIE-LABlab(50.85, 71.28, -43.68)
CIE-LCHlch(50.85, 83.60, 328.50°)
OKLaboklab(60.71% 0.2002 -0.1208)
OKLCHoklch(60.71% 0.234 328.9)
XYZxyz(35.3113, 19.1416, 54.6474)
Luminance0.1914 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C838C5 #38C83B
analogous
#8338C8 #C838C5 #C8387D
triadic
#C838C5 #C5C838 #38C5C8
tetradic
#C838C5 #C88338 #38C83B #387DC8
square
#C838C5 #C88338 #38C83B #387DC8
split-complementary
#C838C5 #7DC838 #38C883
monochromatic
#691D67 #992A96 #C838C5 #D568D3 #E398E1

Accessibility & contrast

On white

4.35
#C838C5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.83
#C838C5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C838C5
4.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C838C5#FFFFFF#000000##000000
##C838C51.004.354.834.83
#FFFFFF4.351.0021.0021.00
#0000004.8321.001.001.00
##0000004.8321.001.001.00

Color blindness preview

Protanopia (red-blind)
#216DC9
Deuteranopia (green-blind)
#6180C1
Tritanopia (blue-blind)
#CF4D7B
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #c838c5;
/* rgb */ color: rgb(200, 56, 197);
/* oklch */ color: oklch(60.7% 0.234 328.9);
Tailwind
colors: {
  custom: {
    50: '#dd7dd7',
    500: '#c838c5',
    950: '#000000',
  },
}
SCSS
$custom: #c838c5;
$custom-light: #dd7dd7;
$custom-dark: #000000;
JSON
{
  "hex": "#c838c5",
  "rgb": {
    "r": 200,
    "g": 56,
    "b": 197
  },
  "hsl": {
    "h": 301.25,
    "s": 56.693,
    "l": 50.196
  },
  "oklch": {
    "l": 0.60713,
    "c": 0.23384,
    "h": 328.9
  },
  "luminance": 0.19139
}

Semantic roles & 50–950 ramp

primary
#C838C5
secondary
#8ECE8F
accent
#E04B48
background
#FEF8FD
surface
#FCEFFA
border
#D5CAD3
text
#160B14
muted
#847C83

Preview Lab

Preview with #C838C5

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

Preview Lab → · Contrast checker → · Palette generator →

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