#B23DB2#B23DB2

#B23DB2 is a mid, highly saturated purple. Relative luminance 0.160; OKLCH L 56.9% C 0.202 H 327.8°. Best body text is #FFFFFF at 5.00:1 contrast (WCAG AA passes).

Color values

HEX#B23DB2
RGBrgb(178, 61, 178)
HSLhsl(300, 49%, 47%)
HSVhsv(300, 66%, 70%)
CMYKcmyk(0%, 65.7%, 0%, 30.2%)
CIE-LABlab(47.00, 61.40, -38.94)
CIE-LCHlch(47.00, 72.70, 327.62°)
OKLaboklab(56.94% 0.1711 -0.1076)
OKLCHoklch(56.94% 0.202 327.8)
XYZxyz(28.0643, 16.0187, 43.7246)
Luminance0.1602 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B23DB2 #3DB23D
analogous
#783DB2 #B23DB2 #B23D78
triadic
#B23DB2 #B2B23D #3DB2B2
tetradic
#B23DB2 #B2783D #3DB23D #3D78B2
square
#B23DB2 #B2783D #3DB23D #3D78B2
split-complementary
#B23DB2 #78B23D #3DB278
monochromatic
#571E57 #842D84 #B23DB2 #C963C9 #D990D9

Accessibility & contrast

On white

5.00
#B23DB2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.20
#B23DB2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B23DB2
5.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B23DB2#FFFFFF#000000##FFFFFF
##B23DB21.005.004.205.00
#FFFFFF5.001.0021.001.00
#0000004.2021.001.0021.00
##FFFFFF5.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2C66B5
Deuteranopia (green-blind)
#5A75AF
Tritanopia (blue-blind)
#B74D72
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #b23db2;
/* rgb */ color: rgb(178, 61, 178);
/* oklch */ color: oklch(56.9% 0.202 327.8);
Tailwind
colors: {
  custom: {
    50: '#cc7cc9',
    500: '#b23db2',
    950: '#000000',
  },
}
SCSS
$custom: #b23db2;
$custom-light: #cc7cc9;
$custom-dark: #000000;
JSON
{
  "hex": "#b23db2",
  "rgb": {
    "r": 178,
    "g": 61,
    "b": 178
  },
  "hsl": {
    "h": 300,
    "s": 48.954,
    "l": 46.863
  },
  "oklch": {
    "l": 0.56938,
    "c": 0.20218,
    "h": 327.8
  },
  "luminance": 0.16017
}

Semantic roles & 50–950 ramp

primary
#B23DB2
secondary
#87C487
accent
#D94F4F
background
#FCF7FC
surface
#F9EEF8
border
#D2C9D1
text
#140A13
muted
#827C82

Preview Lab

Preview with #B23DB2

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

Preview Lab → · Contrast checker → · Palette generator →

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