#C152ED#C152ED

#C152ED is a light, highly saturated purple. Relative luminance 0.235; OKLCH L 64.6% C 0.234 H 314.9°. Best body text is #000000 at 5.70:1 contrast (WCAG AA passes).

Color values

HEX#C152ED
RGBrgb(193, 82, 237)
HSLhsl(283, 81%, 63%)
HSVhsv(283, 65%, 93%)
CMYKcmyk(18.6%, 65.4%, 0%, 7.1%)
CIE-LABlab(55.57, 67.11, -58.94)
CIE-LCHlch(55.57, 89.32, 318.71°)
OKLaboklab(64.62% 0.1649 -0.1657)
OKLCHoklch(64.62% 0.234 314.9)
XYZxyz(40.2932, 23.4878, 82.5154)
Luminance0.2349 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C152ED #7EED52
analogous
#7452ED #C152ED #ED52CB
triadic
#C152ED #EDC152 #52EDC1
tetradic
#C152ED #ED7452 #7EED52 #52CBED
square
#C152ED #ED7452 #7EED52 #52CBED
split-complementary
#C152ED #CBED52 #52ED74
monochromatic
#8513B2 #AD1BE7 #C152ED #D589F3 #E9C1F9

Accessibility & contrast

On white

3.69
#C152ED on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.70
#C152ED on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C152ED
5.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C152ED#FFFFFF#000000##000000
##C152ED1.003.695.705.70
#FFFFFF3.691.0021.0021.00
#0000005.7021.001.001.00
##0000005.7021.001.001.00

Color blindness preview

Protanopia (red-blind)
#007FF2
Deuteranopia (green-blind)
#4E88E9
Tritanopia (blue-blind)
#BD7099
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #c152ed;
/* rgb */ color: rgb(193, 82, 237);
/* oklch */ color: oklch(64.6% 0.234 314.9);
Tailwind
colors: {
  custom: {
    50: '#d88af3',
    500: '#c152ed',
    950: '#000000',
  },
}
SCSS
$custom: #c152ed;
$custom-light: #d88af3;
$custom-dark: #000000;
JSON
{
  "hex": "#c152ed",
  "rgb": {
    "r": 193,
    "g": 82,
    "b": 237
  },
  "hsl": {
    "h": 282.968,
    "s": 81.152,
    "l": 62.549
  },
  "oklch": {
    "l": 0.64621,
    "c": 0.23378,
    "h": 314.9
  },
  "luminance": 0.23486
}

Semantic roles & 50–950 ramp

primary
#C152ED
secondary
#C1EAB1
accent
#DE0845
background
#FDF8FE
surface
#FBF0FD
border
#D4CBD5
text
#150C17
muted
#837D85

Preview Lab

Preview with #C152ED

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

Preview Lab → · Contrast checker → · Palette generator →

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