#B23FAB#B23FAB

#B23FAB is a mid, vivid purple. Relative luminance 0.160; OKLCH L 56.8% C 0.194 H 330.3°. Best body text is #FFFFFF at 5.01:1 contrast (WCAG AA passes).

Color values

HEX#B23FAB
RGBrgb(178, 63, 171)
HSLhsl(304, 48%, 47%)
HSVhsv(304, 65%, 70%)
CMYKcmyk(0%, 64.6%, 3.9%, 30.2%)
CIE-LABlab(46.92, 59.42, -34.93)
CIE-LCHlch(46.92, 68.93, 329.55°)
OKLaboklab(56.77% 0.1684 -0.0961)
OKLCHoklch(56.77% 0.194 330.3)
XYZxyz(27.4881, 15.9623, 40.1534)
Luminance0.1596 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B23FAB #3FB246
analogous
#7F3FB2 #B23FAB #B23F72
triadic
#B23FAB #ABB23F #3FABB2
tetradic
#B23FAB #B27F3F #3FB246 #3F72B2
square
#B23FAB #B27F3F #3FB246 #3F72B2
split-complementary
#B23FAB #72B23F #3FB27F
monochromatic
#581F54 #852F80 #B23FAB #C966C3 #D993D4

Accessibility & contrast

On white

5.01
#B23FAB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.19
#B23FAB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B23FAB
5.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B23FAB#FFFFFF#000000##FFFFFF
##B23FAB1.005.014.195.01
#FFFFFF5.011.0021.001.00
#0000004.1921.001.0021.00
##FFFFFF5.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3665AE
Deuteranopia (green-blind)
#5F75A8
Tritanopia (blue-blind)
#B94C6F
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #b23fab;
/* rgb */ color: rgb(178, 63, 171);
/* oklch */ color: oklch(56.8% 0.194 330.3);
Tailwind
colors: {
  custom: {
    50: '#cc7dc4',
    500: '#b23fab',
    950: '#000000',
  },
}
SCSS
$custom: #b23fab;
$custom-light: #cc7dc4;
$custom-dark: #000000;
JSON
{
  "hex": "#b23fab",
  "rgb": {
    "r": 178,
    "g": 63,
    "b": 171
  },
  "hsl": {
    "h": 303.652,
    "s": 47.718,
    "l": 47.255
  },
  "oklch": {
    "l": 0.56768,
    "c": 0.1939,
    "h": 330.3
  },
  "luminance": 0.1596
}

Semantic roles & 50–950 ramp

primary
#B23FAB
secondary
#89C48C
accent
#D75950
background
#FCF7FC
surface
#F9EEF8
border
#D2C9D1
text
#140A13
muted
#827C82

Preview Lab

Preview with #B23FAB

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

Preview Lab → · Contrast checker → · Palette generator →

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