#C838C7#C838C7

#C838C7 is a mid, highly saturated purple. Relative luminance 0.192; OKLCH L 60.8% C 0.235 H 328.3°. Best body text is #000000 at 4.85:1 contrast (WCAG AA passes).

Color values

HEX#C838C7
RGBrgb(200, 56, 199)
HSLhsl(300, 57%, 50%)
HSVhsv(300, 72%, 78%)
CMYKcmyk(0%, 72%, 0.5%, 21.6%)
CIE-LABlab(50.96, 71.60, -44.66)
CIE-LCHlch(50.96, 84.39, 328.05°)
OKLaboklab(60.82% 0.2002 -0.1237)
OKLCHoklch(60.82% 0.235 328.3)
XYZxyz(35.5420, 19.2338, 55.8623)
Luminance0.1923 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C838C7 #38C839
analogous
#8138C8 #C838C7 #C8387F
triadic
#C838C7 #C7C838 #38C7C8
tetradic
#C838C7 #C88138 #38C839 #387FC8
square
#C838C7 #C88138 #38C839 #387FC8
split-complementary
#C838C7 #7FC838 #38C881
monochromatic
#691D68 #992A98 #C838C7 #D568D4 #E398E2

Accessibility & contrast

On white

4.33
#C838C7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.85
#C838C7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C838C7
4.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C838C7#FFFFFF#000000##000000
##C838C71.004.334.854.85
#FFFFFF4.331.0021.0021.00
#0000004.8521.001.001.00
##0000004.8521.001.001.00

Color blindness preview

Protanopia (red-blind)
#1D6DCB
Deuteranopia (green-blind)
#6080C3
Tritanopia (blue-blind)
#CE4E7D
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #c838c7;
/* rgb */ color: rgb(200, 56, 199);
/* oklch */ color: oklch(60.8% 0.235 328.3);
Tailwind
colors: {
  custom: {
    50: '#dd7dd8',
    500: '#c838c7',
    950: '#000000',
  },
}
SCSS
$custom: #c838c7;
$custom-light: #dd7dd8;
$custom-dark: #000000;
JSON
{
  "hex": "#c838c7",
  "rgb": {
    "r": 200,
    "g": 56,
    "b": 199
  },
  "hsl": {
    "h": 300.417,
    "s": 56.693,
    "l": 50.196
  },
  "oklch": {
    "l": 0.60824,
    "c": 0.23533,
    "h": 328.3
  },
  "luminance": 0.19231
}

Semantic roles & 50–950 ramp

primary
#C838C7
secondary
#8ECE8E
accent
#E04948
background
#FEF8FD
surface
#FCEFFA
border
#D5CAD3
text
#160B14
muted
#847C83

Preview Lab

Preview with #C838C7

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

Preview Lab → · Contrast checker → · Palette generator →

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