#B223B0#B223B0

#B223B0 is a mid, highly saturated purple. Relative luminance 0.138; OKLCH L 54.7% C 0.228 H 328.8°. Best body text is #FFFFFF at 5.58:1 contrast (WCAG AA passes).

Color values

HEX#B223B0
RGBrgb(178, 35, 176)
HSLhsl(301, 67%, 42%)
HSVhsv(301, 80%, 70%)
CMYKcmyk(0%, 80.3%, 1.1%, 30.2%)
CIE-LABlab(43.95, 69.45, -42.59)
CIE-LCHlch(43.95, 81.47, 328.48°)
OKLaboklab(54.72% 0.1949 -0.1181)
OKLCHoklch(54.72% 0.228 328.8)
XYZxyz(26.7974, 13.8037, 42.3189)
Luminance0.1380 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B223B0 #23B225
analogous
#6D23B2 #B223B0 #B22369
triadic
#B223B0 #B0B223 #23B0B2
tetradic
#B223B0 #B26D23 #23B225 #2369B2
square
#B223B0 #B26D23 #23B225 #2369B2
split-complementary
#B223B0 #69B223 #23B26D
monochromatic
#4C0F4B #7F197D #B223B0 #D83AD6 #E26DE1

Accessibility & contrast

On white

5.58
#B223B0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.76
#B223B0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B223B0
5.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B223B0#FFFFFF#000000##FFFFFF
##B223B01.005.583.765.58
#FFFFFF5.581.0021.001.00
#0000003.7621.001.0021.00
##FFFFFF5.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005CB4
Deuteranopia (green-blind)
#4F6EAD
Tritanopia (blue-blind)
#B83C6B
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #b223b0;
/* rgb */ color: rgb(178, 35, 176);
/* oklch */ color: oklch(54.7% 0.228 328.8);
Tailwind
colors: {
  custom: {
    50: '#cd71c8',
    500: '#b223b0',
    950: '#000000',
  },
}
SCSS
$custom: #b223b0;
$custom-light: #cd71c8;
$custom-dark: #000000;
JSON
{
  "hex": "#b223b0",
  "rgb": {
    "r": 178,
    "g": 35,
    "b": 176
  },
  "hsl": {
    "h": 300.839,
    "s": 67.136,
    "l": 41.765
  },
  "oklch": {
    "l": 0.54719,
    "c": 0.22787,
    "h": 328.8
  },
  "luminance": 0.13802
}

Semantic roles & 50–950 ramp

primary
#B223B0
secondary
#68C96A
accent
#EA403E
background
#FDF7FC
surface
#FAEDF8
border
#D3C8D1
text
#140913
muted
#837B82

Preview Lab

Preview with #B223B0

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

Preview Lab → · Contrast checker → · Palette generator →

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