#B233A5#B233A5

#B233A5 is a mid, highly saturated purple. Relative luminance 0.145; OKLCH L 55.3% C 0.204 H 332.5°. Best body text is #FFFFFF at 5.37:1 contrast (WCAG AA passes).

Color values

HEX#B233A5
RGBrgb(178, 51, 165)
HSLhsl(306, 55%, 45%)
HSVhsv(306, 71%, 70%)
CMYKcmyk(0%, 71.3%, 7.3%, 30.2%)
CIE-LABlab(45.01, 62.98, -34.38)
CIE-LCHlch(45.01, 71.75, 331.37°)
OKLaboklab(55.29% 0.1811 -0.0944)
OKLCHoklch(55.29% 0.204 332.5)
XYZxyz(26.3355, 14.5514, 37.0117)
Luminance0.1455 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B233A5 #33B240
analogous
#8033B2 #B233A5 #B23365
triadic
#B233A5 #A5B233 #33A5B2
tetradic
#B233A5 #B28033 #33B240 #3365B2
square
#B233A5 #B28033 #33B240 #3365B2
split-complementary
#B233A5 #65B233 #33B280
monochromatic
#53184D #822579 #B233A5 #CE54C2 #DC84D3

Accessibility & contrast

On white

5.37
#B233A5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.91
#B233A5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B233A5
5.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B233A5#FFFFFF#000000##FFFFFF
##B233A51.005.373.915.37
#FFFFFF5.371.0021.001.00
#0000003.9121.001.0021.00
##FFFFFF5.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2C5FA8
Deuteranopia (green-blind)
#5C71A2
Tritanopia (blue-blind)
#BA4068
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #b233a5;
/* rgb */ color: rgb(178, 51, 165);
/* oklch */ color: oklch(55.3% 0.204 332.5);
Tailwind
colors: {
  custom: {
    50: '#cd77c0',
    500: '#b233a5',
    950: '#000000',
  },
}
SCSS
$custom: #b233a5;
$custom-light: #cd77c0;
$custom-dark: #000000;
JSON
{
  "hex": "#b233a5",
  "rgb": {
    "r": 178,
    "g": 51,
    "b": 165
  },
  "hsl": {
    "h": 306.142,
    "s": 55.459,
    "l": 44.902
  },
  "oklch": {
    "l": 0.55288,
    "c": 0.20419,
    "h": 332.5
  },
  "luminance": 0.14549
}

Semantic roles & 50–950 ramp

primary
#B233A5
secondary
#7CC583
accent
#DF5849
background
#FDF7FB
surface
#FAEEF7
border
#D3C9D0
text
#140912
muted
#837B81

Preview Lab

Preview with #B233A5

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

Preview Lab → · Contrast checker → · Palette generator →

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