#B23CC6#B23CC6

#B23CC6 is a mid, highly saturated purple. Relative luminance 0.168; OKLCH L 58.0% C 0.220 H 321.5°. Best body text is #FFFFFF at 4.82:1 contrast (WCAG AA passes).

Color values

HEX#B23CC6
RGBrgb(178, 60, 198)
HSLhsl(291, 55%, 51%)
HSVhsv(291, 70%, 78%)
CMYKcmyk(10.1%, 69.7%, 0%, 22.4%)
CIE-LABlab(47.98, 65.31, -49.04)
CIE-LCHlch(47.98, 81.67, 323.10°)
OKLaboklab(58% 0.1722 -0.137)
OKLCHoklch(58% 0.22 321.5)
XYZxyz(30.1679, 16.7755, 55.0641)
Luminance0.1677 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B23CC6 #50C63C
analogous
#6D3CC6 #B23CC6 #C63C95
triadic
#B23CC6 #C6B23C #3CC6B2
tetradic
#B23CC6 #C66D3C #50C63C #3C95C6
square
#B23CC6 #C66D3C #50C63C #3C95C6
split-complementary
#B23CC6 #95C63C #3CC66D
monochromatic
#5E1F69 #892D98 #B23CC6 #C56BD4 #D79BE2

Accessibility & contrast

On white

4.82
#B23CC6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #B23CC6
4.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B23CC6#FFFFFF#000000##FFFFFF
##B23CC61.004.824.354.82
#FFFFFF4.821.0021.001.00
#0000004.3521.001.0021.00
##FFFFFF4.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0069CA
Deuteranopia (green-blind)
#4D76C3
Tritanopia (blue-blind)
#B4557D
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #b23cc6;
/* rgb */ color: rgb(178, 60, 198);
/* oklch */ color: oklch(58.0% 0.220 321.5);
Tailwind
colors: {
  custom: {
    50: '#cd7cd8',
    500: '#b23cc6',
    950: '#000000',
  },
}
SCSS
$custom: #b23cc6;
$custom-light: #cd7cd8;
$custom-dark: #000000;
JSON
{
  "hex": "#b23cc6",
  "rgb": {
    "r": 178,
    "g": 60,
    "b": 198
  },
  "hsl": {
    "h": 291.304,
    "s": 54.762,
    "l": 50.588
  },
  "oklch": {
    "l": 0.58,
    "c": 0.22008,
    "h": 321.5
  },
  "luminance": 0.16774
}

Semantic roles & 50–950 ramp

primary
#B23CC6
secondary
#99CE90
accent
#DE4A5F
background
#FDF8FD
surface
#FAEFFA
border
#D3CAD3
text
#140A14
muted
#837C83

Preview Lab

Preview with #B23CC6

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

Preview Lab → · Contrast checker → · Palette generator →

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