#B23CCB#B23CCB

#B23CCB is a mid, highly saturated purple. Relative luminance 0.170; OKLCH L 58.3% C 0.224 H 320.0°. Best body text is #FFFFFF at 4.77:1 contrast (WCAG AA passes).

Color values

HEX#B23CCB
RGBrgb(178, 60, 203)
HSLhsl(290, 58%, 52%)
HSVhsv(290, 70%, 80%)
CMYKcmyk(12.3%, 70.4%, 0%, 20.4%)
CIE-LABlab(48.27, 66.22, -51.45)
CIE-LCHlch(48.27, 83.86, 322.15°)
OKLaboklab(58.31% 0.172 -0.1441)
OKLCHoklch(58.31% 0.224 320)
XYZxyz(30.7541, 17.0100, 58.1517)
Luminance0.1701 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B23CCB #55CB3C
analogous
#6A3CCB #B23CCB #CB3C9D
triadic
#B23CCB #CBB23C #3CCBB2
tetradic
#B23CCB #CB6A3C #55CB3C #3C9DCB
square
#B23CCB #CB6A3C #55CB3C #3C9DCB
split-complementary
#B23CCB #9DCB3C #3CCB6A
monochromatic
#611E6F #8B2A9F #B23CCB #C56CD8 #D89DE5

Accessibility & contrast

On white

4.77
#B23CCB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.40
#B23CCB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B23CCB
4.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B23CCB#FFFFFF#000000##FFFFFF
##B23CCB1.004.774.404.77
#FFFFFF4.771.0021.001.00
#0000004.4021.001.0021.00
##FFFFFF4.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006BCF
Deuteranopia (green-blind)
#4977C8
Tritanopia (blue-blind)
#B35780
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #b23ccb;
/* rgb */ color: rgb(178, 60, 203);
/* oklch */ color: oklch(58.3% 0.224 320.0);
Tailwind
colors: {
  custom: {
    50: '#cd7cdb',
    500: '#b23ccb',
    950: '#000000',
  },
}
SCSS
$custom: #b23ccb;
$custom-light: #cd7cdb;
$custom-dark: #000000;
JSON
{
  "hex": "#b23ccb",
  "rgb": {
    "r": 178,
    "g": 60,
    "b": 203
  },
  "hsl": {
    "h": 289.51,
    "s": 57.895,
    "l": 51.569
  },
  "oklch": {
    "l": 0.58307,
    "c": 0.22436,
    "h": 320
  },
  "luminance": 0.17008
}

Semantic roles & 50–950 ramp

primary
#B23CCB
secondary
#9DD192
accent
#E14762
background
#FDF8FD
surface
#FAEFFB
border
#D3CAD4
text
#140A15
muted
#837C83

Preview Lab

Preview with #B23CCB

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

Preview Lab → · Contrast checker → · Palette generator →

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