#B23FA5#B23FA5

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

Color values

HEX#B23FA5
RGBrgb(178, 63, 165)
HSLhsl(307, 48%, 47%)
HSVhsv(307, 65%, 70%)
CMYKcmyk(0%, 64.6%, 7.3%, 30.2%)
CIE-LABlab(46.63, 58.44, -31.85)
CIE-LCHlch(46.63, 66.55, 331.41°)
OKLaboklab(56.46% 0.1679 -0.0872)
OKLCHoklch(56.46% 0.189 332.5)
XYZxyz(26.9292, 15.7387, 37.2096)
Luminance0.1574 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B23FA5 #3FB24C
analogous
#863FB2 #B23FA5 #B23F6B
triadic
#B23FA5 #A5B23F #3FA5B2
tetradic
#B23FA5 #B2863F #3FB24C #3F6BB2
square
#B23FA5 #B2863F #3FB24C #3F6BB2
split-complementary
#B23FA5 #6BB23F #3FB286
monochromatic
#581F51 #852F7B #B23FA5 #C966BD #D993D1

Accessibility & contrast

On white

5.06
#B23FA5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #B23FA5
5.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B23FA5#FFFFFF#000000##FFFFFF
##B23FA51.005.064.155.06
#FFFFFF5.061.0021.001.00
#0000004.1521.001.0021.00
##FFFFFF5.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3B64A8
Deuteranopia (green-blind)
#6174A2
Tritanopia (blue-blind)
#B9496C
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #b23fa5;
/* rgb */ color: rgb(178, 63, 165);
/* oklch */ color: oklch(56.5% 0.189 332.5);
Tailwind
colors: {
  custom: {
    50: '#cc7cc0',
    500: '#b23fa5',
    950: '#000000',
  },
}
SCSS
$custom: #b23fa5;
$custom-light: #cc7cc0;
$custom-dark: #000000;
JSON
{
  "hex": "#b23fa5",
  "rgb": {
    "r": 178,
    "g": 63,
    "b": 165
  },
  "hsl": {
    "h": 306.783,
    "s": 47.718,
    "l": 47.255
  },
  "oklch": {
    "l": 0.56457,
    "c": 0.18915,
    "h": 332.5
  },
  "luminance": 0.15737
}

Semantic roles & 50–950 ramp

primary
#B23FA5
secondary
#89C48F
accent
#D76050
background
#FCF7FB
surface
#F9EEF7
border
#D2C9D0
text
#140A12
muted
#827C81

Preview Lab

Preview with #B23FA5

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

Preview Lab → · Contrast checker → · Palette generator →

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