#C838BE#C838BE

#C838BE is a mid, highly saturated purple. Relative luminance 0.188; OKLCH L 60.3% C 0.229 H 331.0°. Best body text is #000000 at 4.76:1 contrast (WCAG AA passes).

Color values

HEX#C838BE
RGBrgb(200, 56, 190)
HSLhsl(304, 57%, 50%)
HSVhsv(304, 72%, 78%)
CMYKcmyk(0%, 72%, 5%, 21.6%)
CIE-LABlab(50.49, 70.19, -40.20)
CIE-LCHlch(50.49, 80.89, 330.20°)
OKLaboklab(60.33% 0.2 -0.1107)
OKLCHoklch(60.33% 0.229 331)
XYZxyz(34.5278, 18.8281, 50.5209)
Luminance0.1883 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C838BE #38C842
analogous
#8A38C8 #C838BE #C83876
triadic
#C838BE #BEC838 #38BEC8
tetradic
#C838BE #C88A38 #38C842 #3876C8
square
#C838BE #C88A38 #38C842 #3876C8
split-complementary
#C838BE #76C838 #38C88A
monochromatic
#691D63 #992A91 #C838BE #D568CE #E398DD

Accessibility & contrast

On white

4.41
#C838BE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.76
#C838BE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C838BE
4.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C838BE#FFFFFF#000000##000000
##C838BE1.004.414.764.76
#FFFFFF4.411.0021.0021.00
#0000004.7621.001.001.00
##0000004.7621.001.001.00

Color blindness preview

Protanopia (red-blind)
#2B6BC2
Deuteranopia (green-blind)
#657FBA
Tritanopia (blue-blind)
#D04978
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #c838be;
/* rgb */ color: rgb(200, 56, 190);
/* oklch */ color: oklch(60.3% 0.229 331.0);
Tailwind
colors: {
  custom: {
    50: '#dd7cd2',
    500: '#c838be',
    950: '#000000',
  },
}
SCSS
$custom: #c838be;
$custom-light: #dd7cd2;
$custom-dark: #000000;
JSON
{
  "hex": "#c838be",
  "rgb": {
    "r": 200,
    "g": 56,
    "b": 190
  },
  "hsl": {
    "h": 304.167,
    "s": 56.693,
    "l": 50.196
  },
  "oklch": {
    "l": 0.60331,
    "c": 0.22865,
    "h": 331
  },
  "luminance": 0.18825
}

Semantic roles & 50–950 ramp

primary
#C838BE
secondary
#8ECE92
accent
#E05248
background
#FEF8FC
surface
#FCEFF9
border
#D5CAD2
text
#160B14
muted
#847C82

Preview Lab

Preview with #C838BE

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

Preview Lab → · Contrast checker → · Palette generator →

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