#C838B3#C838B3

#C838B3 is a mid, highly saturated purple. Relative luminance 0.184; OKLCH L 59.8% C 0.221 H 334.6°. Best body text is #000000 at 4.67:1 contrast (WCAG AA passes).

Color values

HEX#C838B3
RGBrgb(200, 56, 179)
HSLhsl(309, 57%, 50%)
HSVhsv(309, 72%, 78%)
CMYKcmyk(0%, 72%, 10.5%, 21.6%)
CIE-LABlab(49.94, 68.52, -34.66)
CIE-LCHlch(49.94, 76.79, 333.17°)
OKLaboklab(59.76% 0.1994 -0.0948)
OKLCHoklch(59.76% 0.221 334.6)
XYZxyz(33.3706, 18.3653, 44.4264)
Luminance0.1836 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C838B3 #38C84D
analogous
#9538C8 #C838B3 #C8386B
triadic
#C838B3 #B3C838 #38B3C8
tetradic
#C838B3 #C89538 #38C84D #386BC8
square
#C838B3 #C89538 #38C84D #386BC8
split-complementary
#C838B3 #6BC838 #38C895
monochromatic
#691D5E #992A89 #C838B3 #D568C5 #E398D8

Accessibility & contrast

On white

4.49
#C838B3 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.67
#C838B3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C838B3
4.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C838B3#FFFFFF#000000##000000
##C838B31.004.494.674.67
#FFFFFF4.491.0021.0021.00
#0000004.6721.001.001.00
##0000004.6721.001.001.00

Color blindness preview

Protanopia (red-blind)
#3669B6
Deuteranopia (green-blind)
#6A7EB0
Tritanopia (blue-blind)
#D24472
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #c838b3;
/* rgb */ color: rgb(200, 56, 179);
/* oklch */ color: oklch(59.8% 0.221 334.6);
Tailwind
colors: {
  custom: {
    50: '#dd7cca',
    500: '#c838b3',
    950: '#000000',
  },
}
SCSS
$custom: #c838b3;
$custom-light: #dd7cca;
$custom-dark: #000000;
JSON
{
  "hex": "#c838b3",
  "rgb": {
    "r": 200,
    "g": 56,
    "b": 179
  },
  "hsl": {
    "h": 308.75,
    "s": 56.693,
    "l": 50.196
  },
  "oklch": {
    "l": 0.59757,
    "c": 0.22077,
    "h": 334.6
  },
  "luminance": 0.18362
}

Semantic roles & 50–950 ramp

primary
#C838B3
secondary
#8ECE97
accent
#E05E48
background
#FEF8FC
surface
#FCEFF8
border
#D5CAD1
text
#160B13
muted
#847C82

Preview Lab

Preview with #C838B3

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

Preview Lab → · Contrast checker → · Palette generator →

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