#C152DB#C152DB

#C152DB is a light, highly saturated purple. Relative luminance 0.225; OKLCH L 63.5% C 0.217 H 319.5°. Best body text is #000000 at 5.50:1 contrast (WCAG AA passes).

Color values

HEX#C152DB
RGBrgb(193, 82, 219)
HSLhsl(289, 66%, 59%)
HSVhsv(289, 63%, 86%)
CMYKcmyk(11.9%, 62.6%, 0%, 14.1%)
CIE-LABlab(54.54, 63.62, -50.46)
CIE-LCHlch(54.54, 81.20, 321.58°)
OKLaboklab(63.55% 0.1653 -0.1409)
OKLCHoklch(63.55% 0.217 319.5)
XYZxyz(37.7942, 22.4882, 69.3540)
Luminance0.2249 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C152DB #6CDB52
analogous
#7D52DB #C152DB #DB52B1
triadic
#C152DB #DBC152 #52DBC1
tetradic
#C152DB #DB7D52 #6CDB52 #52B1DB
square
#C152DB #DB7D52 #6CDB52 #52B1DB
split-complementary
#C152DB #B1DB52 #52DB7D
monochromatic
#7E1F94 #A929C6 #C152DB #D385E6 #E5B7F0

Accessibility & contrast

On white

3.82
#C152DB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.50
#C152DB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C152DB
5.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C152DB#FFFFFF#000000##000000
##C152DB1.003.825.505.50
#FFFFFF3.821.0021.0021.00
#0000005.5021.001.001.00
##0000005.5021.001.001.00

Color blindness preview

Protanopia (red-blind)
#2C7BDF
Deuteranopia (green-blind)
#5C86D8
Tritanopia (blue-blind)
#C2698F
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #c152db;
/* rgb */ color: rgb(193, 82, 219);
/* oklch */ color: oklch(63.5% 0.217 319.5);
Tailwind
colors: {
  custom: {
    50: '#d789e7',
    500: '#c152db',
    950: '#000000',
  },
}
SCSS
$custom: #c152db;
$custom-light: #d789e7;
$custom-dark: #000000;
JSON
{
  "hex": "#c152db",
  "rgb": {
    "r": 193,
    "g": 82,
    "b": 219
  },
  "hsl": {
    "h": 288.613,
    "s": 65.55,
    "l": 59.02
  },
  "oklch": {
    "l": 0.63547,
    "c": 0.21719,
    "h": 319.5
  },
  "luminance": 0.22487
}

Semantic roles & 50–950 ramp

primary
#C152DB
secondary
#B4DFAA
accent
#E93F5F
background
#FDF8FE
surface
#FBF0FC
border
#D4CBD5
text
#150C16
muted
#837D84

Preview Lab

Preview with #C152DB

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

Preview Lab → · Contrast checker → · Palette generator →

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