#B23FA1#B23FA1

#B23FA1 is a mid, vivid purple. Relative luminance 0.156; OKLCH L 56.3% C 0.186 H 334.1°. Best body text is #FFFFFF at 5.10:1 contrast (WCAG AA passes).

Color values

HEX#B23FA1
RGBrgb(178, 63, 161)
HSLhsl(309, 48%, 47%)
HSVhsv(309, 65%, 70%)
CMYKcmyk(0%, 64.6%, 9.6%, 30.2%)
CIE-LABlab(46.44, 57.80, -29.77)
CIE-LCHlch(46.44, 65.02, 332.75°)
OKLaboklab(56.26% 0.1674 -0.0813)
OKLCHoklch(56.26% 0.186 334.1)
XYZxyz(26.5708, 15.5953, 35.3221)
Luminance0.1559 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B23FA1 #3FB250
analogous
#8A3FB2 #B23FA1 #B23F67
triadic
#B23FA1 #A1B23F #3FA1B2
tetradic
#B23FA1 #B28A3F #3FB250 #3F67B2
square
#B23FA1 #B28A3F #3FB250 #3F67B2
split-complementary
#B23FA1 #67B23F #3FB28A
monochromatic
#581F4F #852F78 #B23FA1 #C966BA #D993CE

Accessibility & contrast

On white

5.10
#B23FA1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.12
#B23FA1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B23FA1
5.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B23FA1#FFFFFF#000000##FFFFFF
##B23FA11.005.104.125.10
#FFFFFF5.101.0021.001.00
#0000004.1221.001.0021.00
##FFFFFF5.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3D63A4
Deuteranopia (green-blind)
#63749E
Tritanopia (blue-blind)
#BA486A
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #b23fa1;
/* rgb */ color: rgb(178, 63, 161);
/* oklch */ color: oklch(56.3% 0.186 334.1);
Tailwind
colors: {
  custom: {
    50: '#cc7cbd',
    500: '#b23fa1',
    950: '#000000',
  },
}
SCSS
$custom: #b23fa1;
$custom-light: #cc7cbd;
$custom-dark: #000000;
JSON
{
  "hex": "#b23fa1",
  "rgb": {
    "r": 178,
    "g": 63,
    "b": 161
  },
  "hsl": {
    "h": 308.87,
    "s": 47.718,
    "l": 47.255
  },
  "oklch": {
    "l": 0.56257,
    "c": 0.18607,
    "h": 334.1
  },
  "luminance": 0.15593
}

Semantic roles & 50–950 ramp

primary
#B23FA1
secondary
#89C492
accent
#D76450
background
#FCF7FB
surface
#F9EEF6
border
#D2C9D0
text
#140A12
muted
#827C81

Preview Lab

Preview with #B23FA1

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

Preview Lab → · Contrast checker → · Palette generator →

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