#B23FD5#B23FD5

#B23FD5 is a mid, highly saturated purple. Relative luminance 0.178; OKLCH L 59.2% C 0.230 H 317.1°. Best body text is #FFFFFF at 4.60:1 contrast (WCAG AA passes).

Color values

HEX#B23FD5
RGBrgb(178, 63, 213)
HSLhsl(286, 64%, 54%)
HSVhsv(286, 70%, 84%)
CMYKcmyk(16.4%, 70.4%, 0%, 16.5%)
CIE-LABlab(49.28, 66.97, -55.57)
CIE-LCHlch(49.28, 87.02, 320.31°)
OKLaboklab(59.22% 0.1683 -0.1562)
OKLCHoklch(59.22% 0.23 317.1)
XYZxyz(32.1461, 17.8254, 64.6852)
Luminance0.1782 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B23FD5 #62D53F
analogous
#673FD5 #B23FD5 #D53FAD
triadic
#B23FD5 #D5B23F #3FD5B2
tetradic
#B23FD5 #D5673F #62D53F #3FADD5
square
#B23FD5 #D5673F #62D53F #3FADD5
split-complementary
#B23FD5 #ADD53F #3FD567
monochromatic
#671C7E #9027B0 #B23FD5 #C671E0 #DAA3EB

Accessibility & contrast

On white

4.60
#B23FD5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.56
#B23FD5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #B23FD5
4.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B23FD5#FFFFFF#000000##FFFFFF
##B23FD51.004.604.564.60
#FFFFFF4.601.0021.001.00
#0000004.5621.001.0021.00
##FFFFFF4.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006ED9
Deuteranopia (green-blind)
#4279D2
Tritanopia (blue-blind)
#B05D86
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #b23fd5;
/* rgb */ color: rgb(178, 63, 213);
/* oklch */ color: oklch(59.2% 0.230 317.1);
Tailwind
colors: {
  custom: {
    50: '#cd7ee3',
    500: '#b23fd5',
    950: '#000000',
  },
}
SCSS
$custom: #b23fd5;
$custom-light: #cd7ee3;
$custom-dark: #000000;
JSON
{
  "hex": "#b23fd5",
  "rgb": {
    "r": 178,
    "g": 63,
    "b": 213
  },
  "hsl": {
    "h": 286,
    "s": 64.103,
    "l": 54.118
  },
  "oklch": {
    "l": 0.59224,
    "c": 0.22958,
    "h": 317.1
  },
  "luminance": 0.17824
}

Semantic roles & 50–950 ramp

primary
#B23FD5
secondary
#A7D898
accent
#E74168
background
#FDF8FE
surface
#FAEFFC
border
#D3CAD5
text
#140B15
muted
#837C84

Preview Lab

Preview with #B23FD5

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

Preview Lab → · Contrast checker → · Palette generator →

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