#B23DE1#B23DE1

#B23DE1 is a mid, highly saturated purple. Relative luminance 0.182; OKLCH L 59.8% C 0.242 H 314.2°. Best body text is #000000 at 4.65:1 contrast (WCAG AA passes).

Color values

HEX#B23DE1
RGBrgb(178, 61, 225)
HSLhsl(283, 73%, 56%)
HSVhsv(283, 73%, 88%)
CMYKcmyk(20.9%, 72.9%, 0%, 11.8%)
CIE-LABlab(49.79, 70.04, -61.60)
CIE-LCHlch(49.79, 93.27, 318.67°)
OKLaboklab(59.83% 0.1689 -0.1738)
OKLCHoklch(59.83% 0.242 314.2)
XYZxyz(33.6171, 18.2398, 72.9694)
Luminance0.1824 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B23DE1 #6CE13D
analogous
#603DE1 #B23DE1 #E13DBE
triadic
#B23DE1 #E1B23D #3DE1B2
tetradic
#B23DE1 #E1603D #6CE13D #3DBEE1
square
#B23DE1 #E1603D #6CE13D #3DBEE1
split-complementary
#B23DE1 #BEE13D #3DE160
monochromatic
#6B168E #941EC3 #B23DE1 #C772E9 #DCA7F1

Accessibility & contrast

On white

4.52
#B23DE1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.65
#B23DE1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B23DE1
4.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B23DE1#FFFFFF#000000##000000
##B23DE11.004.524.654.65
#FFFFFF4.521.0021.0021.00
#0000004.6521.001.001.00
##0000004.6521.001.001.00

Color blindness preview

Protanopia (red-blind)
#0070E6
Deuteranopia (green-blind)
#3279DD
Tritanopia (blue-blind)
#AE618C
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #b23de1;
/* rgb */ color: rgb(178, 61, 225);
/* oklch */ color: oklch(59.8% 0.242 314.2);
Tailwind
colors: {
  custom: {
    50: '#ce7deb',
    500: '#b23de1',
    950: '#000000',
  },
}
SCSS
$custom: #b23de1;
$custom-light: #ce7deb;
$custom-dark: #000000;
JSON
{
  "hex": "#b23de1",
  "rgb": {
    "r": 178,
    "g": 61,
    "b": 225
  },
  "hsl": {
    "h": 282.805,
    "s": 73.214,
    "l": 56.078
  },
  "oklch": {
    "l": 0.59825,
    "c": 0.24236,
    "h": 314.2
  },
  "luminance": 0.18239
}

Semantic roles & 50–950 ramp

primary
#B23DE1
secondary
#AEDF9B
accent
#F0386D
background
#FDF8FE
surface
#FAEFFD
border
#D3CAD5
text
#140B16
muted
#837C84

Preview Lab

Preview with #B23DE1

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

Preview Lab → · Contrast checker → · Palette generator →

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