#C038EA#C038EA

#C038EA is a mid, highly saturated purple. Relative luminance 0.200; OKLCH L 61.9% C 0.260 H 316.6°. Best body text is #000000 at 5.00:1 contrast (WCAG AA passes).

Color values

HEX#C038EA
RGBrgb(192, 56, 234)
HSLhsl(286, 81%, 57%)
HSVhsv(286, 76%, 92%)
CMYKcmyk(17.9%, 76.1%, 0%, 8.2%)
CIE-LABlab(51.81, 76.06, -63.31)
CIE-LCHlch(51.81, 98.96, 320.22°)
OKLaboklab(61.85% 0.1888 -0.1784)
OKLCHoklch(61.85% 0.26 316.6)
XYZxyz(38.0014, 19.9769, 79.6801)
Luminance0.1998 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C038EA #62EA38
analogous
#6738EA #C038EA #EA38BB
triadic
#C038EA #EAC038 #38EAC0
tetradic
#C038EA #EA6738 #62EA38 #38BBEA
square
#C038EA #EA6738 #62EA38 #38BBEA
split-complementary
#C038EA #BBEA38 #38EA67
monochromatic
#781098 #A316CF #C038EA #D26FF0 #E3A7F6

Accessibility & contrast

On white

4.20
#C038EA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.00
#C038EA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C038EA
5.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C038EA#FFFFFF#000000##000000
##C038EA1.004.205.005.00
#FFFFFF4.201.0021.0021.00
#0000005.0021.001.001.00
##0000005.0021.001.001.00

Color blindness preview

Protanopia (red-blind)
#0074EF
Deuteranopia (green-blind)
#387FE6
Tritanopia (blue-blind)
#BD6090
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #c038ea;
/* rgb */ color: rgb(192, 56, 234);
/* oklch */ color: oklch(61.9% 0.260 316.6);
Tailwind
colors: {
  custom: {
    50: '#d87df2',
    500: '#c038ea',
    950: '#000000',
  },
}
SCSS
$custom: #c038ea;
$custom-light: #d87df2;
$custom-dark: #000000;
JSON
{
  "hex": "#c038ea",
  "rgb": {
    "r": 192,
    "g": 56,
    "b": 234
  },
  "hsl": {
    "h": 285.843,
    "s": 80.909,
    "l": 56.863
  },
  "oklch": {
    "l": 0.61854,
    "c": 0.25974,
    "h": 316.6
  },
  "luminance": 0.19975
}

Semantic roles & 50–950 ramp

primary
#C038EA
secondary
#ACE39B
accent
#F7305F
background
#FDF8FE
surface
#FBEFFD
border
#D4CAD5
text
#150B17
muted
#837C85

Preview Lab

Preview with #C038EA

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

Preview Lab → · Contrast checker → · Palette generator →

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