#C152F2#C152F2

#C152F2 is a light, highly saturated purple. Relative luminance 0.238; OKLCH L 64.9% C 0.238 H 313.7°. Best body text is #000000 at 5.76:1 contrast (WCAG AA passes).

Color values

HEX#C152F2
RGBrgb(193, 82, 242)
HSLhsl(282, 86%, 64%)
HSVhsv(282, 66%, 95%)
CMYKcmyk(20.2%, 66.1%, 0%, 5.1%)
CIE-LABlab(55.87, 68.11, -61.26)
CIE-LCHlch(55.87, 91.60, 318.03°)
OKLaboklab(64.93% 0.1646 -0.1725)
OKLCHoklch(64.93% 0.238 313.7)
XYZxyz(41.0339, 23.7841, 86.4164)
Luminance0.2378 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C152F2 #83F252
analogous
#7152F2 #C152F2 #F252D3
triadic
#C152F2 #F2C152 #52F2C1
tetradic
#C152F2 #F27152 #83F252 #52D3F2
square
#C152F2 #F27152 #83F252 #52D3F2
split-complementary
#C152F2 #D3F252 #52F271
monochromatic
#860EBC #AD19EE #C152F2 #D58BF6 #EAC4FB

Accessibility & contrast

On white

3.65
#C152F2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.76
#C152F2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C152F2
5.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C152F2#FFFFFF#000000##000000
##C152F21.003.655.765.76
#FFFFFF3.651.0021.0021.00
#0000005.7621.001.001.00
##0000005.7621.001.001.00

Color blindness preview

Protanopia (red-blind)
#0080F7
Deuteranopia (green-blind)
#4989EE
Tritanopia (blue-blind)
#BC729C
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #c152f2;
/* rgb */ color: rgb(193, 82, 242);
/* oklch */ color: oklch(64.9% 0.238 313.7);
Tailwind
colors: {
  custom: {
    50: '#d88af7',
    500: '#c152f2',
    950: '#000000',
  },
}
SCSS
$custom: #c152f2;
$custom-light: #d88af7;
$custom-dark: #000000;
JSON
{
  "hex": "#c152f2",
  "rgb": {
    "r": 193,
    "g": 82,
    "b": 242
  },
  "hsl": {
    "h": 281.625,
    "s": 86.022,
    "l": 63.529
  },
  "oklch": {
    "l": 0.64932,
    "c": 0.23844,
    "h": 313.7
  },
  "luminance": 0.23783
}

Semantic roles & 50–950 ramp

primary
#C152F2
secondary
#C5ECB4
accent
#E30347
background
#FDF8FF
surface
#FBF0FF
border
#D4CBD7
text
#150C17
muted
#837D85

Preview Lab

Preview with #C152F2

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

Preview Lab → · Contrast checker → · Palette generator →

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