#B23EC9#B23EC9

#B23EC9 is a mid, highly saturated purple. Relative luminance 0.171; OKLCH L 58.4% C 0.220 H 320.5°. Best body text is #FFFFFF at 4.75:1 contrast (WCAG AA passes).

Color values

HEX#B23EC9
RGBrgb(178, 62, 201)
HSLhsl(290, 56%, 52%)
HSVhsv(290, 69%, 79%)
CMYKcmyk(11.4%, 69.2%, 0%, 21.2%)
CIE-LABlab(48.42, 65.10, -50.06)
CIE-LCHlch(48.42, 82.12, 322.44°)
OKLaboklab(58.38% 0.1701 -0.14)
OKLCHoklch(58.38% 0.22 320.5)
XYZxyz(30.6241, 17.1288, 56.9401)
Luminance0.1713 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B23EC9 #55C93E
analogous
#6D3EC9 #B23EC9 #C93E9B
triadic
#B23EC9 #C9B23E #3EC9B2
tetradic
#B23EC9 #C96D3E #55C93E #3E9BC9
square
#B23EC9 #C96D3E #55C93E #3E9BC9
split-complementary
#B23EC9 #9BC93E #3EC96D
monochromatic
#611F6E #8B2C9E #B23EC9 #C56ED6 #D89EE4

Accessibility & contrast

On white

4.75
#B23EC9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.43
#B23EC9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B23EC9
4.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B23EC9#FFFFFF#000000##FFFFFF
##B23EC91.004.754.434.75
#FFFFFF4.751.0021.001.00
#0000004.4321.001.0021.00
##FFFFFF4.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006BCD
Deuteranopia (green-blind)
#4C77C6
Tritanopia (blue-blind)
#B3577F
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #b23ec9;
/* rgb */ color: rgb(178, 62, 201);
/* oklch */ color: oklch(58.4% 0.220 320.5);
Tailwind
colors: {
  custom: {
    50: '#cd7dda',
    500: '#b23ec9',
    950: '#000000',
  },
}
SCSS
$custom: #b23ec9;
$custom-light: #cd7dda;
$custom-dark: #000000;
JSON
{
  "hex": "#b23ec9",
  "rgb": {
    "r": 178,
    "g": 62,
    "b": 201
  },
  "hsl": {
    "h": 290.072,
    "s": 56.275,
    "l": 51.569
  },
  "oklch": {
    "l": 0.58376,
    "c": 0.22028,
    "h": 320.5
  },
  "luminance": 0.17127
}

Semantic roles & 50–950 ramp

primary
#B23EC9
secondary
#9DD093
accent
#E04861
background
#FDF8FD
surface
#FAEFFB
border
#D3CAD4
text
#140A15
muted
#837C83

Preview Lab

Preview with #B23EC9

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

Preview Lab → · Contrast checker → · Palette generator →

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