#B233AB#B233AB

#B233AB is a mid, highly saturated purple. Relative luminance 0.148; OKLCH L 55.6% C 0.209 H 330.3°. Best body text is #FFFFFF at 5.31:1 contrast (WCAG AA passes).

Color values

HEX#B233AB
RGBrgb(178, 51, 171)
HSLhsl(303, 55%, 45%)
HSVhsv(303, 71%, 70%)
CMYKcmyk(0%, 71.3%, 3.9%, 30.2%)
CIE-LABlab(45.32, 63.93, -37.45)
CIE-LCHlch(45.32, 74.09, 329.63°)
OKLaboklab(55.61% 0.1814 -0.1033)
OKLCHoklch(55.61% 0.209 330.3)
XYZxyz(26.8945, 14.7750, 39.9555)
Luminance0.1477 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B233AB #33B23A
analogous
#7933B2 #B233AB #B2336C
triadic
#B233AB #ABB233 #33ABB2
tetradic
#B233AB #B27933 #33B23A #336CB2
square
#B233AB #B27933 #33B23A #336CB2
split-complementary
#B233AB #6CB233 #33B279
monochromatic
#531850 #82257D #B233AB #CE54C7 #DC84D7

Accessibility & contrast

On white

5.31
#B233AB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.95
#B233AB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B233AB
5.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B233AB#FFFFFF#000000##FFFFFF
##B233AB1.005.313.955.31
#FFFFFF5.311.0021.001.00
#0000003.9521.001.0021.00
##FFFFFF5.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2660AE
Deuteranopia (green-blind)
#5971A8
Tritanopia (blue-blind)
#B9436C
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #b233ab;
/* rgb */ color: rgb(178, 51, 171);
/* oklch */ color: oklch(55.6% 0.209 330.3);
Tailwind
colors: {
  custom: {
    50: '#cd77c4',
    500: '#b233ab',
    950: '#000000',
  },
}
SCSS
$custom: #b233ab;
$custom-light: #cd77c4;
$custom-dark: #000000;
JSON
{
  "hex": "#b233ab",
  "rgb": {
    "r": 178,
    "g": 51,
    "b": 171
  },
  "hsl": {
    "h": 303.307,
    "s": 55.459,
    "l": 44.902
  },
  "oklch": {
    "l": 0.55612,
    "c": 0.20869,
    "h": 330.3
  },
  "luminance": 0.14773
}

Semantic roles & 50–950 ramp

primary
#B233AB
secondary
#7CC580
accent
#DF5149
background
#FDF7FC
surface
#FAEEF8
border
#D3C9D1
text
#140A13
muted
#837C82

Preview Lab

Preview with #B233AB

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

Preview Lab → · Contrast checker → · Palette generator →

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