#B23FC9#B23FC9

#B23FC9 is a mid, highly saturated purple. Relative luminance 0.172; OKLCH L 58.5% C 0.219 H 320.5°. Best body text is #FFFFFF at 4.72:1 contrast (WCAG AA passes).

Color values

HEX#B23FC9
RGBrgb(178, 63, 201)
HSLhsl(290, 56%, 52%)
HSVhsv(290, 69%, 79%)
CMYKcmyk(11.4%, 68.7%, 0%, 21.2%)
CIE-LABlab(48.56, 64.71, -49.84)
CIE-LCHlch(48.56, 81.68, 322.40°)
OKLaboklab(58.47% 0.169 -0.1394)
OKLCHoklch(58.47% 0.219 320.5)
XYZxyz(30.6790, 17.2386, 56.9584)
Luminance0.1724 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B23FC9 #56C93F
analogous
#6D3FC9 #B23FC9 #C93F9B
triadic
#B23FC9 #C9B23F #3FC9B2
tetradic
#B23FC9 #C96D3F #56C93F #3F9BC9
square
#B23FC9 #C96D3F #56C93F #3F9BC9
split-complementary
#B23FC9 #9BC93F #3FC96D
monochromatic
#611F6F #8B2D9E #B23FC9 #C56FD6 #D89FE4

Accessibility & contrast

On white

4.72
#B23FC9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.45
#B23FC9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B23FC9
4.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B23FC9#FFFFFF#000000##FFFFFF
##B23FC91.004.724.454.72
#FFFFFF4.721.0021.001.00
#0000004.4521.001.0021.00
##FFFFFF4.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#026BCD
Deuteranopia (green-blind)
#4C77C6
Tritanopia (blue-blind)
#B3587F
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #b23fc9;
/* rgb */ color: rgb(178, 63, 201);
/* oklch */ color: oklch(58.5% 0.219 320.5);
Tailwind
colors: {
  custom: {
    50: '#cd7eda',
    500: '#b23fc9',
    950: '#000000',
  },
}
SCSS
$custom: #b23fc9;
$custom-light: #cd7eda;
$custom-dark: #000000;
JSON
{
  "hex": "#b23fc9",
  "rgb": {
    "r": 178,
    "g": 63,
    "b": 201
  },
  "hsl": {
    "h": 290,
    "s": 56.098,
    "l": 51.765
  },
  "oklch": {
    "l": 0.58474,
    "c": 0.21908,
    "h": 320.5
  },
  "luminance": 0.17237
}

Semantic roles & 50–950 ramp

primary
#B23FC9
secondary
#9ED094
accent
#DF4862
background
#FDF8FD
surface
#FAEFFB
border
#D3CAD4
text
#140B15
muted
#837C83

Preview Lab

Preview with #B23FC9

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

Preview Lab → · Contrast checker → · Palette generator →

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