#B23CA7#B23CA7

#B23CA7 is a mid, vivid purple. Relative luminance 0.155; OKLCH L 56.2% C 0.195 H 331.8°. Best body text is #FFFFFF at 5.13:1 contrast (WCAG AA passes).

Color values

HEX#B23CA7
RGBrgb(178, 60, 167)
HSLhsl(306, 50%, 47%)
HSVhsv(306, 66%, 70%)
CMYKcmyk(0%, 66.3%, 6.2%, 30.2%)
CIE-LABlab(46.30, 59.97, -33.55)
CIE-LCHlch(46.30, 68.71, 330.77°)
OKLaboklab(56.25% 0.1715 -0.0921)
OKLCHoklch(56.25% 0.195 331.8)
XYZxyz(26.9510, 15.4888, 38.1219)
Luminance0.1549 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B23CA7 #3CB247
analogous
#823CB2 #B23CA7 #B23C6C
triadic
#B23CA7 #A7B23C #3CA7B2
tetradic
#B23CA7 #B2823C #3CB247 #3C6CB2
square
#B23CA7 #B2823C #3CB247 #3C6CB2
split-complementary
#B23CA7 #6CB23C #3CB282
monochromatic
#561D51 #842D7C #B23CA7 #CA61C0 #D98FD2

Accessibility & contrast

On white

5.13
#B23CA7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.10
#B23CA7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B23CA7
5.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B23CA7#FFFFFF#000000##FFFFFF
##B23CA71.005.134.105.13
#FFFFFF5.131.0021.001.00
#0000004.1021.001.0021.00
##FFFFFF5.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3563AA
Deuteranopia (green-blind)
#5F74A4
Tritanopia (blue-blind)
#B9486C
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #b23ca7;
/* rgb */ color: rgb(178, 60, 167);
/* oklch */ color: oklch(56.2% 0.195 331.8);
Tailwind
colors: {
  custom: {
    50: '#cc7bc1',
    500: '#b23ca7',
    950: '#000000',
  },
}
SCSS
$custom: #b23ca7;
$custom-light: #cc7bc1;
$custom-dark: #000000;
JSON
{
  "hex": "#b23ca7",
  "rgb": {
    "r": 178,
    "g": 60,
    "b": 167
  },
  "hsl": {
    "h": 305.593,
    "s": 49.58,
    "l": 46.667
  },
  "oklch": {
    "l": 0.56247,
    "c": 0.1947,
    "h": 331.8
  },
  "luminance": 0.15487
}

Semantic roles & 50–950 ramp

primary
#B23CA7
secondary
#86C48B
accent
#D95C4F
background
#FCF7FB
surface
#F9EEF7
border
#D2C9D0
text
#140A12
muted
#827C81

Preview Lab

Preview with #B23CA7

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

Preview Lab → · Contrast checker → · Palette generator →

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