#C838B8#C838B8

#C838B8 is a mid, highly saturated purple. Relative luminance 0.186; OKLCH L 60.0% C 0.224 H 332.9°. Best body text is #000000 at 4.71:1 contrast (WCAG AA passes).

Color values

HEX#C838B8
RGBrgb(200, 56, 184)
HSLhsl(307, 57%, 50%)
HSVhsv(307, 72%, 78%)
CMYKcmyk(0%, 72%, 8%, 21.6%)
CIE-LABlab(50.18, 69.27, -37.19)
CIE-LCHlch(50.18, 78.62, 331.77°)
OKLaboklab(60.01% 0.1998 -0.1021)
OKLCHoklch(60.01% 0.224 332.9)
XYZxyz(33.8855, 18.5712, 47.1380)
Luminance0.1857 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C838B8 #38C848
analogous
#9038C8 #C838B8 #C83870
triadic
#C838B8 #B8C838 #38B8C8
tetradic
#C838B8 #C89038 #38C848 #3870C8
square
#C838B8 #C89038 #38C848 #3870C8
split-complementary
#C838B8 #70C838 #38C890
monochromatic
#691D60 #992A8C #C838B8 #D568C9 #E398DA

Accessibility & contrast

On white

4.46
#C838B8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.71
#C838B8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C838B8
4.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C838B8#FFFFFF#000000##000000
##C838B81.004.464.714.71
#FFFFFF4.461.0021.0021.00
#0000004.7121.001.001.00
##0000004.7121.001.001.00

Color blindness preview

Protanopia (red-blind)
#326ABC
Deuteranopia (green-blind)
#677FB5
Tritanopia (blue-blind)
#D14774
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #c838b8;
/* rgb */ color: rgb(200, 56, 184);
/* oklch */ color: oklch(60.0% 0.224 332.9);
Tailwind
colors: {
  custom: {
    50: '#dd7cce',
    500: '#c838b8',
    950: '#000000',
  },
}
SCSS
$custom: #c838b8;
$custom-light: #dd7cce;
$custom-dark: #000000;
JSON
{
  "hex": "#c838b8",
  "rgb": {
    "r": 200,
    "g": 56,
    "b": 184
  },
  "hsl": {
    "h": 306.667,
    "s": 56.693,
    "l": 50.196
  },
  "oklch": {
    "l": 0.60014,
    "c": 0.22431,
    "h": 332.9
  },
  "luminance": 0.18568
}

Semantic roles & 50–950 ramp

primary
#C838B8
secondary
#8ECE95
accent
#E05948
background
#FEF8FC
surface
#FCEFF9
border
#D5CAD2
text
#160B13
muted
#847C82

Preview Lab

Preview with #C838B8

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

Preview Lab → · Contrast checker → · Palette generator →

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