#B152CD#B152CD

#B152CD is a mid, vivid purple. Relative luminance 0.198; OKLCH L 60.7% C 0.197 H 317.9°. Best body text is #000000 at 4.96:1 contrast (WCAG AA passes).

Color values

HEX#B152CD
RGBrgb(177, 82, 205)
HSLhsl(286, 55%, 56%)
HSVhsv(286, 60%, 80%)
CMYKcmyk(13.7%, 60%, 0%, 19.6%)
CIE-LABlab(51.60, 57.06, -47.30)
CIE-LCHlch(51.60, 74.12, 320.34°)
OKLaboklab(60.71% 0.1461 -0.1321)
OKLCHoklch(60.71% 0.197 317.9)
XYZxyz(32.1667, 19.7908, 59.8714)
Luminance0.1979 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B152CD #6ECD52
analogous
#7452CD #B152CD #CD52AC
triadic
#B152CD #CDB152 #52CDB1
tetradic
#B152CD #CD7452 #6ECD52 #52ACCD
square
#B152CD #CD7452 #6ECD52 #52ACCD
split-complementary
#B152CD #ACCD52 #52CD74
monochromatic
#6B2580 #9333AF #B152CD #C681DB #DCB1E8

Accessibility & contrast

On white

4.24
#B152CD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.96
#B152CD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B152CD
4.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B152CD#FFFFFF#000000##000000
##B152CD1.004.244.964.96
#FFFFFF4.241.0021.0021.00
#0000004.9621.001.001.00
##0000004.9621.001.001.00

Color blindness preview

Protanopia (red-blind)
#3175D1
Deuteranopia (green-blind)
#577ECA
Tritanopia (blue-blind)
#B06688
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #b152cd;
/* rgb */ color: rgb(177, 82, 205);
/* oklch */ color: oklch(60.7% 0.197 317.9);
Tailwind
colors: {
  custom: {
    50: '#cb88dd',
    500: '#b152cd',
    950: '#000000',
  },
}
SCSS
$custom: #b152cd;
$custom-light: #cb88dd;
$custom-dark: #000000;
JSON
{
  "hex": "#b152cd",
  "rgb": {
    "r": 177,
    "g": 82,
    "b": 205
  },
  "hsl": {
    "h": 286.341,
    "s": 55.157,
    "l": 56.275
  },
  "oklch": {
    "l": 0.60714,
    "c": 0.19698,
    "h": 317.9
  },
  "luminance": 0.19789
}

Semantic roles & 50–950 ramp

primary
#B152CD
secondary
#B0D7A4
accent
#DE496B
background
#FCF8FD
surface
#F9F0FB
border
#D2CBD4
text
#140C15
muted
#827D83

Preview Lab

Preview with #B152CD

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

Preview Lab → · Contrast checker → · Palette generator →

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