#C838B5#C838B5

#C838B5 is a mid, highly saturated purple. Relative luminance 0.184; OKLCH L 59.9% C 0.222 H 333.9°. Best body text is #000000 at 4.69:1 contrast (WCAG AA passes).

Color values

HEX#C838B5
RGBrgb(200, 56, 181)
HSLhsl(308, 57%, 50%)
HSVhsv(308, 72%, 78%)
CMYKcmyk(0%, 72%, 9.5%, 21.6%)
CIE-LABlab(50.03, 68.82, -35.67)
CIE-LCHlch(50.03, 77.52, 332.60°)
OKLaboklab(59.86% 0.1996 -0.0977)
OKLCHoklch(59.86% 0.222 333.9)
XYZxyz(33.5744, 18.4468, 45.4994)
Luminance0.1844 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C838B5 #38C84B
analogous
#9338C8 #C838B5 #C8386D
triadic
#C838B5 #B5C838 #38B5C8
tetradic
#C838B5 #C89338 #38C84B #386DC8
square
#C838B5 #C89338 #38C84B #386DC8
split-complementary
#C838B5 #6DC838 #38C893
monochromatic
#691D5F #992A8A #C838B5 #D568C7 #E398D9

Accessibility & contrast

On white

4.48
#C838B5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.69
#C838B5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C838B5
4.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C838B5#FFFFFF#000000##000000
##C838B51.004.484.694.69
#FFFFFF4.481.0021.0021.00
#0000004.6921.001.001.00
##0000004.6921.001.001.00

Color blindness preview

Protanopia (red-blind)
#346AB8
Deuteranopia (green-blind)
#697EB2
Tritanopia (blue-blind)
#D14573
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #c838b5;
/* rgb */ color: rgb(200, 56, 181);
/* oklch */ color: oklch(59.9% 0.222 333.9);
Tailwind
colors: {
  custom: {
    50: '#dd7ccb',
    500: '#c838b5',
    950: '#000000',
  },
}
SCSS
$custom: #c838b5;
$custom-light: #dd7ccb;
$custom-dark: #000000;
JSON
{
  "hex": "#c838b5",
  "rgb": {
    "r": 200,
    "g": 56,
    "b": 181
  },
  "hsl": {
    "h": 307.917,
    "s": 56.693,
    "l": 50.196
  },
  "oklch": {
    "l": 0.59859,
    "c": 0.22218,
    "h": 333.9
  },
  "luminance": 0.18444
}

Semantic roles & 50–950 ramp

primary
#C838B5
secondary
#8ECE96
accent
#E05C48
background
#FEF8FC
surface
#FCEFF8
border
#D5CAD1
text
#160B13
muted
#847C82

Preview Lab

Preview with #C838B5

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

Preview Lab → · Contrast checker → · Palette generator →

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