#B23BD3#B23BD3

#B23BD3 is a mid, highly saturated purple. Relative luminance 0.173; OKLCH L 58.7% C 0.232 H 317.9°. Best body text is #FFFFFF at 4.71:1 contrast (WCAG AA passes).

Color values

HEX#B23BD3
RGBrgb(178, 59, 211)
HSLhsl(287, 63%, 53%)
HSVhsv(287, 72%, 83%)
CMYKcmyk(15.6%, 72%, 0%, 17.3%)
CIE-LABlab(48.63, 68.08, -55.47)
CIE-LCHlch(48.63, 87.82, 320.83°)
OKLaboklab(58.72% 0.1723 -0.1558)
OKLCHoklch(58.72% 0.232 317.9)
XYZxyz(31.6803, 17.2975, 63.2854)
Luminance0.1730 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B23BD3 #5CD33B
analogous
#663BD3 #B23BD3 #D33BA8
triadic
#B23BD3 #D3B23B #3BD3B2
tetradic
#B23BD3 #D3663B #5CD33B #3BA8D3
square
#B23BD3 #D3663B #5CD33B #3BA8D3
split-complementary
#B23BD3 #A8D33B #3BD366
monochromatic
#641B79 #8E26AB #B23BD3 #C66DDE #D99FE9

Accessibility & contrast

On white

4.71
#B23BD3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.46
#B23BD3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B23BD3
4.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B23BD3#FFFFFF#000000##FFFFFF
##B23BD31.004.714.464.71
#FFFFFF4.711.0021.001.00
#0000004.4621.001.0021.00
##FFFFFF4.711.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #b23bd3;
/* rgb */ color: rgb(178, 59, 211);
/* oklch */ color: oklch(58.7% 0.232 317.9);
Tailwind
colors: {
  custom: {
    50: '#cd7ce1',
    500: '#b23bd3',
    950: '#000000',
  },
}
SCSS
$custom: #b23bd3;
$custom-light: #cd7ce1;
$custom-dark: #000000;
JSON
{
  "hex": "#b23bd3",
  "rgb": {
    "r": 178,
    "g": 59,
    "b": 211
  },
  "hsl": {
    "h": 286.974,
    "s": 63.333,
    "l": 52.941
  },
  "oklch": {
    "l": 0.5872,
    "c": 0.23235,
    "h": 317.9
  },
  "luminance": 0.17296
}

Semantic roles & 50–950 ramp

primary
#B23BD3
secondary
#A2D694
accent
#E64165
background
#FDF8FD
surface
#FAEFFB
border
#D3CAD4
text
#140A15
muted
#837C83

Preview Lab

Preview with #B23BD3

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

Preview Lab → · Contrast checker → · Palette generator →

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