#B23CD3#B23CD3

#B23CD3 is a mid, highly saturated purple. Relative luminance 0.174; OKLCH L 58.8% C 0.231 H 317.8°. Best body text is #FFFFFF at 4.69:1 contrast (WCAG AA passes).

Color values

HEX#B23CD3
RGBrgb(178, 60, 211)
HSLhsl(287, 63%, 53%)
HSVhsv(287, 72%, 83%)
CMYKcmyk(15.6%, 71.6%, 0%, 17.3%)
CIE-LABlab(48.76, 67.72, -55.27)
CIE-LCHlch(48.76, 87.41, 320.78°)
OKLaboklab(58.81% 0.1714 -0.1552)
OKLCHoklch(58.81% 0.231 317.8)
XYZxyz(31.7322, 17.4012, 63.3027)
Luminance0.1740 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B23CD3 #5DD33C
analogous
#663CD3 #B23CD3 #D33CA9
triadic
#B23CD3 #D3B23C #3CD3B2
tetradic
#B23CD3 #D3663C #5DD33C #3CA9D3
square
#B23CD3 #D3663C #5DD33C #3CA9D3
split-complementary
#B23CD3 #A9D33C #3CD366
monochromatic
#651B79 #8E27AB #B23CD3 #C66EDE #D9A0EA

Accessibility & contrast

On white

4.69
#B23CD3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.48
#B23CD3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B23CD3
4.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B23CD3#FFFFFF#000000##FFFFFF
##B23CD31.004.694.484.69
#FFFFFF4.691.0021.001.00
#0000004.4821.001.0021.00
##FFFFFF4.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006CD7
Deuteranopia (green-blind)
#4277D0
Tritanopia (blue-blind)
#B15A84
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #b23cd3;
/* rgb */ color: rgb(178, 60, 211);
/* oklch */ color: oklch(58.8% 0.231 317.8);
Tailwind
colors: {
  custom: {
    50: '#cd7ce1',
    500: '#b23cd3',
    950: '#000000',
  },
}
SCSS
$custom: #b23cd3;
$custom-light: #cd7ce1;
$custom-dark: #000000;
JSON
{
  "hex": "#b23cd3",
  "rgb": {
    "r": 178,
    "g": 60,
    "b": 211
  },
  "hsl": {
    "h": 286.887,
    "s": 63.18,
    "l": 53.137
  },
  "oklch": {
    "l": 0.58812,
    "c": 0.23124,
    "h": 317.8
  },
  "luminance": 0.174
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #B23CD3

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

Preview Lab → · Contrast checker → · Palette generator →

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