#C838BF#C838BF

#C838BF is a mid, highly saturated purple. Relative luminance 0.189; OKLCH L 60.4% C 0.229 H 330.7°. Best body text is #000000 at 4.77:1 contrast (WCAG AA passes).

Color values

HEX#C838BF
RGBrgb(200, 56, 191)
HSLhsl(304, 57%, 50%)
HSVhsv(304, 72%, 78%)
CMYKcmyk(0%, 72%, 4.5%, 21.6%)
CIE-LABlab(50.54, 70.34, -40.70)
CIE-LCHlch(50.54, 81.27, 329.94°)
OKLaboklab(60.39% 0.2001 -0.1122)
OKLCHoklch(60.39% 0.229 330.7)
XYZxyz(34.6375, 18.8720, 51.0985)
Luminance0.1887 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C838BF #38C841
analogous
#8938C8 #C838BF #C83877
triadic
#C838BF #BFC838 #38BFC8
tetradic
#C838BF #C88938 #38C841 #3877C8
square
#C838BF #C88938 #38C841 #3877C8
split-complementary
#C838BF #77C838 #38C889
monochromatic
#691D64 #992A92 #C838BF #D568CE #E398DE

Accessibility & contrast

On white

4.40
#C838BF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.77
#C838BF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C838BF
4.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C838BF#FFFFFF#000000##000000
##C838BF1.004.404.774.77
#FFFFFF4.401.0021.0021.00
#0000004.7721.001.001.00
##0000004.7721.001.001.00

Color blindness preview

Protanopia (red-blind)
#2A6CC3
Deuteranopia (green-blind)
#647FBB
Tritanopia (blue-blind)
#D04A78
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #c838bf;
/* rgb */ color: rgb(200, 56, 191);
/* oklch */ color: oklch(60.4% 0.229 330.7);
Tailwind
colors: {
  custom: {
    50: '#dd7cd3',
    500: '#c838bf',
    950: '#000000',
  },
}
SCSS
$custom: #c838bf;
$custom-light: #dd7cd3;
$custom-dark: #000000;
JSON
{
  "hex": "#c838bf",
  "rgb": {
    "r": 200,
    "g": 56,
    "b": 191
  },
  "hsl": {
    "h": 303.75,
    "s": 56.693,
    "l": 50.196
  },
  "oklch": {
    "l": 0.60385,
    "c": 0.22939,
    "h": 330.7
  },
  "luminance": 0.18869
}

Semantic roles & 50–950 ramp

primary
#C838BF
secondary
#8ECE92
accent
#E05148
background
#FEF8FD
surface
#FCEFFA
border
#D5CAD3
text
#160B14
muted
#847C83

Preview Lab

Preview with #C838BF

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

Preview Lab → · Contrast checker → · Palette generator →

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