#B23FA8#B23FA8

#B23FA8 is a mid, vivid purple. Relative luminance 0.158; OKLCH L 56.6% C 0.192 H 331.4°. Best body text is #FFFFFF at 5.04:1 contrast (WCAG AA passes).

Color values

HEX#B23FA8
RGBrgb(178, 63, 168)
HSLhsl(305, 48%, 47%)
HSVhsv(305, 65%, 70%)
CMYKcmyk(0%, 64.6%, 5.6%, 30.2%)
CIE-LABlab(46.78, 58.93, -33.39)
CIE-LCHlch(46.78, 67.73, 330.46°)
OKLaboklab(56.61% 0.1682 -0.0916)
OKLCHoklch(56.61% 0.192 331.4)
XYZxyz(27.2054, 15.8492, 38.6645)
Luminance0.1585 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B23FA8 #3FB249
analogous
#823FB2 #B23FA8 #B23F6F
triadic
#B23FA8 #A8B23F #3FA8B2
tetradic
#B23FA8 #B2823F #3FB249 #3F6FB2
square
#B23FA8 #B2823F #3FB249 #3F6FB2
split-complementary
#B23FA8 #6FB23F #3FB282
monochromatic
#581F53 #852F7D #B23FA8 #C966C0 #D993D3

Accessibility & contrast

On white

5.04
#B23FA8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.17
#B23FA8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B23FA8
5.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B23FA8#FFFFFF#000000##FFFFFF
##B23FA81.005.044.175.04
#FFFFFF5.041.0021.001.00
#0000004.1721.001.0021.00
##FFFFFF5.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3865AB
Deuteranopia (green-blind)
#6075A5
Tritanopia (blue-blind)
#B94A6E
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #b23fa8;
/* rgb */ color: rgb(178, 63, 168);
/* oklch */ color: oklch(56.6% 0.192 331.4);
Tailwind
colors: {
  custom: {
    50: '#cc7cc2',
    500: '#b23fa8',
    950: '#000000',
  },
}
SCSS
$custom: #b23fa8;
$custom-light: #cc7cc2;
$custom-dark: #000000;
JSON
{
  "hex": "#b23fa8",
  "rgb": {
    "r": 178,
    "g": 63,
    "b": 168
  },
  "hsl": {
    "h": 305.217,
    "s": 47.718,
    "l": 47.255
  },
  "oklch": {
    "l": 0.56611,
    "c": 0.19151,
    "h": 331.4
  },
  "luminance": 0.15847
}

Semantic roles & 50–950 ramp

primary
#B23FA8
secondary
#89C48E
accent
#D75C50
background
#FCF7FB
surface
#F9EEF7
border
#D2C9D0
text
#140A12
muted
#827C81

Preview Lab

Preview with #B23FA8

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

Preview Lab → · Contrast checker → · Palette generator →

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