#B23EA9#B23EA9

#B23EA9 is a mid, vivid purple. Relative luminance 0.158; OKLCH L 56.6% C 0.194 H 331.0°. Best body text is #FFFFFF at 5.05:1 contrast (WCAG AA passes).

Color values

HEX#B23EA9
RGBrgb(178, 62, 169)
HSLhsl(305, 48%, 47%)
HSVhsv(305, 65%, 70%)
CMYKcmyk(0%, 65.2%, 5.1%, 30.2%)
CIE-LABlab(46.68, 59.50, -34.13)
CIE-LCHlch(46.68, 68.59, 330.16°)
OKLaboklab(56.56% 0.1694 -0.0938)
OKLCHoklch(56.56% 0.194 331)
XYZxyz(27.2441, 15.7768, 39.1387)
Luminance0.1578 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B23EA9 #3EB247
analogous
#813EB2 #B23EA9 #B23E6F
triadic
#B23EA9 #A9B23E #3EA9B2
tetradic
#B23EA9 #B2813E #3EB247 #3E6FB2
square
#B23EA9 #B2813E #3EB247 #3E6FB2
split-complementary
#B23EA9 #6FB23E #3EB281
monochromatic
#571E53 #852E7E #B23EA9 #C964C1 #D992D3

Accessibility & contrast

On white

5.05
#B23EA9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.15
#B23EA9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B23EA9
5.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B23EA9#FFFFFF#000000##FFFFFF
##B23EA91.005.054.155.05
#FFFFFF5.051.0021.001.00
#0000004.1521.001.0021.00
##FFFFFF5.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3664AC
Deuteranopia (green-blind)
#5F74A6
Tritanopia (blue-blind)
#B94A6E
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #b23ea9;
/* rgb */ color: rgb(178, 62, 169);
/* oklch */ color: oklch(56.6% 0.194 331.0);
Tailwind
colors: {
  custom: {
    50: '#cc7cc3',
    500: '#b23ea9',
    950: '#000000',
  },
}
SCSS
$custom: #b23ea9;
$custom-light: #cc7cc3;
$custom-dark: #000000;
JSON
{
  "hex": "#b23ea9",
  "rgb": {
    "r": 178,
    "g": 62,
    "b": 169
  },
  "hsl": {
    "h": 304.655,
    "s": 48.333,
    "l": 47.059
  },
  "oklch": {
    "l": 0.56558,
    "c": 0.19363,
    "h": 331
  },
  "luminance": 0.15775
}

Semantic roles & 50–950 ramp

primary
#B23EA9
secondary
#88C48C
accent
#D85A50
background
#FCF7FC
surface
#F9EEF8
border
#D2C9D1
text
#140A12
muted
#827C81

Preview Lab

Preview with #B23EA9

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

Preview Lab → · Contrast checker → · Palette generator →

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