#C03FF2#C03FF2

#C03FF2 is a light, highly saturated purple. Relative luminance 0.212; OKLCH L 63.0% C 0.260 H 314.4°. Best body text is #000000 at 5.23:1 contrast (WCAG AA passes).

Color values

HEX#C03FF2
RGBrgb(192, 63, 242)
HSLhsl(283, 87%, 60%)
HSVhsv(283, 74%, 95%)
CMYKcmyk(20.7%, 74%, 0%, 5.1%)
CIE-LABlab(53.14, 75.24, -65.66)
CIE-LCHlch(53.14, 99.86, 318.89°)
OKLaboklab(62.96% 0.1818 -0.1853)
OKLCHoklch(62.96% 0.26 314.4)
XYZxyz(39.5401, 21.1737, 85.9913)
Luminance0.2117 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C03FF2 #71F23F
analogous
#663FF2 #C03FF2 #F23FCB
triadic
#C03FF2 #F2C03F #3FF2C0
tetradic
#C03FF2 #F2663F #71F23F #3FCBF2
square
#C03FF2 #F2663F #71F23F #3FCBF2
split-complementary
#C03FF2 #CBF23F #3FF266
monochromatic
#7E0CAB #A90FE4 #C03FF2 #D378F6 #E6B2FA

Accessibility & contrast

On white

4.01
#C03FF2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.23
#C03FF2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C03FF2
5.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C03FF2#FFFFFF#000000##000000
##C03FF21.004.015.235.23
#FFFFFF4.011.0021.0021.00
#0000005.2321.001.001.00
##0000005.2321.001.001.00

Color blindness preview

Protanopia (red-blind)
#0078F7
Deuteranopia (green-blind)
#3482EE
Tritanopia (blue-blind)
#BB6796
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #c03ff2;
/* rgb */ color: rgb(192, 63, 242);
/* oklch */ color: oklch(63.0% 0.260 314.4);
Tailwind
colors: {
  custom: {
    50: '#d881f7',
    500: '#c03ff2',
    950: '#000000',
  },
}
SCSS
$custom: #c03ff2;
$custom-light: #d881f7;
$custom-dark: #000000;
JSON
{
  "hex": "#c03ff2",
  "rgb": {
    "r": 192,
    "g": 63,
    "b": 242
  },
  "hsl": {
    "h": 283.24,
    "s": 87.317,
    "l": 59.804
  },
  "oklch": {
    "l": 0.62957,
    "c": 0.25961,
    "h": 314.4
  },
  "luminance": 0.21172
}

Semantic roles & 50–950 ramp

primary
#C03FF2
secondary
#B7E9A4
accent
#FD2A65
background
#FDF8FF
surface
#FBEFFF
border
#D4CAD7
text
#150B17
muted
#837C85

Preview Lab

Preview with #C03FF2

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

Preview Lab → · Contrast checker → · Palette generator →

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