#B23CC9#B23CC9

#B23CC9 is a mid, highly saturated purple. Relative luminance 0.169; OKLCH L 58.2% C 0.223 H 320.6°. Best body text is #FFFFFF at 4.79:1 contrast (WCAG AA passes).

Color values

HEX#B23CC9
RGBrgb(178, 60, 201)
HSLhsl(290, 57%, 51%)
HSVhsv(290, 70%, 79%)
CMYKcmyk(11.4%, 70.1%, 0%, 21.2%)
CIE-LABlab(48.15, 65.86, -50.49)
CIE-LCHlch(48.15, 82.98, 322.52°)
OKLaboklab(58.18% 0.1721 -0.1413)
OKLCHoklch(58.18% 0.223 320.6)
XYZxyz(30.5173, 16.9153, 56.9045)
Luminance0.1691 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B23CC9 #53C93C
analogous
#6B3CC9 #B23CC9 #C93C99
triadic
#B23CC9 #C9B23C #3CC9B2
tetradic
#B23CC9 #C96B3C #53C93C #3C99C9
square
#B23CC9 #C96B3C #53C93C #3C99C9
split-complementary
#B23CC9 #99C93C #3CC96B
monochromatic
#601E6D #8A2B9C #B23CC9 #C56CD6 #D89CE4

Accessibility & contrast

On white

4.79
#B23CC9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.38
#B23CC9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B23CC9
4.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B23CC9#FFFFFF#000000##FFFFFF
##B23CC91.004.794.384.79
#FFFFFF4.791.0021.001.00
#0000004.3821.001.0021.00
##FFFFFF4.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006ACD
Deuteranopia (green-blind)
#4A76C6
Tritanopia (blue-blind)
#B3567F
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #b23cc9;
/* rgb */ color: rgb(178, 60, 201);
/* oklch */ color: oklch(58.2% 0.223 320.6);
Tailwind
colors: {
  custom: {
    50: '#cd7cda',
    500: '#b23cc9',
    950: '#000000',
  },
}
SCSS
$custom: #b23cc9;
$custom-light: #cd7cda;
$custom-dark: #000000;
JSON
{
  "hex": "#b23cc9",
  "rgb": {
    "r": 178,
    "g": 60,
    "b": 201
  },
  "hsl": {
    "h": 290.213,
    "s": 56.627,
    "l": 51.176
  },
  "oklch": {
    "l": 0.58183,
    "c": 0.22264,
    "h": 320.6
  },
  "luminance": 0.16914
}

Semantic roles & 50–950 ramp

primary
#B23CC9
secondary
#9BD091
accent
#E04861
background
#FDF8FD
surface
#FAEFFB
border
#D3CAD4
text
#140A15
muted
#837C83

Preview Lab

Preview with #B23CC9

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

Preview Lab → · Contrast checker → · Palette generator →

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