#B23CAF#B23CAF

#B23CAF is a mid, highly saturated purple. Relative luminance 0.158; OKLCH L 56.7% C 0.201 H 328.9°. Best body text is #FFFFFF at 5.05:1 contrast (WCAG AA passes).

Color values

HEX#B23CAF
RGBrgb(178, 60, 175)
HSLhsl(302, 50%, 47%)
HSVhsv(302, 66%, 70%)
CMYKcmyk(0%, 66.3%, 1.7%, 30.2%)
CIE-LABlab(46.70, 61.28, -37.64)
CIE-LCHlch(46.70, 71.92, 328.44°)
OKLaboklab(56.67% 0.1721 -0.1039)
OKLCHoklch(56.67% 0.201 328.9)
XYZxyz(27.7135, 15.7938, 42.1380)
Luminance0.1579 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B23CAF #3CB23F
analogous
#7A3CB2 #B23CAF #B23C74
triadic
#B23CAF #AFB23C #3CAFB2
tetradic
#B23CAF #B27A3C #3CB23F #3C74B2
square
#B23CAF #B27A3C #3CB23F #3C74B2
split-complementary
#B23CAF #74B23C #3CB27A
monochromatic
#561D55 #842D82 #B23CAF #CA61C7 #D98FD7

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##B23CAF#FFFFFF#000000##FFFFFF
##B23CAF1.005.054.165.05
#FFFFFF5.051.0021.001.00
#0000004.1621.001.0021.00
##FFFFFF5.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2E65B2
Deuteranopia (green-blind)
#5B74AC
Tritanopia (blue-blind)
#B84B71
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #b23caf;
/* rgb */ color: rgb(178, 60, 175);
/* oklch */ color: oklch(56.7% 0.201 328.9);
Tailwind
colors: {
  custom: {
    50: '#cc7bc7',
    500: '#b23caf',
    950: '#000000',
  },
}
SCSS
$custom: #b23caf;
$custom-light: #cc7bc7;
$custom-dark: #000000;
JSON
{
  "hex": "#b23caf",
  "rgb": {
    "r": 178,
    "g": 60,
    "b": 175
  },
  "hsl": {
    "h": 301.525,
    "s": 49.58,
    "l": 46.667
  },
  "oklch": {
    "l": 0.56673,
    "c": 0.20102,
    "h": 328.9
  },
  "luminance": 0.15792
}

Semantic roles & 50–950 ramp

primary
#B23CAF
secondary
#86C487
accent
#D9524F
background
#FCF7FC
surface
#F9EEF8
border
#D2C9D1
text
#140A13
muted
#827C82

Preview Lab

Preview with #B23CAF

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

Preview Lab → · Contrast checker → · Palette generator →

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