#B23FC4#B23FC4

#B23FC4 is a mid, highly saturated purple. Relative luminance 0.170; OKLCH L 58.2% C 0.215 H 322.0°. Best body text is #FFFFFF at 4.77:1 contrast (WCAG AA passes).

Color values

HEX#B23FC4
RGBrgb(178, 63, 196)
HSLhsl(292, 53%, 51%)
HSVhsv(292, 68%, 77%)
CMYKcmyk(9.2%, 67.9%, 0%, 23.1%)
CIE-LABlab(48.27, 63.79, -47.41)
CIE-LCHlch(48.27, 79.48, 323.38°)
OKLaboklab(58.17% 0.1692 -0.1323)
OKLCHoklch(58.17% 0.215 322)
XYZxyz(30.1004, 17.0071, 53.9111)
Luminance0.1701 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B23FC4 #51C43F
analogous
#6F3FC4 #B23FC4 #C43F93
triadic
#B23FC4 #C4B23F #3FC4B2
tetradic
#B23FC4 #C46F3F #51C43F #3F93C4
square
#B23FC4 #C46F3F #51C43F #3F93C4
split-complementary
#B23FC4 #93C43F #3FC46F
monochromatic
#5F2068 #892E97 #B23FC4 #C56ED2 #D89DE1

Accessibility & contrast

On white

4.77
#B23FC4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.40
#B23FC4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B23FC4
4.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B23FC4#FFFFFF#000000##FFFFFF
##B23FC41.004.774.404.77
#FFFFFF4.771.0021.001.00
#0000004.4021.001.0021.00
##FFFFFF4.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#146AC8
Deuteranopia (green-blind)
#5077C1
Tritanopia (blue-blind)
#B4567D
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #b23fc4;
/* rgb */ color: rgb(178, 63, 196);
/* oklch */ color: oklch(58.2% 0.215 322.0);
Tailwind
colors: {
  custom: {
    50: '#cd7dd6',
    500: '#b23fc4',
    950: '#000000',
  },
}
SCSS
$custom: #b23fc4;
$custom-light: #cd7dd6;
$custom-dark: #000000;
JSON
{
  "hex": "#b23fc4",
  "rgb": {
    "r": 178,
    "g": 63,
    "b": 196
  },
  "hsl": {
    "h": 291.88,
    "s": 52.988,
    "l": 50.784
  },
  "oklch": {
    "l": 0.58172,
    "c": 0.21477,
    "h": 322
  },
  "luminance": 0.17006
}

Semantic roles & 50–950 ramp

primary
#B23FC4
secondary
#9ACD92
accent
#DC4B5F
background
#FDF8FD
surface
#FAEFFA
border
#D3CAD3
text
#140A14
muted
#837C83

Preview Lab

Preview with #B23FC4

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

Preview Lab → · Contrast checker → · Palette generator →

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