#B152DB#B152DB

#B152DB is a mid, highly saturated purple. Relative luminance 0.205; OKLCH L 61.5% C 0.211 H 313.9°. Best body text is #000000 at 5.10:1 contrast (WCAG AA passes).

Color values

HEX#B152DB
RGBrgb(177, 82, 219)
HSLhsl(282, 66%, 59%)
HSVhsv(282, 63%, 86%)
CMYKcmyk(19.2%, 62.6%, 0%, 14.1%)
CIE-LABlab(52.39, 59.90, -54.01)
CIE-LCHlch(52.39, 80.65, 317.96°)
OKLaboklab(61.55% 0.1461 -0.1517)
OKLCHoklch(61.55% 0.211 313.9)
XYZxyz(33.9328, 20.4972, 69.1730)
Luminance0.2050 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B152DB #7CDB52
analogous
#6D52DB #B152DB #DB52C1
triadic
#B152DB #DBB152 #52DBB1
tetradic
#B152DB #DB6D52 #7CDB52 #52C1DB
square
#B152DB #DB6D52 #7CDB52 #52C1DB
split-complementary
#B152DB #C1DB52 #52DB6D
monochromatic
#701F94 #9629C6 #B152DB #C885E6 #DFB7F0

Accessibility & contrast

On white

4.12
#B152DB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.10
#B152DB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B152DB
5.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B152DB#FFFFFF#000000##000000
##B152DB1.004.125.105.10
#FFFFFF4.121.0021.0021.00
#0000005.1021.001.001.00
##0000005.1021.001.001.00

Color blindness preview

Protanopia (red-blind)
#1B78DF
Deuteranopia (green-blind)
#4C7FD8
Tritanopia (blue-blind)
#AD6C8F
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #b152db;
/* rgb */ color: rgb(177, 82, 219);
/* oklch */ color: oklch(61.5% 0.211 313.9);
Tailwind
colors: {
  custom: {
    50: '#cc88e7',
    500: '#b152db',
    950: '#000000',
  },
}
SCSS
$custom: #b152db;
$custom-light: #cc88e7;
$custom-dark: #000000;
JSON
{
  "hex": "#b152db",
  "rgb": {
    "r": 177,
    "g": 82,
    "b": 219
  },
  "hsl": {
    "h": 281.606,
    "s": 65.55,
    "l": 59.02
  },
  "oklch": {
    "l": 0.61547,
    "c": 0.21067,
    "h": 313.9
  },
  "luminance": 0.20496
}

Semantic roles & 50–950 ramp

primary
#B152DB
secondary
#BADFAA
accent
#E93F73
background
#FCF8FE
surface
#F9F0FC
border
#D2CBD5
text
#140C16
muted
#827D84

Preview Lab

Preview with #B152DB

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

Preview Lab → · Contrast checker → · Palette generator →

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