#C838CB#C838CB

#C838CB is a mid, highly saturated purple. Relative luminance 0.194; OKLCH L 61.1% C 0.238 H 327.1°. Best body text is #000000 at 4.88:1 contrast (WCAG AA passes).

Color values

HEX#C838CB
RGBrgb(200, 56, 203)
HSLhsl(299, 59%, 51%)
HSVhsv(299, 72%, 80%)
CMYKcmyk(1.5%, 72.4%, 0%, 20.4%)
CIE-LABlab(51.18, 72.25, -46.62)
CIE-LCHlch(51.18, 85.98, 327.17°)
OKLaboklab(61.05% 0.2002 -0.1294)
OKLCHoklch(61.05% 0.238 327.1)
XYZxyz(36.0125, 19.4220, 58.3404)
Luminance0.1942 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C838CB #3BCB38
analogous
#7F38CB #C838CB #CB3884
triadic
#C838CB #CBC838 #38CBC8
tetradic
#C838CB #CB7F38 #3BCB38 #3884CB
square
#C838CB #CB7F38 #3BCB38 #3884CB
split-complementary
#C838CB #84CB38 #38CB7F
monochromatic
#6B1C6C #9A299D #C838CB #D569D8 #E399E4

Accessibility & contrast

On white

4.30
#C838CB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.88
#C838CB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C838CB
4.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C838CB#FFFFFF#000000##000000
##C838CB1.004.304.884.88
#FFFFFF4.301.0021.0021.00
#0000004.8821.001.001.00
##0000004.8821.001.001.00

Color blindness preview

Protanopia (red-blind)
#146ECF
Deuteranopia (green-blind)
#5D80C7
Tritanopia (blue-blind)
#CE507F
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #c838cb;
/* rgb */ color: rgb(200, 56, 203);
/* oklch */ color: oklch(61.1% 0.238 327.1);
Tailwind
colors: {
  custom: {
    50: '#dd7ddb',
    500: '#c838cb',
    950: '#000000',
  },
}
SCSS
$custom: #c838cb;
$custom-light: #dd7ddb;
$custom-dark: #000000;
JSON
{
  "hex": "#c838cb",
  "rgb": {
    "r": 200,
    "g": 56,
    "b": 203
  },
  "hsl": {
    "h": 298.776,
    "s": 58.566,
    "l": 50.784
  },
  "oklch": {
    "l": 0.6105,
    "c": 0.23835,
    "h": 327.1
  },
  "luminance": 0.1942
}

Semantic roles & 50–950 ramp

primary
#C838CB
secondary
#90D08F
accent
#E24649
background
#FEF8FD
surface
#FCEFFB
border
#D5CAD4
text
#160B15
muted
#847C83

Preview Lab

Preview with #C838CB

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

Preview Lab → · Contrast checker → · Palette generator →

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