#C03DE2#C03DE2

#C03DE2 is a mid, highly saturated purple. Relative luminance 0.200; OKLCH L 61.7% C 0.248 H 318.4°. Best body text is #000000 at 5.01:1 contrast (WCAG AA passes).

Color values

HEX#C03DE2
RGBrgb(192, 61, 226)
HSLhsl(288, 74%, 56%)
HSVhsv(288, 73%, 89%)
CMYKcmyk(15%, 73%, 0%, 11.4%)
CIE-LABlab(51.88, 72.94, -58.69)
CIE-LCHlch(51.88, 93.62, 321.18°)
OKLaboklab(61.74% 0.1855 -0.1649)
OKLCHoklch(61.74% 0.248 318.4)
XYZxyz(37.1325, 20.0367, 73.8483)
Luminance0.2004 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C03DE2 #5FE23D
analogous
#6E3DE2 #C03DE2 #E23DB2
triadic
#C03DE2 #E2C03D #3DE2C0
tetradic
#C03DE2 #E26E3D #5FE23D #3DB2E2
square
#C03DE2 #E26E3D #5FE23D #3DB2E2
split-complementary
#C03DE2 #B2E23D #3DE26E
monochromatic
#76158F #A21DC4 #C03DE2 #D172EA #E3A7F2

Accessibility & contrast

On white

4.19
#C03DE2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.01
#C03DE2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C03DE2
5.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C03DE2#FFFFFF#000000##000000
##C03DE21.004.195.015.01
#FFFFFF4.191.0021.0021.00
#0000005.0121.001.001.00
##0000005.0121.001.001.00

Color blindness preview

Protanopia (red-blind)
#0073E7
Deuteranopia (green-blind)
#4680DE
Tritanopia (blue-blind)
#BF5F8D
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #c03de2;
/* rgb */ color: rgb(192, 61, 226);
/* oklch */ color: oklch(61.7% 0.248 318.4);
Tailwind
colors: {
  custom: {
    50: '#d77fec',
    500: '#c03de2',
    950: '#000000',
  },
}
SCSS
$custom: #c03de2;
$custom-light: #d77fec;
$custom-dark: #000000;
JSON
{
  "hex": "#c03de2",
  "rgb": {
    "r": 192,
    "g": 61,
    "b": 226
  },
  "hsl": {
    "h": 287.636,
    "s": 73.991,
    "l": 56.275
  },
  "oklch": {
    "l": 0.6174,
    "c": 0.24816,
    "h": 318.4
  },
  "luminance": 0.20035
}

Semantic roles & 50–950 ramp

primary
#C03DE2
secondary
#A9DF9B
accent
#F1375D
background
#FDF8FE
surface
#FBEFFD
border
#D4CAD5
text
#150B16
muted
#837C84

Preview Lab

Preview with #C03DE2

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

Preview Lab → · Contrast checker → · Palette generator →

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