#B23FCA#B23FCA

#B23FCA is a mid, highly saturated purple. Relative luminance 0.173; OKLCH L 58.5% C 0.220 H 320.2°. Best body text is #FFFFFF at 4.71:1 contrast (WCAG AA passes).

Color values

HEX#B23FCA
RGBrgb(178, 63, 202)
HSLhsl(290, 57%, 52%)
HSVhsv(290, 69%, 79%)
CMYKcmyk(11.9%, 68.8%, 0%, 20.8%)
CIE-LABlab(48.62, 64.89, -50.32)
CIE-LCHlch(48.62, 82.12, 322.21°)
OKLaboklab(58.54% 0.169 -0.1408)
OKLCHoklch(58.54% 0.22 320.2)
XYZxyz(30.7970, 17.2858, 57.5800)
Luminance0.1728 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B23FCA #57CA3F
analogous
#6C3FCA #B23FCA #CA3F9D
triadic
#B23FCA #CAB23F #3FCAB2
tetradic
#B23FCA #CA6C3F #57CA3F #3F9DCA
square
#B23FCA #CA6C3F #57CA3F #3F9DCA
split-complementary
#B23FCA #9DCA3F #3FCA6C
monochromatic
#621F70 #8C2CA0 #B23FCA #C56FD7 #D89FE4

Accessibility & contrast

On white

4.71
#B23FCA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.46
#B23FCA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B23FCA
4.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B23FCA#FFFFFF#000000##FFFFFF
##B23FCA1.004.714.464.71
#FFFFFF4.711.0021.001.00
#0000004.4621.001.0021.00
##FFFFFF4.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006CCE
Deuteranopia (green-blind)
#4C77C7
Tritanopia (blue-blind)
#B35880
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #b23fca;
/* rgb */ color: rgb(178, 63, 202);
/* oklch */ color: oklch(58.5% 0.220 320.2);
Tailwind
colors: {
  custom: {
    50: '#cd7edb',
    500: '#b23fca',
    950: '#000000',
  },
}
SCSS
$custom: #b23fca;
$custom-light: #cd7edb;
$custom-dark: #000000;
JSON
{
  "hex": "#b23fca",
  "rgb": {
    "r": 178,
    "g": 63,
    "b": 202
  },
  "hsl": {
    "h": 289.64,
    "s": 56.735,
    "l": 51.961
  },
  "oklch": {
    "l": 0.58535,
    "c": 0.21995,
    "h": 320.2
  },
  "luminance": 0.17284
}

Semantic roles & 50–950 ramp

primary
#B23FCA
secondary
#9ED194
accent
#E04862
background
#FDF8FD
surface
#FAEFFB
border
#D3CAD4
text
#140B15
muted
#837C83

Preview Lab

Preview with #B23FCA

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

Preview Lab → · Contrast checker → · Palette generator →

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