#B23DD2#B23DD2

#B23DD2 is a mid, highly saturated purple. Relative luminance 0.175; OKLCH L 58.8% C 0.229 H 318.0°. Best body text is #FFFFFF at 4.68:1 contrast (WCAG AA passes).

Color values

HEX#B23DD2
RGBrgb(178, 61, 210)
HSLhsl(287, 62%, 53%)
HSVhsv(287, 71%, 82%)
CMYKcmyk(15.2%, 71%, 0%, 17.6%)
CIE-LABlab(48.83, 67.16, -54.58)
CIE-LCHlch(48.83, 86.54, 320.90°)
OKLaboklab(58.84% 0.1705 -0.1532)
OKLCHoklch(58.84% 0.229 318)
XYZxyz(31.6601, 17.4570, 62.6621)
Luminance0.1746 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B23DD2 #5DD23D
analogous
#673DD2 #B23DD2 #D23DA7
triadic
#B23DD2 #D2B23D #3DD2B2
tetradic
#B23DD2 #D2673D #5DD23D #3DA7D2
square
#B23DD2 #D2673D #5DD23D #3DA7D2
split-complementary
#B23DD2 #A7D23D #3DD267
monochromatic
#651C79 #8E28AA #B23DD2 #C66FDE #D9A0E9

Accessibility & contrast

On white

4.68
#B23DD2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.49
#B23DD2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B23DD2
4.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B23DD2#FFFFFF#000000##FFFFFF
##B23DD21.004.684.494.68
#FFFFFF4.681.0021.001.00
#0000004.4921.001.0021.00
##FFFFFF4.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006DD6
Deuteranopia (green-blind)
#4378CF
Tritanopia (blue-blind)
#B15B84
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #b23dd2;
/* rgb */ color: rgb(178, 61, 210);
/* oklch */ color: oklch(58.8% 0.229 318.0);
Tailwind
colors: {
  custom: {
    50: '#cd7de0',
    500: '#b23dd2',
    950: '#000000',
  },
}
SCSS
$custom: #b23dd2;
$custom-light: #cd7de0;
$custom-dark: #000000;
JSON
{
  "hex": "#b23dd2",
  "rgb": {
    "r": 178,
    "g": 61,
    "b": 210
  },
  "hsl": {
    "h": 287.114,
    "s": 62.343,
    "l": 53.137
  },
  "oklch": {
    "l": 0.58842,
    "c": 0.22924,
    "h": 318
  },
  "luminance": 0.17456
}

Semantic roles & 50–950 ramp

primary
#B23DD2
secondary
#A3D695
accent
#E54265
background
#FDF8FD
surface
#FAEFFB
border
#D3CAD4
text
#140A15
muted
#837C83

Preview Lab

Preview with #B23DD2

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

Preview Lab → · Contrast checker → · Palette generator →

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