#C150E2#C150E2

#C150E2 is a light, highly saturated purple. Relative luminance 0.226; OKLCH L 63.7% C 0.226 H 317.8°. Best body text is #000000 at 5.51:1 contrast (WCAG AA passes).

Color values

HEX#C150E2
RGBrgb(193, 80, 226)
HSLhsl(286, 72%, 60%)
HSVhsv(286, 65%, 89%)
CMYKcmyk(14.6%, 64.6%, 0%, 11.4%)
CIE-LABlab(54.62, 65.81, -54.28)
CIE-LCHlch(54.62, 85.31, 320.49°)
OKLaboklab(63.73% 0.1675 -0.1521)
OKLCHoklch(63.73% 0.226 317.8)
XYZxyz(38.5865, 22.5674, 74.2601)
Luminance0.2257 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C150E2 #71E250
analogous
#7850E2 #C150E2 #E250BA
triadic
#C150E2 #E2C150 #50E2C1
tetradic
#C150E2 #E27850 #71E250 #50BAE2
square
#C150E2 #E27850 #71E250 #50BAE2
split-complementary
#C150E2 #BAE250 #50E278
monochromatic
#801A9E #AA23D2 #C150E2 #D484EB #E6B9F3

Accessibility & contrast

On white

3.81
#C150E2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.51
#C150E2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C150E2
5.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C150E2#FFFFFF#000000##000000
##C150E21.003.815.515.51
#FFFFFF3.811.0021.0021.00
#0000005.5121.001.001.00
##0000005.5121.001.001.00

Color blindness preview

Protanopia (red-blind)
#197BE6
Deuteranopia (green-blind)
#5586DE
Tritanopia (blue-blind)
#C06A92
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #c150e2;
/* rgb */ color: rgb(193, 80, 226);
/* oklch */ color: oklch(63.7% 0.226 317.8);
Tailwind
colors: {
  custom: {
    50: '#d789ec',
    500: '#c150e2',
    950: '#000000',
  },
}
SCSS
$custom: #c150e2;
$custom-light: #d789ec;
$custom-dark: #000000;
JSON
{
  "hex": "#c150e2",
  "rgb": {
    "r": 193,
    "g": 80,
    "b": 226
  },
  "hsl": {
    "h": 286.438,
    "s": 71.569,
    "l": 60
  },
  "oklch": {
    "l": 0.63733,
    "c": 0.22622,
    "h": 317.8
  },
  "luminance": 0.22566
}

Semantic roles & 50–950 ramp

primary
#C150E2
secondary
#B8E3AB
accent
#EE3962
background
#FDF8FE
surface
#FBF0FD
border
#D4CBD5
text
#150C16
muted
#837D84

Preview Lab

Preview with #C150E2

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

Preview Lab → · Contrast checker → · Palette generator →

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