#B23FA4#B23FA4

#B23FA4 is a mid, vivid purple. Relative luminance 0.157; OKLCH L 56.4% C 0.188 H 332.9°. Best body text is #FFFFFF at 5.07:1 contrast (WCAG AA passes).

Color values

HEX#B23FA4
RGBrgb(178, 63, 164)
HSLhsl(307, 48%, 47%)
HSVhsv(307, 65%, 70%)
CMYKcmyk(0%, 64.6%, 7.9%, 30.2%)
CIE-LABlab(46.58, 58.28, -31.33)
CIE-LCHlch(46.58, 66.17, 331.74°)
OKLaboklab(56.41% 0.1677 -0.0857)
OKLCHoklch(56.41% 0.188 332.9)
XYZxyz(26.8385, 15.7024, 36.7321)
Luminance0.1570 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B23FA4 #3FB24D
analogous
#863FB2 #B23FA4 #B23F6B
triadic
#B23FA4 #A4B23F #3FA4B2
tetradic
#B23FA4 #B2863F #3FB24D #3F6BB2
square
#B23FA4 #B2863F #3FB24D #3F6BB2
split-complementary
#B23FA4 #6BB23F #3FB286
monochromatic
#581F51 #852F7A #B23FA4 #C966BD #D993D0

Accessibility & contrast

On white

5.07
#B23FA4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #B23FA4
5.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B23FA4#FFFFFF#000000##FFFFFF
##B23FA41.005.074.145.07
#FFFFFF5.071.0021.001.00
#0000004.1421.001.0021.00
##FFFFFF5.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3B64A7
Deuteranopia (green-blind)
#6274A1
Tritanopia (blue-blind)
#BA496C
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #b23fa4;
/* rgb */ color: rgb(178, 63, 164);
/* oklch */ color: oklch(56.4% 0.188 332.9);
Tailwind
colors: {
  custom: {
    50: '#cc7cbf',
    500: '#b23fa4',
    950: '#000000',
  },
}
SCSS
$custom: #b23fa4;
$custom-light: #cc7cbf;
$custom-dark: #000000;
JSON
{
  "hex": "#b23fa4",
  "rgb": {
    "r": 178,
    "g": 63,
    "b": 164
  },
  "hsl": {
    "h": 307.304,
    "s": 47.718,
    "l": 47.255
  },
  "oklch": {
    "l": 0.56407,
    "c": 0.18837,
    "h": 332.9
  },
  "luminance": 0.157
}

Semantic roles & 50–950 ramp

primary
#B23FA4
secondary
#89C490
accent
#D76150
background
#FCF7FB
surface
#F9EEF7
border
#D2C9D0
text
#140A12
muted
#827C81

Preview Lab

Preview with #B23FA4

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

Preview Lab → · Contrast checker → · Palette generator →

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