#B23CB4#B23CB4

#B23CB4 is a mid, highly saturated purple. Relative luminance 0.160; OKLCH L 56.9% C 0.205 H 327.2°. Best body text is #FFFFFF at 5.00:1 contrast (WCAG AA passes).

Color values

HEX#B23CB4
RGBrgb(178, 60, 180)
HSLhsl(299, 50%, 47%)
HSVhsv(299, 67%, 71%)
CMYKcmyk(1.1%, 66.7%, 0%, 29.4%)
CIE-LABlab(46.97, 62.13, -40.16)
CIE-LCHlch(46.97, 73.98, 327.12°)
OKLaboklab(56.95% 0.1723 -0.1112)
OKLCHoklch(56.95% 0.205 327.2)
XYZxyz(28.2137, 15.9939, 44.7723)
Luminance0.1599 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B23CB4 #3EB43C
analogous
#763CB4 #B23CB4 #B43C7A
triadic
#B23CB4 #B4B23C #3CB4B2
tetradic
#B23CB4 #B4763C #3EB43C #3C7AB4
square
#B23CB4 #B4763C #3EB43C #3C7AB4
split-complementary
#B23CB4 #7AB43C #3CB476
monochromatic
#571D58 #852D86 #B23CB4 #C962CB #D990DA

Accessibility & contrast

On white

5.00
#B23CB4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.20
#B23CB4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B23CB4
5.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B23CB4#FFFFFF#000000##FFFFFF
##B23CB41.005.004.205.00
#FFFFFF5.001.0021.001.00
#0000004.2021.001.0021.00
##FFFFFF5.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2966B7
Deuteranopia (green-blind)
#5875B1
Tritanopia (blue-blind)
#B74D73
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #b23cb4;
/* rgb */ color: rgb(178, 60, 180);
/* oklch */ color: oklch(56.9% 0.205 327.2);
Tailwind
colors: {
  custom: {
    50: '#cc7bcb',
    500: '#b23cb4',
    950: '#000000',
  },
}
SCSS
$custom: #b23cb4;
$custom-light: #cc7bcb;
$custom-dark: #000000;
JSON
{
  "hex": "#b23cb4",
  "rgb": {
    "r": 178,
    "g": 60,
    "b": 180
  },
  "hsl": {
    "h": 299,
    "s": 50,
    "l": 47.059
  },
  "oklch": {
    "l": 0.56949,
    "c": 0.20507,
    "h": 327.2
  },
  "luminance": 0.15992
}

Semantic roles & 50–950 ramp

primary
#B23CB4
secondary
#88C587
accent
#DA4E51
background
#FDF7FC
surface
#FAEEF8
border
#D3C9D1
text
#140A13
muted
#837C82

Preview Lab

Preview with #B23CB4

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

Preview Lab → · Contrast checker → · Palette generator →

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