#B23CCC#B23CCC

#B23CCC is a mid, highly saturated purple. Relative luminance 0.171; OKLCH L 58.4% C 0.225 H 319.8°. Best body text is #FFFFFF at 4.76:1 contrast (WCAG AA passes).

Color values

HEX#B23CCC
RGBrgb(178, 60, 204)
HSLhsl(289, 59%, 52%)
HSVhsv(289, 71%, 80%)
CMYKcmyk(12.7%, 70.6%, 0%, 20%)
CIE-LABlab(48.33, 66.41, -51.93)
CIE-LCHlch(48.33, 84.30, 321.97°)
OKLaboklab(58.37% 0.1719 -0.1455)
OKLCHoklch(58.37% 0.225 319.8)
XYZxyz(30.8737, 17.0578, 58.7813)
Luminance0.1706 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B23CCC #56CC3C
analogous
#6A3CCC #B23CCC #CC3C9E
triadic
#B23CCC #CCB23C #3CCCB2
tetradic
#B23CCC #CC6A3C #56CC3C #3C9ECC
square
#B23CCC #CC6A3C #56CC3C #3C9ECC
split-complementary
#B23CCC #9ECC3C #3CCC6A
monochromatic
#611D70 #8B2AA1 #B23CCC #C56DD9 #D89DE5

Accessibility & contrast

On white

4.76
#B23CCC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.41
#B23CCC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B23CCC
4.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B23CCC#FFFFFF#000000##FFFFFF
##B23CCC1.004.764.414.76
#FFFFFF4.761.0021.001.00
#0000004.4121.001.0021.00
##FFFFFF4.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006BD0
Deuteranopia (green-blind)
#4877C9
Tritanopia (blue-blind)
#B25780
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #b23ccc;
/* rgb */ color: rgb(178, 60, 204);
/* oklch */ color: oklch(58.4% 0.225 319.8);
Tailwind
colors: {
  custom: {
    50: '#cd7cdc',
    500: '#b23ccc',
    950: '#000000',
  },
}
SCSS
$custom: #b23ccc;
$custom-light: #cd7cdc;
$custom-dark: #000000;
JSON
{
  "hex": "#b23ccc",
  "rgb": {
    "r": 178,
    "g": 60,
    "b": 204
  },
  "hsl": {
    "h": 289.167,
    "s": 58.537,
    "l": 51.765
  },
  "oklch": {
    "l": 0.58369,
    "c": 0.2252,
    "h": 319.8
  },
  "luminance": 0.17056
}

Semantic roles & 50–950 ramp

primary
#B23CCC
secondary
#9ED192
accent
#E24662
background
#FDF8FD
surface
#FAEFFB
border
#D3CAD4
text
#140A15
muted
#837C83

Preview Lab

Preview with #B23CCC

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

Preview Lab → · Contrast checker → · Palette generator →

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