#B23BB2#B23BB2

#B23BB2 is a mid, highly saturated purple. Relative luminance 0.158; OKLCH L 56.7% C 0.205 H 327.9°. Best body text is #FFFFFF at 5.05:1 contrast (WCAG AA passes).

Color values

HEX#B23BB2
RGBrgb(178, 59, 178)
HSLhsl(300, 50%, 46%)
HSVhsv(300, 67%, 70%)
CMYKcmyk(0%, 66.9%, 0%, 30.2%)
CIE-LABlab(46.72, 62.17, -39.37)
CIE-LCHlch(46.72, 73.59, 327.66°)
OKLaboklab(56.74% 0.1733 -0.1089)
OKLCHoklch(56.74% 0.205 327.9)
XYZxyz(27.9596, 15.8092, 43.6897)
Luminance0.1581 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B23BB2 #3BB23B
analogous
#773BB2 #B23BB2 #B23B77
triadic
#B23BB2 #B2B23B #3BB2B2
tetradic
#B23BB2 #B2773B #3BB23B #3B77B2
square
#B23BB2 #B2773B #3BB23B #3B77B2
split-complementary
#B23BB2 #77B23B #3BB277
monochromatic
#561D56 #842C84 #B23BB2 #CA60CA #DA8EDA

Accessibility & contrast

On white

5.05
#B23BB2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.16
#B23BB2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B23BB2
5.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B23BB2#FFFFFF#000000##FFFFFF
##B23BB21.005.054.165.05
#FFFFFF5.051.0021.001.00
#0000004.1621.001.0021.00
##FFFFFF5.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2965B5
Deuteranopia (green-blind)
#5974AF
Tritanopia (blue-blind)
#B74C72
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #b23bb2;
/* rgb */ color: rgb(178, 59, 178);
/* oklch */ color: oklch(56.7% 0.205 327.9);
Tailwind
colors: {
  custom: {
    50: '#cc7bc9',
    500: '#b23bb2',
    950: '#000000',
  },
}
SCSS
$custom: #b23bb2;
$custom-light: #cc7bc9;
$custom-dark: #000000;
JSON
{
  "hex": "#b23bb2",
  "rgb": {
    "r": 178,
    "g": 59,
    "b": 178
  },
  "hsl": {
    "h": 300,
    "s": 50.211,
    "l": 46.471
  },
  "oklch": {
    "l": 0.56739,
    "c": 0.20469,
    "h": 327.9
  },
  "luminance": 0.15807
}

Semantic roles & 50–950 ramp

primary
#B23BB2
secondary
#85C485
accent
#DA4E4E
background
#FDF7FC
surface
#FAEEF8
border
#D3C9D1
text
#140A13
muted
#837C82

Preview Lab

Preview with #B23BB2

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

Preview Lab → · Contrast checker → · Palette generator →

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