#C038CA#C038CA

#C038CA is a mid, highly saturated purple. Relative luminance 0.183; OKLCH L 59.8% C 0.234 H 325.0°. Best body text is #000000 at 4.66:1 contrast (WCAG AA passes).

Color values

HEX#C038CA
RGBrgb(192, 56, 202)
HSLhsl(296, 58%, 51%)
HSVhsv(296, 72%, 79%)
CMYKcmyk(5%, 72.3%, 0%, 20.8%)
CIE-LABlab(49.86, 70.40, -48.22)
CIE-LCHlch(49.86, 85.33, 325.59°)
OKLaboklab(59.85% 0.1916 -0.1342)
OKLCHoklch(59.85% 0.234 325)
XYZxyz(33.8123, 18.3013, 57.6172)
Luminance0.1830 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C038CA #42CA38
analogous
#7738CA #C038CA #CA388B
triadic
#C038CA #CAC038 #38CAC0
tetradic
#C038CA #CA7738 #42CA38 #388BCA
square
#C038CA #CA7738 #42CA38 #388BCA
split-complementary
#C038CA #8BCA38 #38CA77
monochromatic
#661D6B #94299B #C038CA #CF68D7 #DF99E4

Accessibility & contrast

On white

4.51
#C038CA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.66
#C038CA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C038CA
4.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C038CA#FFFFFF#000000##000000
##C038CA1.004.514.664.66
#FFFFFF4.511.0021.0021.00
#0000004.6621.001.001.00
##0000004.6621.001.001.00

Color blindness preview

Protanopia (red-blind)
#036CCE
Deuteranopia (green-blind)
#567CC6
Tritanopia (blue-blind)
#C4517E
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #c038ca;
/* rgb */ color: rgb(192, 56, 202);
/* oklch */ color: oklch(59.8% 0.234 325.0);
Tailwind
colors: {
  custom: {
    50: '#d77cdb',
    500: '#c038ca',
    950: '#000000',
  },
}
SCSS
$custom: #c038ca;
$custom-light: #d77cdb;
$custom-dark: #000000;
JSON
{
  "hex": "#c038ca",
  "rgb": {
    "r": 192,
    "g": 56,
    "b": 202
  },
  "hsl": {
    "h": 295.89,
    "s": 57.937,
    "l": 50.588
  },
  "oklch": {
    "l": 0.59845,
    "c": 0.23396,
    "h": 325
  },
  "luminance": 0.18299
}

Semantic roles & 50–950 ramp

primary
#C038CA
secondary
#93CF8E
accent
#E14751
background
#FDF8FD
surface
#FBEFFB
border
#D4CAD4
text
#150B15
muted
#837C83

Preview Lab

Preview with #C038CA

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

Preview Lab → · Contrast checker → · Palette generator →

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