#B152DF#B152DF

#B152DF is a mid, highly saturated purple. Relative luminance 0.207; OKLCH L 61.8% C 0.215 H 312.9°. Best body text is #000000 at 5.14:1 contrast (WCAG AA passes).

Color values

HEX#B152DF
RGBrgb(177, 82, 223)
HSLhsl(280, 69%, 60%)
HSVhsv(280, 63%, 87%)
CMYKcmyk(20.6%, 63.2%, 0%, 12.5%)
CIE-LABlab(52.63, 60.73, -55.90)
CIE-LCHlch(52.63, 82.54, 317.37°)
OKLaboklab(61.79% 0.146 -0.1573)
OKLCHoklch(61.79% 0.215 312.9)
XYZxyz(34.4657, 20.7104, 71.9797)
Luminance0.2071 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B152DF #80DF52
analogous
#6B52DF #B152DF #DF52C6
triadic
#B152DF #DFB152 #52DFB1
tetradic
#B152DF #DF6B52 #80DF52 #52C6DF
square
#B152DF #DF6B52 #80DF52 #52C6DF
split-complementary
#B152DF #C6DF52 #52DF6B
monochromatic
#711D9A #9726CE #B152DF #C886E9 #E0B9F2

Accessibility & contrast

On white

4.08
#B152DF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.14
#B152DF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B152DF
5.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B152DF#FFFFFF#000000##000000
##B152DF1.004.085.145.14
#FFFFFF4.081.0021.0021.00
#0000005.1421.001.001.00
##0000005.1421.001.001.00

Color blindness preview

Protanopia (red-blind)
#0F79E3
Deuteranopia (green-blind)
#4980DC
Tritanopia (blue-blind)
#AC6D91
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #b152df;
/* rgb */ color: rgb(177, 82, 223);
/* oklch */ color: oklch(61.8% 0.215 312.9);
Tailwind
colors: {
  custom: {
    50: '#cc88ea',
    500: '#b152df',
    950: '#000000',
  },
}
SCSS
$custom: #b152df;
$custom-light: #cc88ea;
$custom-dark: #000000;
JSON
{
  "hex": "#b152df",
  "rgb": {
    "r": 177,
    "g": 82,
    "b": 223
  },
  "hsl": {
    "h": 280.426,
    "s": 68.78,
    "l": 59.804
  },
  "oklch": {
    "l": 0.61793,
    "c": 0.21462,
    "h": 312.9
  },
  "luminance": 0.20709
}

Semantic roles & 50–950 ramp

primary
#B152DF
secondary
#BDE2AB
accent
#EC3C75
background
#FCF8FE
surface
#F9F0FD
border
#D2CBD5
text
#140C16
muted
#827D84

Preview Lab

Preview with #B152DF

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

Preview Lab → · Contrast checker → · Palette generator →

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