#B23ABF#B23ABF

#B23ABF is a mid, highly saturated purple. Relative luminance 0.163; OKLCH L 57.4% C 0.217 H 323.7°. Best body text is #FFFFFF at 4.94:1 contrast (WCAG AA passes).

Color values

HEX#B23ABF
RGBrgb(178, 58, 191)
HSLhsl(294, 53%, 49%)
HSVhsv(294, 70%, 75%)
CMYKcmyk(6.8%, 69.6%, 0%, 25.1%)
CIE-LABlab(47.31, 64.80, -46.05)
CIE-LCHlch(47.31, 79.49, 324.60°)
OKLaboklab(57.39% 0.1745 -0.1283)
OKLCHoklch(57.39% 0.217 323.7)
XYZxyz(29.2763, 16.2544, 50.8755)
Luminance0.1625 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B23ABF #47BF3A
analogous
#703ABF #B23ABF #BF3A8A
triadic
#B23ABF #BFB23A #3ABFB2
tetradic
#B23ABF #BF703A #47BF3A #3A8ABF
square
#B23ABF #BF703A #47BF3A #3A8ABF
split-complementary
#B23ABF #8ABF3A #3ABF70
monochromatic
#5B1D61 #862C90 #B23ABF #C666D0 #D795DF

Accessibility & contrast

On white

4.94
#B23ABF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.25
#B23ABF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B23ABF
4.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B23ABF#FFFFFF#000000##FFFFFF
##B23ABF1.004.944.254.94
#FFFFFF4.941.0021.001.00
#0000004.2521.001.0021.00
##FFFFFF4.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1167C3
Deuteranopia (green-blind)
#5075BC
Tritanopia (blue-blind)
#B55179
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #b23abf;
/* rgb */ color: rgb(178, 58, 191);
/* oklch */ color: oklch(57.4% 0.217 323.7);
Tailwind
colors: {
  custom: {
    50: '#cd7bd3',
    500: '#b23abf',
    950: '#000000',
  },
}
SCSS
$custom: #b23abf;
$custom-light: #cd7bd3;
$custom-dark: #000000;
JSON
{
  "hex": "#b23abf",
  "rgb": {
    "r": 178,
    "g": 58,
    "b": 191
  },
  "hsl": {
    "h": 294.135,
    "s": 53.414,
    "l": 48.824
  },
  "oklch": {
    "l": 0.5739,
    "c": 0.21655,
    "h": 323.7
  },
  "luminance": 0.16253
}

Semantic roles & 50–950 ramp

primary
#B23ABF
secondary
#91CA8B
accent
#DD4B59
background
#FDF7FD
surface
#FAEEFA
border
#D3C9D3
text
#140A14
muted
#837C83

Preview Lab

Preview with #B23ABF

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

Preview Lab → · Contrast checker → · Palette generator →

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