#B23DAF#B23DAF

#B23DAF is a mid, vivid purple. Relative luminance 0.159; OKLCH L 56.8% C 0.200 H 328.9°. Best body text is #FFFFFF at 5.02:1 contrast (WCAG AA passes).

Color values

HEX#B23DAF
RGBrgb(178, 61, 175)
HSLhsl(302, 49%, 47%)
HSVhsv(302, 66%, 70%)
CMYKcmyk(0%, 65.7%, 1.7%, 30.2%)
CIE-LABlab(46.84, 60.89, -37.42)
CIE-LCHlch(46.84, 71.47, 328.43°)
OKLaboklab(56.77% 0.171 -0.1032)
OKLCHoklch(56.77% 0.2 328.9)
XYZxyz(27.7664, 15.8996, 42.1556)
Luminance0.1590 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B23DAF #3DB240
analogous
#7A3DB2 #B23DAF #B23D75
triadic
#B23DAF #AFB23D #3DAFB2
tetradic
#B23DAF #B27A3D #3DB240 #3D75B2
square
#B23DAF #B27A3D #3DB240 #3D75B2
split-complementary
#B23DAF #75B23D #3DB27A
monochromatic
#571E55 #842D82 #B23DAF #C963C7 #D990D7

Accessibility & contrast

On white

5.02
#B23DAF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.18
#B23DAF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B23DAF
5.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B23DAF#FFFFFF#000000##FFFFFF
##B23DAF1.005.024.185.02
#FFFFFF5.021.0021.001.00
#0000004.1821.001.0021.00
##FFFFFF5.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3065B2
Deuteranopia (green-blind)
#5C75AC
Tritanopia (blue-blind)
#B84C71
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #b23daf;
/* rgb */ color: rgb(178, 61, 175);
/* oklch */ color: oklch(56.8% 0.200 328.9);
Tailwind
colors: {
  custom: {
    50: '#cc7cc7',
    500: '#b23daf',
    950: '#000000',
  },
}
SCSS
$custom: #b23daf;
$custom-light: #cc7cc7;
$custom-dark: #000000;
JSON
{
  "hex": "#b23daf",
  "rgb": {
    "r": 178,
    "g": 61,
    "b": 175
  },
  "hsl": {
    "h": 301.538,
    "s": 48.954,
    "l": 46.863
  },
  "oklch": {
    "l": 0.56774,
    "c": 0.19974,
    "h": 328.9
  },
  "luminance": 0.15898
}

Semantic roles & 50–950 ramp

primary
#B23DAF
secondary
#87C488
accent
#D9534F
background
#FCF7FC
surface
#F9EEF8
border
#D2C9D1
text
#140A13
muted
#827C82

Preview Lab

Preview with #B23DAF

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

Preview Lab → · Contrast checker → · Palette generator →

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