#B23FD2#B23FD2

#B23FD2 is a mid, highly saturated purple. Relative luminance 0.177; OKLCH L 59.0% C 0.227 H 317.9°. Best body text is #FFFFFF at 4.63:1 contrast (WCAG AA passes).

Color values

HEX#B23FD2
RGBrgb(178, 63, 210)
HSLhsl(287, 62%, 54%)
HSVhsv(287, 70%, 82%)
CMYKcmyk(15.2%, 70%, 0%, 17.6%)
CIE-LABlab(49.10, 66.40, -54.15)
CIE-LCHlch(49.10, 85.68, 320.80°)
OKLaboklab(59.03% 0.1685 -0.152)
OKLCHoklch(59.03% 0.227 317.9)
XYZxyz(31.7688, 17.6745, 62.6984)
Luminance0.1767 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B23FD2 #5FD23F
analogous
#683FD2 #B23FD2 #D23FA8
triadic
#B23FD2 #D2B23F #3FD2B2
tetradic
#B23FD2 #D2683F #5FD23F #3FA8D2
square
#B23FD2 #D2683F #5FD23F #3FA8D2
split-complementary
#B23FD2 #A8D23F #3FD268
monochromatic
#661D7A #8F28AC #B23FD2 #C671DE #DAA2E9

Accessibility & contrast

On white

4.63
#B23FD2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.53
#B23FD2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #B23FD2
4.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B23FD2#FFFFFF#000000##FFFFFF
##B23FD21.004.634.534.63
#FFFFFF4.631.0021.001.00
#0000004.5321.001.0021.00
##FFFFFF4.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006DD6
Deuteranopia (green-blind)
#4578CF
Tritanopia (blue-blind)
#B15C84
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #b23fd2;
/* rgb */ color: rgb(178, 63, 210);
/* oklch */ color: oklch(59.0% 0.227 317.9);
Tailwind
colors: {
  custom: {
    50: '#cd7ee0',
    500: '#b23fd2',
    950: '#000000',
  },
}
SCSS
$custom: #b23fd2;
$custom-light: #cd7ee0;
$custom-dark: #000000;
JSON
{
  "hex": "#b23fd2",
  "rgb": {
    "r": 178,
    "g": 63,
    "b": 210
  },
  "hsl": {
    "h": 286.939,
    "s": 62.025,
    "l": 53.529
  },
  "oklch": {
    "l": 0.59033,
    "c": 0.22694,
    "h": 317.9
  },
  "luminance": 0.17673
}

Semantic roles & 50–950 ramp

primary
#B23FD2
secondary
#A5D697
accent
#E54366
background
#FDF8FD
surface
#FAEFFB
border
#D3CAD4
text
#140B15
muted
#837C83

Preview Lab

Preview with #B23FD2

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

Preview Lab → · Contrast checker → · Palette generator →

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