#B23DD3#B23DD3

#B23DD3 is a mid, highly saturated purple. Relative luminance 0.175; OKLCH L 58.9% C 0.230 H 317.8°. Best body text is #FFFFFF at 4.67:1 contrast (WCAG AA passes).

Color values

HEX#B23DD3
RGBrgb(178, 61, 211)
HSLhsl(287, 63%, 53%)
HSVhsv(287, 71%, 83%)
CMYKcmyk(15.6%, 71.1%, 0%, 17.3%)
CIE-LABlab(48.89, 67.35, -55.06)
CIE-LCHlch(48.89, 86.99, 320.73°)
OKLaboklab(58.91% 0.1704 -0.1546)
OKLCHoklch(58.91% 0.23 317.8)
XYZxyz(31.7850, 17.5070, 63.3203)
Luminance0.1751 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B23DD3 #5ED33D
analogous
#673DD3 #B23DD3 #D33DA9
triadic
#B23DD3 #D3B23D #3DD3B2
tetradic
#B23DD3 #D3673D #5ED33D #3DA9D3
square
#B23DD3 #D3673D #5ED33D #3DA9D3
split-complementary
#B23DD3 #A9D33D #3DD367
monochromatic
#651C7A #8F27AC #B23DD3 #C66FDE #DAA1EA

Accessibility & contrast

On white

4.67
#B23DD3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.50
#B23DD3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #B23DD3
4.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B23DD3#FFFFFF#000000##FFFFFF
##B23DD31.004.674.504.67
#FFFFFF4.671.0021.001.00
#0000004.5021.001.0021.00
##FFFFFF4.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006DD7
Deuteranopia (green-blind)
#4278D0
Tritanopia (blue-blind)
#B15B84
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #b23dd3;
/* rgb */ color: rgb(178, 61, 211);
/* oklch */ color: oklch(58.9% 0.230 317.8);
Tailwind
colors: {
  custom: {
    50: '#cd7de1',
    500: '#b23dd3',
    950: '#000000',
  },
}
SCSS
$custom: #b23dd3;
$custom-light: #cd7de1;
$custom-dark: #000000;
JSON
{
  "hex": "#b23dd3",
  "rgb": {
    "r": 178,
    "g": 61,
    "b": 211
  },
  "hsl": {
    "h": 286.8,
    "s": 63.025,
    "l": 53.333
  },
  "oklch": {
    "l": 0.58906,
    "c": 0.23012,
    "h": 317.8
  },
  "luminance": 0.17506
}

Semantic roles & 50–950 ramp

primary
#B23DD3
secondary
#A4D696
accent
#E64266
background
#FDF8FD
surface
#FAEFFB
border
#D3CAD4
text
#140A15
muted
#837C83

Preview Lab

Preview with #B23DD3

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

Preview Lab → · Contrast checker → · Palette generator →

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