#C838B9#C838B9

#C838B9 is a mid, highly saturated purple. Relative luminance 0.186; OKLCH L 60.1% C 0.225 H 332.6°. Best body text is #000000 at 4.72:1 contrast (WCAG AA passes).

Color values

HEX#C838B9
RGBrgb(200, 56, 185)
HSLhsl(306, 57%, 50%)
HSVhsv(306, 72%, 78%)
CMYKcmyk(0%, 72%, 7.5%, 21.6%)
CIE-LABlab(50.23, 69.42, -37.70)
CIE-LCHlch(50.23, 79.00, 331.50°)
OKLaboklab(60.07% 0.1998 -0.1035)
OKLCHoklch(60.07% 0.225 332.6)
XYZxyz(33.9907, 18.6133, 47.6920)
Luminance0.1861 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C838B9 #38C847
analogous
#8F38C8 #C838B9 #C83871
triadic
#C838B9 #B9C838 #38B9C8
tetradic
#C838B9 #C88F38 #38C847 #3871C8
square
#C838B9 #C88F38 #38C847 #3871C8
split-complementary
#C838B9 #71C838 #38C88F
monochromatic
#691D61 #992A8D #C838B9 #D568CA #E398DB

Accessibility & contrast

On white

4.45
#C838B9 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.72
#C838B9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C838B9
4.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C838B9#FFFFFF#000000##000000
##C838B91.004.454.724.72
#FFFFFF4.451.0021.0021.00
#0000004.7221.001.001.00
##0000004.7221.001.001.00

Color blindness preview

Protanopia (red-blind)
#316ABD
Deuteranopia (green-blind)
#677FB5
Tritanopia (blue-blind)
#D14775
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #c838b9;
/* rgb */ color: rgb(200, 56, 185);
/* oklch */ color: oklch(60.1% 0.225 332.6);
Tailwind
colors: {
  custom: {
    50: '#dd7cce',
    500: '#c838b9',
    950: '#000000',
  },
}
SCSS
$custom: #c838b9;
$custom-light: #dd7cce;
$custom-dark: #000000;
JSON
{
  "hex": "#c838b9",
  "rgb": {
    "r": 200,
    "g": 56,
    "b": 185
  },
  "hsl": {
    "h": 306.25,
    "s": 56.693,
    "l": 50.196
  },
  "oklch": {
    "l": 0.60066,
    "c": 0.22503,
    "h": 332.6
  },
  "luminance": 0.1861
}

Semantic roles & 50–950 ramp

primary
#C838B9
secondary
#8ECE94
accent
#E05848
background
#FEF8FC
surface
#FCEFF9
border
#D5CAD2
text
#160B14
muted
#847C82

Preview Lab

Preview with #C838B9

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

Preview Lab → · Contrast checker → · Palette generator →

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