#B23CC5#B23CC5

#B23CC5 is a mid, highly saturated purple. Relative luminance 0.167; OKLCH L 57.9% C 0.219 H 321.8°. Best body text is #FFFFFF at 4.83:1 contrast (WCAG AA passes).

Color values

HEX#B23CC5
RGBrgb(178, 60, 197)
HSLhsl(292, 54%, 50%)
HSVhsv(292, 70%, 77%)
CMYKcmyk(9.6%, 69.5%, 0%, 22.7%)
CIE-LABlab(47.92, 65.13, -48.55)
CIE-LCHlch(47.92, 81.23, 323.29°)
OKLaboklab(57.94% 0.1723 -0.1356)
OKLCHoklch(57.94% 0.219 321.8)
XYZxyz(30.0529, 16.7295, 54.4586)
Luminance0.1673 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B23CC5 #4FC53C
analogous
#6D3CC5 #B23CC5 #C53C93
triadic
#B23CC5 #C5B23C #3CC5B2
tetradic
#B23CC5 #C56D3C #4FC53C #3C93C5
square
#B23CC5 #C56D3C #4FC53C #3C93C5
split-complementary
#B23CC5 #93C53C #3CC56D
monochromatic
#5E1F68 #882D97 #B23CC5 #C56BD3 #D79AE1

Accessibility & contrast

On white

4.83
#B23CC5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.35
#B23CC5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B23CC5
4.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B23CC5#FFFFFF#000000##FFFFFF
##B23CC51.004.834.354.83
#FFFFFF4.831.0021.001.00
#0000004.3521.001.0021.00
##FFFFFF4.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0369C9
Deuteranopia (green-blind)
#4D76C2
Tritanopia (blue-blind)
#B4547C
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #b23cc5;
/* rgb */ color: rgb(178, 60, 197);
/* oklch */ color: oklch(57.9% 0.219 321.8);
Tailwind
colors: {
  custom: {
    50: '#cd7cd7',
    500: '#b23cc5',
    950: '#000000',
  },
}
SCSS
$custom: #b23cc5;
$custom-light: #cd7cd7;
$custom-dark: #000000;
JSON
{
  "hex": "#b23cc5",
  "rgb": {
    "r": 178,
    "g": 60,
    "b": 197
  },
  "hsl": {
    "h": 291.679,
    "s": 54.15,
    "l": 50.392
  },
  "oklch": {
    "l": 0.57939,
    "c": 0.21924,
    "h": 321.8
  },
  "luminance": 0.16728
}

Semantic roles & 50–950 ramp

primary
#B23CC5
secondary
#98CD90
accent
#DE4A5F
background
#FDF8FD
surface
#FAEFFA
border
#D3CAD3
text
#140A14
muted
#837C83

Preview Lab

Preview with #B23CC5

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

Preview Lab → · Contrast checker → · Palette generator →

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