#B23FA0#B23FA0

#B23FA0 is a mid, vivid purple. Relative luminance 0.156; OKLCH L 56.2% C 0.185 H 334.5°. Best body text is #FFFFFF at 5.11:1 contrast (WCAG AA passes).

Color values

HEX#B23FA0
RGBrgb(178, 63, 160)
HSLhsl(309, 48%, 47%)
HSVhsv(309, 65%, 70%)
CMYKcmyk(0%, 64.6%, 10.1%, 30.2%)
CIE-LABlab(46.39, 57.64, -29.25)
CIE-LCHlch(46.39, 64.64, 333.10°)
OKLaboklab(56.21% 0.1673 -0.0798)
OKLCHoklch(56.21% 0.185 334.5)
XYZxyz(26.4830, 15.5602, 34.8595)
Luminance0.1556 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B23FA0 #3FB251
analogous
#8A3FB2 #B23FA0 #B23F67
triadic
#B23FA0 #A0B23F #3FA0B2
tetradic
#B23FA0 #B28A3F #3FB251 #3F67B2
square
#B23FA0 #B28A3F #3FB251 #3F67B2
split-complementary
#B23FA0 #67B23F #3FB28A
monochromatic
#581F4F #852F77 #B23FA0 #C966B9 #D993CE

Accessibility & contrast

On white

5.11
#B23FA0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.11
#B23FA0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B23FA0
5.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B23FA0#FFFFFF#000000##FFFFFF
##B23FA01.005.114.115.11
#FFFFFF5.111.0021.001.00
#0000004.1121.001.0021.00
##FFFFFF5.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3E63A3
Deuteranopia (green-blind)
#64749D
Tritanopia (blue-blind)
#BA476A
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #b23fa0;
/* rgb */ color: rgb(178, 63, 160);
/* oklch */ color: oklch(56.2% 0.185 334.5);
Tailwind
colors: {
  custom: {
    50: '#cc7cbc',
    500: '#b23fa0',
    950: '#000000',
  },
}
SCSS
$custom: #b23fa0;
$custom-light: #cc7cbc;
$custom-dark: #000000;
JSON
{
  "hex": "#b23fa0",
  "rgb": {
    "r": 178,
    "g": 63,
    "b": 160
  },
  "hsl": {
    "h": 309.391,
    "s": 47.718,
    "l": 47.255
  },
  "oklch": {
    "l": 0.56207,
    "c": 0.1853,
    "h": 334.5
  },
  "luminance": 0.15558
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #B23FA0

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

Preview Lab → · Contrast checker → · Palette generator →

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