#B233A1#B233A1

#B233A1 is a mid, highly saturated purple. Relative luminance 0.144; OKLCH L 55.1% C 0.201 H 333.9°. Best body text is #FFFFFF at 5.41:1 contrast (WCAG AA passes).

Color values

HEX#B233A1
RGBrgb(178, 51, 161)
HSLhsl(308, 55%, 45%)
HSVhsv(308, 71%, 70%)
CMYKcmyk(0%, 71.3%, 9.6%, 30.2%)
CIE-LABlab(44.81, 62.36, -32.32)
CIE-LCHlch(44.81, 70.23, 332.60°)
OKLaboklab(55.08% 0.1808 -0.0885)
OKLCHoklch(55.08% 0.201 333.9)
XYZxyz(25.9772, 14.4080, 35.1242)
Luminance0.1441 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B233A1 #33B244
analogous
#8333B2 #B233A1 #B23362
triadic
#B233A1 #A1B233 #33A1B2
tetradic
#B233A1 #B28333 #33B244 #3362B2
square
#B233A1 #B28333 #33B244 #3362B2
split-complementary
#B233A1 #62B233 #33B283
monochromatic
#53184B #822576 #B233A1 #CE54BE #DC84D0

Accessibility & contrast

On white

5.41
#B233A1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.88
#B233A1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B233A1
5.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B233A1#FFFFFF#000000##FFFFFF
##B233A11.005.413.885.41
#FFFFFF5.411.0021.001.00
#0000003.8821.001.0021.00
##FFFFFF5.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#305EA4
Deuteranopia (green-blind)
#5E719E
Tritanopia (blue-blind)
#BA3E66
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #b233a1;
/* rgb */ color: rgb(178, 51, 161);
/* oklch */ color: oklch(55.1% 0.201 333.9);
Tailwind
colors: {
  custom: {
    50: '#cd76bd',
    500: '#b233a1',
    950: '#000000',
  },
}
SCSS
$custom: #b233a1;
$custom-light: #cd76bd;
$custom-dark: #000000;
JSON
{
  "hex": "#b233a1",
  "rgb": {
    "r": 178,
    "g": 51,
    "b": 161
  },
  "hsl": {
    "h": 308.031,
    "s": 55.459,
    "l": 44.902
  },
  "oklch": {
    "l": 0.55077,
    "c": 0.20124,
    "h": 333.9
  },
  "luminance": 0.14406
}

Semantic roles & 50–950 ramp

primary
#B233A1
secondary
#7CC586
accent
#DF5D49
background
#FDF7FB
surface
#FAEEF6
border
#D3C9D0
text
#140912
muted
#837B81

Preview Lab

Preview with #B233A1

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

Preview Lab → · Contrast checker → · Palette generator →

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