#B23FCE#B23FCE

#B23FCE is a mid, highly saturated purple. Relative luminance 0.175; OKLCH L 58.8% C 0.223 H 319.1°. Best body text is #FFFFFF at 4.67:1 contrast (WCAG AA passes).

Color values

HEX#B23FCE
RGBrgb(178, 63, 206)
HSLhsl(288, 59%, 53%)
HSVhsv(288, 69%, 81%)
CMYKcmyk(13.6%, 69.4%, 0%, 19.2%)
CIE-LABlab(48.86, 65.64, -52.24)
CIE-LCHlch(48.86, 83.89, 321.48°)
OKLaboklab(58.78% 0.1688 -0.1464)
OKLCHoklch(58.78% 0.223 319.1)
XYZxyz(31.2767, 17.4777, 60.1066)
Luminance0.1748 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B23FCE #5BCE3F
analogous
#6B3FCE #B23FCE #CE3FA2
triadic
#B23FCE #CEB23F #3FCEB2
tetradic
#B23FCE #CE6B3F #5BCE3F #3FA2CE
square
#B23FCE #CE6B3F #5BCE3F #3FA2CE
split-complementary
#B23FCE #A2CE3F #3FCE6B
monochromatic
#641E75 #8D2AA6 #B23FCE #C670DA #D9A1E7

Accessibility & contrast

On white

4.67
#B23FCE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.50
#B23FCE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #B23FCE
4.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B23FCE#FFFFFF#000000##FFFFFF
##B23FCE1.004.674.504.67
#FFFFFF4.671.0021.001.00
#0000004.5021.001.0021.00
##FFFFFF4.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006CD2
Deuteranopia (green-blind)
#4878CB
Tritanopia (blue-blind)
#B25A82
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #b23fce;
/* rgb */ color: rgb(178, 63, 206);
/* oklch */ color: oklch(58.8% 0.223 319.1);
Tailwind
colors: {
  custom: {
    50: '#cd7ede',
    500: '#b23fce',
    950: '#000000',
  },
}
SCSS
$custom: #b23fce;
$custom-light: #cd7ede;
$custom-dark: #000000;
JSON
{
  "hex": "#b23fce",
  "rgb": {
    "r": 178,
    "g": 63,
    "b": 206
  },
  "hsl": {
    "h": 288.252,
    "s": 59.336,
    "l": 52.745
  },
  "oklch": {
    "l": 0.58782,
    "c": 0.22343,
    "h": 319.1
  },
  "luminance": 0.17476
}

Semantic roles & 50–950 ramp

primary
#B23FCE
secondary
#A2D395
accent
#E34564
background
#FDF8FD
surface
#FAEFFB
border
#D3CAD4
text
#140B15
muted
#837C83

Preview Lab

Preview with #B23FCE

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

Preview Lab → · Contrast checker → · Palette generator →

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