#B23FCC#B23FCC

#B23FCC is a mid, highly saturated purple. Relative luminance 0.174; OKLCH L 58.7% C 0.222 H 319.6°. Best body text is #FFFFFF at 4.69:1 contrast (WCAG AA passes).

Color values

HEX#B23FCC
RGBrgb(178, 63, 204)
HSLhsl(289, 58%, 52%)
HSVhsv(289, 69%, 80%)
CMYKcmyk(12.7%, 69.1%, 0%, 20%)
CIE-LABlab(48.74, 65.27, -51.29)
CIE-LCHlch(48.74, 83.01, 321.84°)
OKLaboklab(58.66% 0.1689 -0.1436)
OKLCHoklch(58.66% 0.222 319.6)
XYZxyz(31.0353, 17.3811, 58.8352)
Luminance0.1738 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B23FCC #59CC3F
analogous
#6B3FCC #B23FCC #CC3FA0
triadic
#B23FCC #CCB23F #3FCCB2
tetradic
#B23FCC #CC6B3F #59CC3F #3FA0CC
square
#B23FCC #CC6B3F #59CC3F #3FA0CC
split-complementary
#B23FCC #A0CC3F #3FCC6B
monochromatic
#631E72 #8D2BA3 #B23FCC #C56FD9 #D9A0E6

Accessibility & contrast

On white

4.69
#B23FCC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.48
#B23FCC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B23FCC
4.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B23FCC#FFFFFF#000000##FFFFFF
##B23FCC1.004.694.484.69
#FFFFFF4.691.0021.001.00
#0000004.4821.001.0021.00
##FFFFFF4.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006CD0
Deuteranopia (green-blind)
#4A78C9
Tritanopia (blue-blind)
#B25981
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #b23fcc;
/* rgb */ color: rgb(178, 63, 204);
/* oklch */ color: oklch(58.7% 0.222 319.6);
Tailwind
colors: {
  custom: {
    50: '#cd7edc',
    500: '#b23fcc',
    950: '#000000',
  },
}
SCSS
$custom: #b23fcc;
$custom-light: #cd7edc;
$custom-dark: #000000;
JSON
{
  "hex": "#b23fcc",
  "rgb": {
    "r": 178,
    "g": 63,
    "b": 204
  },
  "hsl": {
    "h": 288.936,
    "s": 58.025,
    "l": 52.353
  },
  "oklch": {
    "l": 0.58658,
    "c": 0.22169,
    "h": 319.6
  },
  "luminance": 0.1738
}

Semantic roles & 50–950 ramp

primary
#B23FCC
secondary
#A0D295
accent
#E14763
background
#FDF8FD
surface
#FAEFFB
border
#D3CAD4
text
#140B15
muted
#837C83

Preview Lab

Preview with #B23FCC

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

Preview Lab → · Contrast checker → · Palette generator →

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