#B23DC2#B23DC2

#B23DC2 is a mid, highly saturated purple. Relative luminance 0.167; OKLCH L 57.9% C 0.215 H 322.7°. Best body text is #FFFFFF at 4.84:1 contrast (WCAG AA passes).

Color values

HEX#B23DC2
RGBrgb(178, 61, 194)
HSLhsl(293, 52%, 50%)
HSVhsv(293, 69%, 76%)
CMYKcmyk(8.2%, 68.6%, 0%, 23.9%)
CIE-LABlab(47.88, 64.20, -46.88)
CIE-LCHlch(47.88, 79.50, 323.87°)
OKLaboklab(57.86% 0.1713 -0.1307)
OKLCHoklch(57.86% 0.215 322.7)
XYZxyz(29.7655, 16.6992, 52.6839)
Luminance0.1670 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B23DC2 #4DC23D
analogous
#703DC2 #B23DC2 #C23D8F
triadic
#B23DC2 #C2B23D #3DC2B2
tetradic
#B23DC2 #C2703D #4DC23D #3D8FC2
square
#B23DC2 #C2703D #4DC23D #3D8FC2
split-complementary
#B23DC2 #8FC23D #3DC270
monochromatic
#5D2065 #872E93 #B23DC2 #C46CD1 #D79ADF

Accessibility & contrast

On white

4.84
#B23DC2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.34
#B23DC2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B23DC2
4.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B23DC2#FFFFFF#000000##FFFFFF
##B23DC21.004.844.344.84
#FFFFFF4.841.0021.001.00
#0000004.3421.001.0021.00
##FFFFFF4.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1369C6
Deuteranopia (green-blind)
#5076BF
Tritanopia (blue-blind)
#B4547B
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #b23dc2;
/* rgb */ color: rgb(178, 61, 194);
/* oklch */ color: oklch(57.9% 0.215 322.7);
Tailwind
colors: {
  custom: {
    50: '#cd7cd5',
    500: '#b23dc2',
    950: '#000000',
  },
}
SCSS
$custom: #b23dc2;
$custom-light: #cd7cd5;
$custom-dark: #000000;
JSON
{
  "hex": "#b23dc2",
  "rgb": {
    "r": 178,
    "g": 61,
    "b": 194
  },
  "hsl": {
    "h": 292.782,
    "s": 52.157,
    "l": 50
  },
  "oklch": {
    "l": 0.57855,
    "c": 0.21549,
    "h": 322.7
  },
  "luminance": 0.16698
}

Semantic roles & 50–950 ramp

primary
#B23DC2
secondary
#97CB90
accent
#DC4C5D
background
#FDF8FD
surface
#FAEFFA
border
#D3CAD3
text
#140A14
muted
#837C83

Preview Lab

Preview with #B23DC2

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

Preview Lab → · Contrast checker → · Palette generator →

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