#B23CA6#B23CA6

#B23CA6 is a mid, vivid purple. Relative luminance 0.154; OKLCH L 56.2% C 0.194 H 332.1°. Best body text is #FFFFFF at 5.13:1 contrast (WCAG AA passes).

Color values

HEX#B23CA6
RGBrgb(178, 60, 166)
HSLhsl(306, 50%, 47%)
HSVhsv(306, 66%, 70%)
CMYKcmyk(0%, 66.3%, 6.7%, 30.2%)
CIE-LABlab(46.25, 59.80, -33.04)
CIE-LCHlch(46.25, 68.32, 331.08°)
OKLaboklab(56.2% 0.1715 -0.0906)
OKLCHoklch(56.2% 0.194 332.1)
XYZxyz(26.8589, 15.4519, 37.6369)
Luminance0.1545 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B23CA6 #3CB248
analogous
#833CB2 #B23CA6 #B23C6B
triadic
#B23CA6 #A6B23C #3CA6B2
tetradic
#B23CA6 #B2833C #3CB248 #3C6BB2
square
#B23CA6 #B2833C #3CB248 #3C6BB2
split-complementary
#B23CA6 #6BB23C #3CB283
monochromatic
#561D51 #842D7B #B23CA6 #CA61BF #D98FD2

Accessibility & contrast

On white

5.13
#B23CA6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.09
#B23CA6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B23CA6
5.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B23CA6#FFFFFF#000000##FFFFFF
##B23CA61.005.134.095.13
#FFFFFF5.131.0021.001.00
#0000004.0921.001.0021.00
##FFFFFF5.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3663A9
Deuteranopia (green-blind)
#5F74A3
Tritanopia (blue-blind)
#B9476C
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #b23ca6;
/* rgb */ color: rgb(178, 60, 166);
/* oklch */ color: oklch(56.2% 0.194 332.1);
Tailwind
colors: {
  custom: {
    50: '#cc7bc1',
    500: '#b23ca6',
    950: '#000000',
  },
}
SCSS
$custom: #b23ca6;
$custom-light: #cc7bc1;
$custom-dark: #000000;
JSON
{
  "hex": "#b23ca6",
  "rgb": {
    "r": 178,
    "g": 60,
    "b": 166
  },
  "hsl": {
    "h": 306.102,
    "s": 49.58,
    "l": 46.667
  },
  "oklch": {
    "l": 0.56196,
    "c": 0.19392,
    "h": 332.1
  },
  "luminance": 0.1545
}

Semantic roles & 50–950 ramp

primary
#B23CA6
secondary
#86C48C
accent
#D95D4F
background
#FCF7FB
surface
#F9EEF7
border
#D2C9D0
text
#140A12
muted
#827C81

Preview Lab

Preview with #B23CA6

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

Preview Lab → · Contrast checker → · Palette generator →

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