#B23FBA#B23FBA

#B23FBA is a mid, highly saturated purple. Relative luminance 0.166; OKLCH L 57.6% C 0.206 H 325.1°. Best body text is #FFFFFF at 4.87:1 contrast (WCAG AA passes).

Color values

HEX#B23FBA
RGBrgb(178, 63, 186)
HSLhsl(296, 49%, 49%)
HSVhsv(296, 66%, 73%)
CMYKcmyk(4.3%, 66.1%, 0%, 27.1%)
CIE-LABlab(47.71, 62.00, -42.49)
CIE-LCHlch(47.71, 75.16, 325.57°)
OKLaboklab(57.59% 0.1692 -0.118)
OKLCHoklch(57.59% 0.206 325.1)
XYZxyz(28.9999, 16.5669, 48.1151)
Luminance0.1656 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B23FBA #47BA3F
analogous
#753FBA #B23FBA #BA3F85
triadic
#B23FBA #BAB23F #3FBAB2
tetradic
#B23FBA #BA753F #47BA3F #3F85BA
square
#B23FBA #BA753F #47BA3F #3F85BA
split-complementary
#B23FBA #85BA3F #3FBA75
monochromatic
#5B205F #86308C #B23FBA #C66ACC #D797DC

Accessibility & contrast

On white

4.87
#B23FBA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.31
#B23FBA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B23FBA
4.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B23FBA#FFFFFF#000000##FFFFFF
##B23FBA1.004.874.314.87
#FFFFFF4.871.0021.001.00
#0000004.3121.001.0021.00
##FFFFFF4.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2668BE
Deuteranopia (green-blind)
#5776B7
Tritanopia (blue-blind)
#B65277
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #b23fba;
/* rgb */ color: rgb(178, 63, 186);
/* oklch */ color: oklch(57.6% 0.206 325.1);
Tailwind
colors: {
  custom: {
    50: '#cc7dcf',
    500: '#b23fba',
    950: '#000000',
  },
}
SCSS
$custom: #b23fba;
$custom-light: #cc7dcf;
$custom-dark: #000000;
JSON
{
  "hex": "#b23fba",
  "rgb": {
    "r": 178,
    "g": 63,
    "b": 186
  },
  "hsl": {
    "h": 296.098,
    "s": 49.398,
    "l": 48.824
  },
  "oklch": {
    "l": 0.5759,
    "c": 0.20625,
    "h": 325.1
  },
  "luminance": 0.16565
}

Semantic roles & 50–950 ramp

primary
#B23FBA
secondary
#91C88D
accent
#D94F58
background
#FCF8FC
surface
#F9EFF9
border
#D2CAD2
text
#140A14
muted
#827C82

Preview Lab

Preview with #B23FBA

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

Preview Lab → · Contrast checker → · Palette generator →

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