#B233B5#B233B5

#B233B5 is a mid, highly saturated purple. Relative luminance 0.152; OKLCH L 56.2% C 0.216 H 327.0°. Best body text is #FFFFFF at 5.21:1 contrast (WCAG AA passes).

Color values

HEX#B233B5
RGBrgb(178, 51, 181)
HSLhsl(299, 56%, 45%)
HSVhsv(299, 72%, 71%)
CMYKcmyk(1.7%, 71.8%, 0%, 29%)
CIE-LABlab(45.87, 65.56, -42.49)
CIE-LCHlch(45.87, 78.13, 327.05°)
OKLaboklab(56.18% 0.1815 -0.1179)
OKLCHoklch(56.18% 0.216 327)
XYZxyz(27.8840, 15.1708, 45.1667)
Luminance0.1517 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B233B5 #36B533
analogous
#7133B5 #B233B5 #B53377
triadic
#B233B5 #B5B233 #33B5B2
tetradic
#B233B5 #B57133 #36B533 #3377B5
square
#B233B5 #B57133 #36B533 #3377B5
split-complementary
#B233B5 #77B533 #33B571
monochromatic
#541856 #832685 #B233B5 #CD56CF #DB86DD

Accessibility & contrast

On white

5.21
#B233B5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.03
#B233B5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B233B5
5.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B233B5#FFFFFF#000000##FFFFFF
##B233B51.005.214.035.21
#FFFFFF5.211.0021.001.00
#0000004.0321.001.0021.00
##FFFFFF5.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1662B9
Deuteranopia (green-blind)
#5372B2
Tritanopia (blue-blind)
#B74871
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #b233b5;
/* rgb */ color: rgb(178, 51, 181);
/* oklch */ color: oklch(56.2% 0.216 327.0);
Tailwind
colors: {
  custom: {
    50: '#cd77cc',
    500: '#b233b5',
    950: '#000000',
  },
}
SCSS
$custom: #b233b5;
$custom-light: #cd77cc;
$custom-dark: #000000;
JSON
{
  "hex": "#b233b5",
  "rgb": {
    "r": 178,
    "g": 51,
    "b": 181
  },
  "hsl": {
    "h": 298.615,
    "s": 56.034,
    "l": 45.49
  },
  "oklch": {
    "l": 0.56177,
    "c": 0.21642,
    "h": 327
  },
  "luminance": 0.15169
}

Semantic roles & 50–950 ramp

primary
#B233B5
secondary
#7FC67D
accent
#DF484C
background
#FDF7FC
surface
#FAEEF9
border
#D3C9D2
text
#140A13
muted
#837C82

Preview Lab

Preview with #B233B5

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

Preview Lab → · Contrast checker → · Palette generator →

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