#B23EAF#B23EAF

#B23EAF is a mid, vivid purple. Relative luminance 0.160; OKLCH L 56.9% C 0.198 H 328.9°. Best body text is #FFFFFF at 5.00:1 contrast (WCAG AA passes).

Color values

HEX#B23EAF
RGBrgb(178, 62, 175)
HSLhsl(302, 48%, 47%)
HSVhsv(302, 65%, 70%)
CMYKcmyk(0%, 65.2%, 1.7%, 30.2%)
CIE-LABlab(46.98, 60.50, -37.20)
CIE-LCHlch(46.98, 71.02, 328.42°)
OKLaboklab(56.88% 0.1699 -0.1026)
OKLCHoklch(56.88% 0.198 328.9)
XYZxyz(27.8203, 16.0073, 42.1736)
Luminance0.1600 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B23EAF #3EB241
analogous
#7B3EB2 #B23EAF #B23E75
triadic
#B23EAF #AFB23E #3EAFB2
tetradic
#B23EAF #B27B3E #3EB241 #3E75B2
square
#B23EAF #B27B3E #3EB241 #3E75B2
split-complementary
#B23EAF #75B23E #3EB27B
monochromatic
#571E56 #852E82 #B23EAF #C964C6 #D992D7

Accessibility & contrast

On white

5.00
#B23EAF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.20
#B23EAF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B23EAF
5.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B23EAF#FFFFFF#000000##FFFFFF
##B23EAF1.005.004.205.00
#FFFFFF5.001.0021.001.00
#0000004.2021.001.0021.00
##FFFFFF5.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3165B2
Deuteranopia (green-blind)
#5C75AC
Tritanopia (blue-blind)
#B84C71
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #b23eaf;
/* rgb */ color: rgb(178, 62, 175);
/* oklch */ color: oklch(56.9% 0.198 328.9);
Tailwind
colors: {
  custom: {
    50: '#cc7cc7',
    500: '#b23eaf',
    950: '#000000',
  },
}
SCSS
$custom: #b23eaf;
$custom-light: #cc7cc7;
$custom-dark: #000000;
JSON
{
  "hex": "#b23eaf",
  "rgb": {
    "r": 178,
    "g": 62,
    "b": 175
  },
  "hsl": {
    "h": 301.552,
    "s": 48.333,
    "l": 47.059
  },
  "oklch": {
    "l": 0.56877,
    "c": 0.19845,
    "h": 328.9
  },
  "luminance": 0.16005
}

Semantic roles & 50–950 ramp

primary
#B23EAF
secondary
#88C489
accent
#D85350
background
#FCF7FC
surface
#F9EEF8
border
#D2C9D1
text
#140A13
muted
#827C82

Preview Lab

Preview with #B23EAF

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

Preview Lab → · Contrast checker → · Palette generator →

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