#B23DB3#B23DB3

#B23DB3 is a mid, highly saturated purple. Relative luminance 0.161; OKLCH L 57.0% C 0.203 H 327.5°. Best body text is #FFFFFF at 4.99:1 contrast (WCAG AA passes).

Color values

HEX#B23DB3
RGBrgb(178, 61, 179)
HSLhsl(299, 49%, 47%)
HSVhsv(299, 66%, 70%)
CMYKcmyk(0.6%, 65.9%, 0%, 29.8%)
CIE-LABlab(47.05, 61.57, -39.44)
CIE-LCHlch(47.05, 73.12, 327.36°)
OKLaboklab(56.99% 0.1712 -0.1091)
OKLCHoklch(56.99% 0.203 327.5)
XYZxyz(28.1651, 16.0590, 44.2553)
Luminance0.1606 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B23DB3 #3EB33D
analogous
#773DB3 #B23DB3 #B33D79
triadic
#B23DB3 #B3B23D #3DB3B2
tetradic
#B23DB3 #B3773D #3EB33D #3D79B3
square
#B23DB3 #B3773D #3EB33D #3D79B3
split-complementary
#B23DB3 #79B33D #3DB377
monochromatic
#571E58 #852D85 #B23DB3 #C963CA #D991D9

Accessibility & contrast

On white

4.99
#B23DB3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.21
#B23DB3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B23DB3
4.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B23DB3#FFFFFF#000000##FFFFFF
##B23DB31.004.994.214.99
#FFFFFF4.991.0021.001.00
#0000004.2121.001.0021.00
##FFFFFF4.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2B66B6
Deuteranopia (green-blind)
#5975B0
Tritanopia (blue-blind)
#B74D73
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #b23db3;
/* rgb */ color: rgb(178, 61, 179);
/* oklch */ color: oklch(57.0% 0.203 327.5);
Tailwind
colors: {
  custom: {
    50: '#cc7cca',
    500: '#b23db3',
    950: '#000000',
  },
}
SCSS
$custom: #b23db3;
$custom-light: #cc7cca;
$custom-dark: #000000;
JSON
{
  "hex": "#b23db3",
  "rgb": {
    "r": 178,
    "g": 61,
    "b": 179
  },
  "hsl": {
    "h": 299.492,
    "s": 49.167,
    "l": 47.059
  },
  "oklch": {
    "l": 0.56993,
    "c": 0.20299,
    "h": 327.5
  },
  "luminance": 0.16057
}

Semantic roles & 50–950 ramp

primary
#B23DB3
secondary
#88C587
accent
#D94F50
background
#FCF7FC
surface
#F9EEF8
border
#D2C9D1
text
#140A13
muted
#827C82

Preview Lab

Preview with #B23DB3

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

Preview Lab → · Contrast checker → · Palette generator →

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