#B23FC1#B23FC1

#B23FC1 is a mid, highly saturated purple. Relative luminance 0.169; OKLCH L 58.0% C 0.212 H 322.9°. Best body text is #FFFFFF at 4.80:1 contrast (WCAG AA passes).

Color values

HEX#B23FC1
RGBrgb(178, 63, 193)
HSLhsl(293, 51%, 50%)
HSVhsv(293, 67%, 76%)
CMYKcmyk(7.8%, 67.4%, 0%, 24.3%)
CIE-LABlab(48.10, 63.25, -45.95)
CIE-LCHlch(48.10, 78.17, 324.00°)
OKLaboklab(58% 0.1692 -0.128)
OKLCHoklch(58% 0.212 322.9)
XYZxyz(29.7623, 16.8719, 52.1307)
Luminance0.1687 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B23FC1 #4EC13F
analogous
#713FC1 #B23FC1 #C13F8F
triadic
#B23FC1 #C1B23F #3FC1B2
tetradic
#B23FC1 #C1713F #4EC13F #3F8FC1
square
#B23FC1 #C1713F #4EC13F #3F8FC1
split-complementary
#B23FC1 #8FC13F #3FC171
monochromatic
#5D2165 #883093 #B23FC1 #C56DD0 #D79CDF

Accessibility & contrast

On white

4.80
#B23FC1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.37
#B23FC1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B23FC1
4.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B23FC1#FFFFFF#000000##FFFFFF
##B23FC11.004.804.374.80
#FFFFFF4.801.0021.001.00
#0000004.3721.001.0021.00
##FFFFFF4.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1B6AC5
Deuteranopia (green-blind)
#5277BE
Tritanopia (blue-blind)
#B5557B
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #b23fc1;
/* rgb */ color: rgb(178, 63, 193);
/* oklch */ color: oklch(58.0% 0.212 322.9);
Tailwind
colors: {
  custom: {
    50: '#cc7dd4',
    500: '#b23fc1',
    950: '#000000',
  },
}
SCSS
$custom: #b23fc1;
$custom-light: #cc7dd4;
$custom-dark: #000000;
JSON
{
  "hex": "#b23fc1",
  "rgb": {
    "r": 178,
    "g": 63,
    "b": 193
  },
  "hsl": {
    "h": 293.077,
    "s": 51.181,
    "l": 50.196
  },
  "oklch": {
    "l": 0.57995,
    "c": 0.21219,
    "h": 322.9
  },
  "luminance": 0.1687
}

Semantic roles & 50–950 ramp

primary
#B23FC1
secondary
#98CB91
accent
#DB4D5D
background
#FDF8FD
surface
#FAEFFA
border
#D3CAD3
text
#140A14
muted
#837C83

Preview Lab

Preview with #B23FC1

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

Preview Lab → · Contrast checker → · Palette generator →

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