#B23EAA#B23EAA

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

Color values

HEX#B23EAA
RGBrgb(178, 62, 170)
HSLhsl(304, 48%, 47%)
HSVhsv(304, 65%, 70%)
CMYKcmyk(0%, 65.2%, 4.5%, 30.2%)
CIE-LABlab(46.73, 59.66, -34.65)
CIE-LCHlch(46.73, 68.99, 329.86°)
OKLaboklab(56.61% 0.1695 -0.0952)
OKLCHoklch(56.61% 0.194 330.7)
XYZxyz(27.3383, 15.8145, 39.6350)
Luminance0.1581 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B23EAA #3EB246
analogous
#803EB2 #B23EAA #B23E70
triadic
#B23EAA #AAB23E #3EAAB2
tetradic
#B23EAA #B2803E #3EB246 #3E70B2
square
#B23EAA #B2803E #3EB246 #3E70B2
split-complementary
#B23EAA #70B23E #3EB280
monochromatic
#571E53 #852E7F #B23EAA #C964C2 #D992D4

Accessibility & contrast

On white

5.04
#B23EAA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.16
#B23EAA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B23EAA
5.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B23EAA#FFFFFF#000000##FFFFFF
##B23EAA1.005.044.165.04
#FFFFFF5.041.0021.001.00
#0000004.1621.001.0021.00
##FFFFFF5.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3564AD
Deuteranopia (green-blind)
#5F74A7
Tritanopia (blue-blind)
#B94A6F
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #b23eaa;
/* rgb */ color: rgb(178, 62, 170);
/* oklch */ color: oklch(56.6% 0.194 330.7);
Tailwind
colors: {
  custom: {
    50: '#cc7cc3',
    500: '#b23eaa',
    950: '#000000',
  },
}
SCSS
$custom: #b23eaa;
$custom-light: #cc7cc3;
$custom-dark: #000000;
JSON
{
  "hex": "#b23eaa",
  "rgb": {
    "r": 178,
    "g": 62,
    "b": 170
  },
  "hsl": {
    "h": 304.138,
    "s": 48.333,
    "l": 47.059
  },
  "oklch": {
    "l": 0.5661,
    "c": 0.19443,
    "h": 330.7
  },
  "luminance": 0.15813
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #B23EAA

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

Preview Lab → · Contrast checker → · Palette generator →

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