#B23FC2#B23FC2

#B23FC2 is a mid, highly saturated purple. Relative luminance 0.169; OKLCH L 58.1% C 0.213 H 322.6°. Best body text is #FFFFFF at 4.79:1 contrast (WCAG AA passes).

Color values

HEX#B23FC2
RGBrgb(178, 63, 194)
HSLhsl(293, 52%, 50%)
HSVhsv(293, 68%, 76%)
CMYKcmyk(8.2%, 67.5%, 0%, 23.9%)
CIE-LABlab(48.15, 63.43, -46.44)
CIE-LCHlch(48.15, 78.61, 323.79°)
OKLaboklab(58.05% 0.1692 -0.1295)
OKLCHoklch(58.05% 0.213 322.6)
XYZxyz(29.8742, 16.9167, 52.7202)
Luminance0.1691 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B23FC2 #4FC23F
analogous
#703FC2 #B23FC2 #C23F90
triadic
#B23FC2 #C2B23F #3FC2B2
tetradic
#B23FC2 #C2703F #4FC23F #3F90C2
square
#B23FC2 #C2703F #4FC23F #3F90C2
split-complementary
#B23FC2 #90C23F #3FC270
monochromatic
#5E2066 #882F95 #B23FC2 #C56DD1 #D79CE0

Accessibility & contrast

On white

4.79
#B23FC2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.38
#B23FC2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B23FC2
4.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B23FC2#FFFFFF#000000##FFFFFF
##B23FC21.004.794.384.79
#FFFFFF4.791.0021.001.00
#0000004.3821.001.0021.00
##FFFFFF4.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#196AC6
Deuteranopia (green-blind)
#5277BF
Tritanopia (blue-blind)
#B4557C
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #b23fc2;
/* rgb */ color: rgb(178, 63, 194);
/* oklch */ color: oklch(58.1% 0.213 322.6);
Tailwind
colors: {
  custom: {
    50: '#cd7dd5',
    500: '#b23fc2',
    950: '#000000',
  },
}
SCSS
$custom: #b23fc2;
$custom-light: #cd7dd5;
$custom-dark: #000000;
JSON
{
  "hex": "#b23fc2",
  "rgb": {
    "r": 178,
    "g": 63,
    "b": 194
  },
  "hsl": {
    "h": 292.672,
    "s": 51.779,
    "l": 50.392
  },
  "oklch": {
    "l": 0.58054,
    "c": 0.21305,
    "h": 322.6
  },
  "luminance": 0.16915
}

Semantic roles & 50–950 ramp

primary
#B23FC2
secondary
#98CC91
accent
#DB4D5E
background
#FDF8FD
surface
#FAEFFA
border
#D3CAD3
text
#140A14
muted
#837C83

Preview Lab

Preview with #B23FC2

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

Preview Lab → · Contrast checker → · Palette generator →

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