#B23CB3#B23CB3

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

Color values

HEX#B23CB3
RGBrgb(178, 60, 179)
HSLhsl(299, 50%, 47%)
HSVhsv(299, 66%, 70%)
CMYKcmyk(0.6%, 66.5%, 0%, 29.8%)
CIE-LABlab(46.91, 61.96, -39.66)
CIE-LCHlch(46.91, 73.56, 327.38°)
OKLaboklab(56.89% 0.1723 -0.1097)
OKLCHoklch(56.89% 0.204 327.5)
XYZxyz(28.1122, 15.9533, 44.2377)
Luminance0.1595 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B23CB3 #3DB33C
analogous
#773CB3 #B23CB3 #B33C79
triadic
#B23CB3 #B3B23C #3CB3B2
tetradic
#B23CB3 #B3773C #3DB33C #3C79B3
square
#B23CB3 #B3773C #3DB33C #3C79B3
split-complementary
#B23CB3 #79B33C #3CB377
monochromatic
#571D57 #842D85 #B23CB3 #C962CA #D990DA

Accessibility & contrast

On white

5.01
#B23CB3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.19
#B23CB3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B23CB3
5.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B23CB3#FFFFFF#000000##FFFFFF
##B23CB31.005.014.195.01
#FFFFFF5.011.0021.001.00
#0000004.1921.001.0021.00
##FFFFFF5.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2A65B6
Deuteranopia (green-blind)
#5975B0
Tritanopia (blue-blind)
#B74D73
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #b23cb3;
/* rgb */ color: rgb(178, 60, 179);
/* oklch */ color: oklch(56.9% 0.204 327.5);
Tailwind
colors: {
  custom: {
    50: '#cc7bca',
    500: '#b23cb3',
    950: '#000000',
  },
}
SCSS
$custom: #b23cb3;
$custom-light: #cc7bca;
$custom-dark: #000000;
JSON
{
  "hex": "#b23cb3",
  "rgb": {
    "r": 178,
    "g": 60,
    "b": 179
  },
  "hsl": {
    "h": 299.496,
    "s": 49.791,
    "l": 46.863
  },
  "oklch": {
    "l": 0.56893,
    "c": 0.20424,
    "h": 327.5
  },
  "luminance": 0.15951
}

Semantic roles & 50–950 ramp

primary
#B23CB3
secondary
#87C586
accent
#D94E50
background
#FDF7FC
surface
#FAEEF8
border
#D3C9D1
text
#140A13
muted
#837C82

Preview Lab

Preview with #B23CB3

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

Preview Lab → · Contrast checker → · Palette generator →

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