#B23CC1#B23CC1

#B23CC1 is a mid, highly saturated purple. Relative luminance 0.165; OKLCH L 57.7% C 0.216 H 323.0°. Best body text is #FFFFFF at 4.87:1 contrast (WCAG AA passes).

Color values

HEX#B23CC1
RGBrgb(178, 60, 193)
HSLhsl(293, 53%, 50%)
HSVhsv(293, 69%, 76%)
CMYKcmyk(7.8%, 68.9%, 0%, 24.3%)
CIE-LABlab(47.69, 64.41, -46.60)
CIE-LCHlch(47.69, 79.50, 324.11°)
OKLaboklab(57.7% 0.1724 -0.1299)
OKLCHoklch(57.7% 0.216 323)
XYZxyz(29.6007, 16.5486, 52.0768)
Luminance0.1655 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B23CC1 #4BC13C
analogous
#703CC1 #B23CC1 #C13C8E
triadic
#B23CC1 #C1B23C #3CC1B2
tetradic
#B23CC1 #C1703C #4BC13C #3C8EC1
square
#B23CC1 #C1703C #4BC13C #3C8EC1
split-complementary
#B23CC1 #8EC13C #3CC170
monochromatic
#5C1F64 #872D92 #B23CC1 #C56AD1 #D798DF

Accessibility & contrast

On white

4.87
#B23CC1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.31
#B23CC1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B23CC1
4.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B23CC1#FFFFFF#000000##FFFFFF
##B23CC11.004.874.314.87
#FFFFFF4.871.0021.001.00
#0000004.3121.001.0021.00
##FFFFFF4.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1268C5
Deuteranopia (green-blind)
#5076BE
Tritanopia (blue-blind)
#B5537A
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #b23cc1;
/* rgb */ color: rgb(178, 60, 193);
/* oklch */ color: oklch(57.7% 0.216 323.0);
Tailwind
colors: {
  custom: {
    50: '#cd7cd4',
    500: '#b23cc1',
    950: '#000000',
  },
}
SCSS
$custom: #b23cc1;
$custom-light: #cd7cd4;
$custom-dark: #000000;
JSON
{
  "hex": "#b23cc1",
  "rgb": {
    "r": 178,
    "g": 60,
    "b": 193
  },
  "hsl": {
    "h": 293.233,
    "s": 52.569,
    "l": 49.608
  },
  "oklch": {
    "l": 0.57699,
    "c": 0.21585,
    "h": 323
  },
  "luminance": 0.16547
}

Semantic roles & 50–950 ramp

primary
#B23CC1
secondary
#95CB8E
accent
#DC4C5C
background
#FDF7FD
surface
#FAEEFA
border
#D3C9D3
text
#140A14
muted
#837C83

Preview Lab

Preview with #B23CC1

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

Preview Lab → · Contrast checker → · Palette generator →

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