#B23BAF#B23BAF

#B23BAF is a mid, highly saturated purple. Relative luminance 0.157; OKLCH L 56.6% C 0.202 H 328.9°. Best body text is #FFFFFF at 5.08:1 contrast (WCAG AA passes).

Color values

HEX#B23BAF
RGBrgb(178, 59, 175)
HSLhsl(302, 50%, 46%)
HSVhsv(302, 67%, 70%)
CMYKcmyk(0%, 66.9%, 1.7%, 30.2%)
CIE-LABlab(46.57, 61.67, -37.86)
CIE-LCHlch(46.57, 72.36, 328.46°)
OKLaboklab(56.57% 0.1732 -0.1045)
OKLCHoklch(56.57% 0.202 328.9)
XYZxyz(27.6617, 15.6900, 42.1207)
Luminance0.1569 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B23BAF #3BB23E
analogous
#7A3BB2 #B23BAF #B23B74
triadic
#B23BAF #AFB23B #3BAFB2
tetradic
#B23BAF #B27A3B #3BB23E #3B74B2
square
#B23BAF #B27A3B #3BB23E #3B74B2
split-complementary
#B23BAF #74B23B #3BB27A
monochromatic
#561D55 #842C82 #B23BAF #CA60C8 #DA8ED8

Accessibility & contrast

On white

5.08
#B23BAF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.14
#B23BAF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B23BAF
5.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B23BAF#FFFFFF#000000##FFFFFF
##B23BAF1.005.084.145.08
#FFFFFF5.081.0021.001.00
#0000004.1421.001.0021.00
##FFFFFF5.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2D64B2
Deuteranopia (green-blind)
#5B74AC
Tritanopia (blue-blind)
#B84A70
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #b23baf;
/* rgb */ color: rgb(178, 59, 175);
/* oklch */ color: oklch(56.6% 0.202 328.9);
Tailwind
colors: {
  custom: {
    50: '#cc7bc7',
    500: '#b23baf',
    950: '#000000',
  },
}
SCSS
$custom: #b23baf;
$custom-light: #cc7bc7;
$custom-dark: #000000;
JSON
{
  "hex": "#b23baf",
  "rgb": {
    "r": 178,
    "g": 59,
    "b": 175
  },
  "hsl": {
    "h": 301.513,
    "s": 50.211,
    "l": 46.471
  },
  "oklch": {
    "l": 0.56574,
    "c": 0.20228,
    "h": 328.9
  },
  "luminance": 0.15688
}

Semantic roles & 50–950 ramp

primary
#B23BAF
secondary
#85C486
accent
#DA524E
background
#FDF7FC
surface
#FAEEF8
border
#D3C9D1
text
#140A13
muted
#837C82

Preview Lab

Preview with #B23BAF

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

Preview Lab → · Contrast checker → · Palette generator →

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