#B23FD6#B23FD6

#B23FD6 is a mid, highly saturated purple. Relative luminance 0.179; OKLCH L 59.3% C 0.230 H 316.9°. Best body text is #FFFFFF at 4.59:1 contrast (WCAG AA passes).

Color values

HEX#B23FD6
RGBrgb(178, 63, 214)
HSLhsl(286, 65%, 54%)
HSVhsv(286, 71%, 84%)
CMYKcmyk(16.8%, 70.6%, 0%, 16.1%)
CIE-LABlab(49.35, 67.16, -56.04)
CIE-LCHlch(49.35, 87.47, 320.16°)
OKLaboklab(59.29% 0.1682 -0.1575)
OKLCHoklch(59.29% 0.23 316.9)
XYZxyz(32.2734, 17.8764, 65.3558)
Luminance0.1787 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B23FD6 #63D63F
analogous
#663FD6 #B23FD6 #D63FAF
triadic
#B23FD6 #D6B23F #3FD6B2
tetradic
#B23FD6 #D6663F #63D63F #3FAFD6
square
#B23FD6 #D6663F #63D63F #3FAFD6
split-complementary
#B23FD6 #AFD63F #3FD666
monochromatic
#681B7F #9026B2 #B23FD6 #C671E1 #DAA4EC

Accessibility & contrast

On white

4.59
#B23FD6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.58
#B23FD6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #B23FD6
4.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B23FD6#FFFFFF#000000##FFFFFF
##B23FD61.004.594.584.59
#FFFFFF4.591.0021.001.00
#0000004.5821.001.0021.00
##FFFFFF4.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006EDA
Deuteranopia (green-blind)
#4179D3
Tritanopia (blue-blind)
#B05D87
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #b23fd6;
/* rgb */ color: rgb(178, 63, 214);
/* oklch */ color: oklch(59.3% 0.230 316.9);
Tailwind
colors: {
  custom: {
    50: '#cd7ee3',
    500: '#b23fd6',
    950: '#000000',
  },
}
SCSS
$custom: #b23fd6;
$custom-light: #cd7ee3;
$custom-dark: #000000;
JSON
{
  "hex": "#b23fd6",
  "rgb": {
    "r": 178,
    "g": 63,
    "b": 214
  },
  "hsl": {
    "h": 285.695,
    "s": 64.807,
    "l": 54.314
  },
  "oklch": {
    "l": 0.59288,
    "c": 0.23046,
    "h": 316.9
  },
  "luminance": 0.17875
}

Semantic roles & 50–950 ramp

primary
#B23FD6
secondary
#A8D898
accent
#E84068
background
#FDF8FE
surface
#FAEFFC
border
#D3CAD5
text
#140B15
muted
#837C84

Preview Lab

Preview with #B23FD6

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

Preview Lab → · Contrast checker → · Palette generator →

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