#B233A9#B233A9

#B233A9 is a mid, highly saturated purple. Relative luminance 0.147; OKLCH L 55.5% C 0.207 H 331.0°. Best body text is #FFFFFF at 5.33:1 contrast (WCAG AA passes).

Color values

HEX#B233A9
RGBrgb(178, 51, 169)
HSLhsl(304, 55%, 45%)
HSVhsv(304, 71%, 70%)
CMYKcmyk(0%, 71.3%, 5.1%, 30.2%)
CIE-LABlab(45.22, 63.61, -36.44)
CIE-LCHlch(45.22, 73.30, 330.19°)
OKLaboklab(55.5% 0.1813 -0.1003)
OKLCHoklch(55.5% 0.207 331)
XYZxyz(26.7053, 14.6993, 38.9591)
Luminance0.1470 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B233A9 #33B23C
analogous
#7C33B2 #B233A9 #B23369
triadic
#B233A9 #A9B233 #33A9B2
tetradic
#B233A9 #B27C33 #33B23C #3369B2
square
#B233A9 #B27C33 #33B23C #3369B2
split-complementary
#B233A9 #69B233 #33B27C
monochromatic
#53184F #82257C #B233A9 #CE54C5 #DC84D5

Accessibility & contrast

On white

5.33
#B233A9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.94
#B233A9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B233A9
5.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B233A9#FFFFFF#000000##FFFFFF
##B233A91.005.333.945.33
#FFFFFF5.331.0021.001.00
#0000003.9421.001.0021.00
##FFFFFF5.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2860AC
Deuteranopia (green-blind)
#5A71A6
Tritanopia (blue-blind)
#B9426A
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #b233a9;
/* rgb */ color: rgb(178, 51, 169);
/* oklch */ color: oklch(55.5% 0.207 331.0);
Tailwind
colors: {
  custom: {
    50: '#cd77c3',
    500: '#b233a9',
    950: '#000000',
  },
}
SCSS
$custom: #b233a9;
$custom-light: #cd77c3;
$custom-dark: #000000;
JSON
{
  "hex": "#b233a9",
  "rgb": {
    "r": 178,
    "g": 51,
    "b": 169
  },
  "hsl": {
    "h": 304.252,
    "s": 55.459,
    "l": 44.902
  },
  "oklch": {
    "l": 0.55503,
    "c": 0.20718,
    "h": 331
  },
  "luminance": 0.14697
}

Semantic roles & 50–950 ramp

primary
#B233A9
secondary
#7CC581
accent
#DF5449
background
#FDF7FC
surface
#FAEEF8
border
#D3C9D1
text
#140A12
muted
#837C81

Preview Lab

Preview with #B233A9

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

Preview Lab → · Contrast checker → · Palette generator →

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