#B23FA7#B23FA7

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

Color values

HEX#B23FA7
RGBrgb(178, 63, 167)
HSLhsl(306, 48%, 47%)
HSVhsv(306, 65%, 70%)
CMYKcmyk(0%, 64.6%, 6.2%, 30.2%)
CIE-LABlab(46.73, 58.77, -32.88)
CIE-LCHlch(46.73, 67.34, 330.77°)
OKLaboklab(56.56% 0.1681 -0.0902)
OKLCHoklch(56.56% 0.191 331.8)
XYZxyz(27.1126, 15.8121, 38.1758)
Luminance0.1581 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B23FA7 #3FB24A
analogous
#843FB2 #B23FA7 #B23F6E
triadic
#B23FA7 #A7B23F #3FA7B2
tetradic
#B23FA7 #B2843F #3FB24A #3F6EB2
square
#B23FA7 #B2843F #3FB24A #3F6EB2
split-complementary
#B23FA7 #6EB23F #3FB284
monochromatic
#581F52 #852F7D #B23FA7 #C966BF #D993D2

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##B23FA7#FFFFFF#000000##FFFFFF
##B23FA71.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)
#3964AA
Deuteranopia (green-blind)
#6075A4
Tritanopia (blue-blind)
#B94A6D
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #b23fa7;
/* rgb */ color: rgb(178, 63, 167);
/* oklch */ color: oklch(56.6% 0.191 331.8);
Tailwind
colors: {
  custom: {
    50: '#cc7cc1',
    500: '#b23fa7',
    950: '#000000',
  },
}
SCSS
$custom: #b23fa7;
$custom-light: #cc7cc1;
$custom-dark: #000000;
JSON
{
  "hex": "#b23fa7",
  "rgb": {
    "r": 178,
    "g": 63,
    "b": 167
  },
  "hsl": {
    "h": 305.739,
    "s": 47.718,
    "l": 47.255
  },
  "oklch": {
    "l": 0.5656,
    "c": 0.19072,
    "h": 331.8
  },
  "luminance": 0.1581
}

Semantic roles & 50–950 ramp

primary
#B23FA7
secondary
#89C48E
accent
#D75D50
background
#FCF7FB
surface
#F9EEF7
border
#D2C9D0
text
#140A12
muted
#827C81

Preview Lab

Preview with #B23FA7

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

Preview Lab → · Contrast checker → · Palette generator →

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