#C838B6#C838B6

#C838B6 is a mid, highly saturated purple. Relative luminance 0.185; OKLCH L 59.9% C 0.223 H 333.6°. Best body text is #000000 at 4.70:1 contrast (WCAG AA passes).

Color values

HEX#C838B6
RGBrgb(200, 56, 182)
HSLhsl(308, 57%, 50%)
HSVhsv(308, 72%, 78%)
CMYKcmyk(0%, 72%, 9%, 21.6%)
CIE-LABlab(50.08, 68.97, -36.18)
CIE-LCHlch(50.08, 77.88, 332.32°)
OKLaboklab(59.91% 0.1996 -0.0991)
OKLCHoklch(59.91% 0.223 333.6)
XYZxyz(33.6773, 18.4880, 46.0417)
Luminance0.1848 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C838B6 #38C84A
analogous
#9238C8 #C838B6 #C8386E
triadic
#C838B6 #B6C838 #38B6C8
tetradic
#C838B6 #C89238 #38C84A #386EC8
square
#C838B6 #C89238 #38C84A #386EC8
split-complementary
#C838B6 #6EC838 #38C892
monochromatic
#691D5F #992A8B #C838B6 #D568C8 #E398D9

Accessibility & contrast

On white

4.47
#C838B6 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.70
#C838B6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C838B6
4.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C838B6#FFFFFF#000000##000000
##C838B61.004.474.704.70
#FFFFFF4.471.0021.0021.00
#0000004.7021.001.001.00
##0000004.7021.001.001.00

Color blindness preview

Protanopia (red-blind)
#346AB9
Deuteranopia (green-blind)
#687FB3
Tritanopia (blue-blind)
#D14673
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #c838b6;
/* rgb */ color: rgb(200, 56, 182);
/* oklch */ color: oklch(59.9% 0.223 333.6);
Tailwind
colors: {
  custom: {
    50: '#dd7ccc',
    500: '#c838b6',
    950: '#000000',
  },
}
SCSS
$custom: #c838b6;
$custom-light: #dd7ccc;
$custom-dark: #000000;
JSON
{
  "hex": "#c838b6",
  "rgb": {
    "r": 200,
    "g": 56,
    "b": 182
  },
  "hsl": {
    "h": 307.5,
    "s": 56.693,
    "l": 50.196
  },
  "oklch": {
    "l": 0.5991,
    "c": 0.22289,
    "h": 333.6
  },
  "luminance": 0.18485
}

Semantic roles & 50–950 ramp

primary
#C838B6
secondary
#8ECE96
accent
#E05B48
background
#FEF8FC
surface
#FCEFF9
border
#D5CAD2
text
#160B13
muted
#847C82

Preview Lab

Preview with #C838B6

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

Preview Lab → · Contrast checker → · Palette generator →

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