#C038DB#C038DB

#C038DB is a mid, highly saturated purple. Relative luminance 0.191; OKLCH L 60.9% C 0.248 H 320.3°. Best body text is #000000 at 4.83:1 contrast (WCAG AA passes).

Color values

HEX#C038DB
RGBrgb(192, 56, 219)
HSLhsl(290, 69%, 54%)
HSVhsv(290, 74%, 86%)
CMYKcmyk(12.3%, 74.4%, 0%, 14.1%)
CIE-LABlab(50.86, 73.35, -56.35)
CIE-LCHlch(50.86, 92.49, 322.47°)
OKLaboklab(60.88% 0.1906 -0.158)
OKLCHoklch(60.88% 0.248 320.3)
XYZxyz(35.9370, 19.1512, 68.8077)
Luminance0.1915 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C038DB #53DB38
analogous
#6F38DB #C038DB #DB38A5
triadic
#C038DB #DBC038 #38DBC0
tetradic
#C038DB #DB6F38 #53DB38 #38A5DB
square
#C038DB #DB6F38 #53DB38 #38A5DB
split-complementary
#C038DB #A5DB38 #38DB6F
monochromatic
#701781 #9C21B5 #C038DB #D06CE4 #E1A0EE

Accessibility & contrast

On white

4.35
#C038DB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.83
#C038DB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C038DB
4.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C038DB#FFFFFF#000000##000000
##C038DB1.004.354.834.83
#FFFFFF4.351.0021.0021.00
#0000004.8321.001.001.00
##0000004.8321.001.001.00

Color blindness preview

Protanopia (red-blind)
#0070DF
Deuteranopia (green-blind)
#497ED7
Tritanopia (blue-blind)
#C15988
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #c038db;
/* rgb */ color: rgb(192, 56, 219);
/* oklch */ color: oklch(60.9% 0.248 320.3);
Tailwind
colors: {
  custom: {
    50: '#d77de7',
    500: '#c038db',
    950: '#000000',
  },
}
SCSS
$custom: #c038db;
$custom-light: #d77de7;
$custom-dark: #000000;
JSON
{
  "hex": "#c038db",
  "rgb": {
    "r": 192,
    "g": 56,
    "b": 219
  },
  "hsl": {
    "h": 290.061,
    "s": 69.362,
    "l": 53.922
  },
  "oklch": {
    "l": 0.60882,
    "c": 0.24752,
    "h": 320.3
  },
  "luminance": 0.19149
}

Semantic roles & 50–950 ramp

primary
#C038DB
secondary
#A0DA95
accent
#EC3C59
background
#FDF8FE
surface
#FBEFFC
border
#D4CAD5
text
#150B16
muted
#837C84

Preview Lab

Preview with #C038DB

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

Preview Lab → · Contrast checker → · Palette generator →

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