#B23FD8#B23FD8

#B23FD8 is a mid, highly saturated purple. Relative luminance 0.180; OKLCH L 59.4% C 0.232 H 316.3°. Best body text is #000000 at 4.60:1 contrast (WCAG AA passes).

Color values

HEX#B23FD8
RGBrgb(178, 63, 216)
HSLhsl(285, 66%, 55%)
HSVhsv(285, 71%, 85%)
CMYKcmyk(17.6%, 70.8%, 0%, 15.3%)
CIE-LABlab(49.47, 67.54, -56.98)
CIE-LCHlch(49.47, 88.37, 319.85°)
OKLaboklab(59.42% 0.168 -0.1603)
OKLCHoklch(59.42% 0.232 316.3)
XYZxyz(32.5304, 17.9792, 66.7092)
Luminance0.1798 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B23FD8 #65D83F
analogous
#663FD8 #B23FD8 #D83FB2
triadic
#B23FD8 #D8B23F #3FD8B2
tetradic
#B23FD8 #D8663F #65D83F #3FB2D8
square
#B23FD8 #D8663F #65D83F #3FB2D8
split-complementary
#B23FD8 #B2D83F #3FD866
monochromatic
#681A82 #9125B5 #B23FD8 #C672E2 #DBA5ED

Accessibility & contrast

On white

4.57
#B23FD8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.60
#B23FD8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B23FD8
4.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B23FD8#FFFFFF#000000##000000
##B23FD81.004.574.604.60
#FFFFFF4.571.0021.0021.00
#0000004.6021.001.001.00
##0000004.6021.001.001.00

Color blindness preview

Protanopia (red-blind)
#006FDC
Deuteranopia (green-blind)
#3F79D5
Tritanopia (blue-blind)
#B05E88
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #b23fd8;
/* rgb */ color: rgb(178, 63, 216);
/* oklch */ color: oklch(59.4% 0.232 316.3);
Tailwind
colors: {
  custom: {
    50: '#cd7ee5',
    500: '#b23fd8',
    950: '#000000',
  },
}
SCSS
$custom: #b23fd8;
$custom-light: #cd7ee5;
$custom-dark: #000000;
JSON
{
  "hex": "#b23fd8",
  "rgb": {
    "r": 178,
    "g": 63,
    "b": 216
  },
  "hsl": {
    "h": 285.098,
    "s": 66.234,
    "l": 54.706
  },
  "oklch": {
    "l": 0.59417,
    "c": 0.23222,
    "h": 316.3
  },
  "luminance": 0.17978
}

Semantic roles & 50–950 ramp

primary
#B23FD8
secondary
#A9DA99
accent
#E93F69
background
#FDF8FE
surface
#FAEFFC
border
#D3CAD5
text
#140B16
muted
#837C84

Preview Lab

Preview with #B23FD8

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

Preview Lab → · Contrast checker → · Palette generator →

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