#B233AA#B233AA

#B233AA is a mid, highly saturated purple. Relative luminance 0.147; OKLCH L 55.6% C 0.208 H 330.7°. Best body text is #FFFFFF at 5.32:1 contrast (WCAG AA passes).

Color values

HEX#B233AA
RGBrgb(178, 51, 170)
HSLhsl(304, 55%, 45%)
HSVhsv(304, 71%, 70%)
CMYKcmyk(0%, 71.3%, 4.5%, 30.2%)
CIE-LABlab(45.27, 63.77, -36.95)
CIE-LCHlch(45.27, 73.70, 329.91°)
OKLaboklab(55.56% 0.1813 -0.1018)
OKLCHoklch(55.56% 0.208 330.7)
XYZxyz(26.7995, 14.7370, 39.4554)
Luminance0.1474 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B233AA #33B23B
analogous
#7B33B2 #B233AA #B2336A
triadic
#B233AA #AAB233 #33AAB2
tetradic
#B233AA #B27B33 #33B23B #336AB2
square
#B233AA #B27B33 #33B23B #336AB2
split-complementary
#B233AA #6AB233 #33B27B
monochromatic
#53184F #82257D #B233AA #CE54C6 #DC84D6

Accessibility & contrast

On white

5.32
#B233AA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #B233AA
5.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B233AA#FFFFFF#000000##FFFFFF
##B233AA1.005.323.955.32
#FFFFFF5.321.0021.001.00
#0000003.9521.001.0021.00
##FFFFFF5.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2760AD
Deuteranopia (green-blind)
#5971A7
Tritanopia (blue-blind)
#B9426B
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #b233aa;
/* rgb */ color: rgb(178, 51, 170);
/* oklch */ color: oklch(55.6% 0.208 330.7);
Tailwind
colors: {
  custom: {
    50: '#cd77c4',
    500: '#b233aa',
    950: '#000000',
  },
}
SCSS
$custom: #b233aa;
$custom-light: #cd77c4;
$custom-dark: #000000;
JSON
{
  "hex": "#b233aa",
  "rgb": {
    "r": 178,
    "g": 51,
    "b": 170
  },
  "hsl": {
    "h": 303.78,
    "s": 55.459,
    "l": 44.902
  },
  "oklch": {
    "l": 0.55557,
    "c": 0.20793,
    "h": 330.7
  },
  "luminance": 0.14735
}

Semantic roles & 50–950 ramp

primary
#B233AA
secondary
#7CC580
accent
#DF5249
background
#FDF7FC
surface
#FAEEF8
border
#D3C9D1
text
#140A12
muted
#837C81

Preview Lab

Preview with #B233AA

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

Preview Lab → · Contrast checker → · Palette generator →

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