#B23EA7#B23EA7

#B23EA7 is a mid, vivid purple. Relative luminance 0.157; OKLCH L 56.5% C 0.192 H 331.8°. Best body text is #FFFFFF at 5.07:1 contrast (WCAG AA passes).

Color values

HEX#B23EA7
RGBrgb(178, 62, 167)
HSLhsl(306, 48%, 47%)
HSVhsv(306, 65%, 70%)
CMYKcmyk(0%, 65.2%, 6.2%, 30.2%)
CIE-LABlab(46.58, 59.17, -33.11)
CIE-LCHlch(46.58, 67.80, 330.77°)
OKLaboklab(56.45% 0.1692 -0.0908)
OKLCHoklch(56.45% 0.192 331.8)
XYZxyz(27.0578, 15.7023, 38.1575)
Luminance0.1570 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B23EA7 #3EB249
analogous
#833EB2 #B23EA7 #B23E6D
triadic
#B23EA7 #A7B23E #3EA7B2
tetradic
#B23EA7 #B2833E #3EB249 #3E6DB2
square
#B23EA7 #B2833E #3EB249 #3E6DB2
split-complementary
#B23EA7 #6DB23E #3EB283
monochromatic
#571E52 #852E7C #B23EA7 #C964BF #D992D2

Accessibility & contrast

On white

5.07
#B23EA7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.14
#B23EA7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B23EA7
5.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B23EA7#FFFFFF#000000##FFFFFF
##B23EA71.005.074.145.07
#FFFFFF5.071.0021.001.00
#0000004.1421.001.0021.00
##FFFFFF5.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3864AA
Deuteranopia (green-blind)
#6074A4
Tritanopia (blue-blind)
#B9496D
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #b23ea7;
/* rgb */ color: rgb(178, 62, 167);
/* oklch */ color: oklch(56.5% 0.192 331.8);
Tailwind
colors: {
  custom: {
    50: '#cc7cc1',
    500: '#b23ea7',
    950: '#000000',
  },
}
SCSS
$custom: #b23ea7;
$custom-light: #cc7cc1;
$custom-dark: #000000;
JSON
{
  "hex": "#b23ea7",
  "rgb": {
    "r": 178,
    "g": 62,
    "b": 167
  },
  "hsl": {
    "h": 305.69,
    "s": 48.333,
    "l": 47.059
  },
  "oklch": {
    "l": 0.56454,
    "c": 0.19206,
    "h": 331.8
  },
  "luminance": 0.157
}

Semantic roles & 50–950 ramp

primary
#B23EA7
secondary
#88C48D
accent
#D85D50
background
#FCF7FB
surface
#F9EEF7
border
#D2C9D0
text
#140A12
muted
#827C81

Preview Lab

Preview with #B23EA7

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

Preview Lab → · Contrast checker → · Palette generator →

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