#B23FC6#B23FC6

#B23FC6 is a mid, highly saturated purple. Relative luminance 0.171; OKLCH L 58.3% C 0.216 H 321.4°. Best body text is #FFFFFF at 4.75:1 contrast (WCAG AA passes).

Color values

HEX#B23FC6
RGBrgb(178, 63, 198)
HSLhsl(291, 54%, 51%)
HSVhsv(291, 68%, 78%)
CMYKcmyk(10.1%, 68.2%, 0%, 22.4%)
CIE-LABlab(48.38, 64.16, -48.39)
CIE-LCHlch(48.38, 80.36, 322.98°)
OKLaboklab(58.29% 0.1691 -0.1351)
OKLCHoklch(58.29% 0.216 321.4)
XYZxyz(30.3295, 17.0988, 55.1180)
Luminance0.1710 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B23FC6 #53C63F
analogous
#6E3FC6 #B23FC6 #C63F96
triadic
#B23FC6 #C6B23F #3FC6B2
tetradic
#B23FC6 #C66E3F #53C63F #3F96C6
square
#B23FC6 #C66E3F #53C63F #3F96C6
split-complementary
#B23FC6 #96C63F #3FC66E
monochromatic
#60206B #8A2E9A #B23FC6 #C56ED4 #D89DE2

Accessibility & contrast

On white

4.75
#B23FC6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.42
#B23FC6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B23FC6
4.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B23FC6#FFFFFF#000000##FFFFFF
##B23FC61.004.754.424.75
#FFFFFF4.751.0021.001.00
#0000004.4221.001.0021.00
##FFFFFF4.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0E6BCA
Deuteranopia (green-blind)
#4F77C3
Tritanopia (blue-blind)
#B4577E
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #b23fc6;
/* rgb */ color: rgb(178, 63, 198);
/* oklch */ color: oklch(58.3% 0.216 321.4);
Tailwind
colors: {
  custom: {
    50: '#cd7dd8',
    500: '#b23fc6',
    950: '#000000',
  },
}
SCSS
$custom: #b23fc6;
$custom-light: #cd7dd8;
$custom-dark: #000000;
JSON
{
  "hex": "#b23fc6",
  "rgb": {
    "r": 178,
    "g": 63,
    "b": 198
  },
  "hsl": {
    "h": 291.111,
    "s": 54.217,
    "l": 51.176
  },
  "oklch": {
    "l": 0.58292,
    "c": 0.21649,
    "h": 321.4
  },
  "luminance": 0.17097
}

Semantic roles & 50–950 ramp

primary
#B23FC6
secondary
#9BCE93
accent
#DE4A60
background
#FDF8FD
surface
#FAEFFA
border
#D3CAD3
text
#140A14
muted
#837C83

Preview Lab

Preview with #B23FC6

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

Preview Lab → · Contrast checker → · Palette generator →

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