#C152EE#C152EE

#C152EE is a light, highly saturated purple. Relative luminance 0.235; OKLCH L 64.7% C 0.235 H 314.6°. Best body text is #000000 at 5.71:1 contrast (WCAG AA passes).

Color values

HEX#C152EE
RGBrgb(193, 82, 238)
HSLhsl(283, 82%, 63%)
HSVhsv(283, 66%, 93%)
CMYKcmyk(18.9%, 65.5%, 0%, 6.7%)
CIE-LABlab(55.63, 67.31, -59.41)
CIE-LCHlch(55.63, 89.78, 318.57°)
OKLaboklab(64.68% 0.1649 -0.1671)
OKLCHoklch(64.68% 0.235 314.6)
XYZxyz(40.4397, 23.5464, 83.2870)
Luminance0.2354 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C152EE #7FEE52
analogous
#7352EE #C152EE #EE52CD
triadic
#C152EE #EEC152 #52EEC1
tetradic
#C152EE #EE7352 #7FEE52 #52CDEE
square
#C152EE #EE7352 #7FEE52 #52CDEE
split-complementary
#C152EE #CDEE52 #52EE73
monochromatic
#8512B4 #AD1AE9 #C152EE #D58AF3 #E9C1F9

Accessibility & contrast

On white

3.68
#C152EE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.71
#C152EE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C152EE
5.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C152EE#FFFFFF#000000##000000
##C152EE1.003.685.715.71
#FFFFFF3.681.0021.0021.00
#0000005.7121.001.001.00
##0000005.7121.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #c152ee;
/* rgb */ color: rgb(193, 82, 238);
/* oklch */ color: oklch(64.7% 0.235 314.6);
Tailwind
colors: {
  custom: {
    50: '#d88af4',
    500: '#c152ee',
    950: '#000000',
  },
}
SCSS
$custom: #c152ee;
$custom-light: #d88af4;
$custom-dark: #000000;
JSON
{
  "hex": "#c152ee",
  "rgb": {
    "r": 193,
    "g": 82,
    "b": 238
  },
  "hsl": {
    "h": 282.692,
    "s": 82.105,
    "l": 62.745
  },
  "oklch": {
    "l": 0.64683,
    "c": 0.23472,
    "h": 314.6
  },
  "luminance": 0.23545
}

Semantic roles & 50–950 ramp

primary
#C152EE
secondary
#C2EAB2
accent
#DE0745
background
#FDF8FF
surface
#FBF0FE
border
#D4CBD6
text
#150C17
muted
#837D85

Preview Lab

Preview with #C152EE

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

Preview Lab → · Contrast checker → · Palette generator →

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