#C838C3#C838C3

#C838C3 is a mid, highly saturated purple. Relative luminance 0.190; OKLCH L 60.6% C 0.232 H 329.5°. Best body text is #000000 at 4.81:1 contrast (WCAG AA passes).

Color values

HEX#C838C3
RGBrgb(200, 56, 195)
HSLhsl(302, 57%, 50%)
HSVhsv(302, 72%, 78%)
CMYKcmyk(0%, 72%, 2.5%, 21.6%)
CIE-LABlab(50.75, 70.97, -42.69)
CIE-LCHlch(50.75, 82.82, 328.97°)
OKLaboklab(60.6% 0.2002 -0.1179)
OKLCHoklch(60.6% 0.232 329.5)
XYZxyz(35.0837, 19.0505, 53.4485)
Luminance0.1905 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C838C3 #38C83D
analogous
#8538C8 #C838C3 #C8387B
triadic
#C838C3 #C3C838 #38C3C8
tetradic
#C838C3 #C88538 #38C83D #387BC8
square
#C838C3 #C88538 #38C83D #387BC8
split-complementary
#C838C3 #7BC838 #38C885
monochromatic
#691D66 #992A95 #C838C3 #D568D1 #E398E0

Accessibility & contrast

On white

4.37
#C838C3 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.81
#C838C3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C838C3
4.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C838C3#FFFFFF#000000##000000
##C838C31.004.374.814.81
#FFFFFF4.371.0021.0021.00
#0000004.8121.001.001.00
##0000004.8121.001.001.00

Color blindness preview

Protanopia (red-blind)
#246CC7
Deuteranopia (green-blind)
#6280BF
Tritanopia (blue-blind)
#CF4C7A
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #c838c3;
/* rgb */ color: rgb(200, 56, 195);
/* oklch */ color: oklch(60.6% 0.232 329.5);
Tailwind
colors: {
  custom: {
    50: '#dd7dd5',
    500: '#c838c3',
    950: '#000000',
  },
}
SCSS
$custom: #c838c3;
$custom-light: #dd7dd5;
$custom-dark: #000000;
JSON
{
  "hex": "#c838c3",
  "rgb": {
    "r": 200,
    "g": 56,
    "b": 195
  },
  "hsl": {
    "h": 302.083,
    "s": 56.693,
    "l": 50.196
  },
  "oklch": {
    "l": 0.60602,
    "c": 0.23234,
    "h": 329.5
  },
  "luminance": 0.19048
}

Semantic roles & 50–950 ramp

primary
#C838C3
secondary
#8ECE90
accent
#E04D48
background
#FEF8FD
surface
#FCEFFA
border
#D5CAD3
text
#160B14
muted
#847C83

Preview Lab

Preview with #C838C3

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

Preview Lab → · Contrast checker → · Palette generator →

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