#B233A3#B233A3

#B233A3 is a mid, highly saturated purple. Relative luminance 0.145; OKLCH L 55.2% C 0.203 H 333.2°. Best body text is #FFFFFF at 5.39:1 contrast (WCAG AA passes).

Color values

HEX#B233A3
RGBrgb(178, 51, 163)
HSLhsl(307, 55%, 45%)
HSVhsv(307, 71%, 70%)
CMYKcmyk(0%, 71.3%, 8.4%, 30.2%)
CIE-LABlab(44.91, 62.67, -33.35)
CIE-LCHlch(44.91, 70.99, 331.98°)
OKLaboklab(55.18% 0.1809 -0.0914)
OKLCHoklch(55.18% 0.203 333.2)
XYZxyz(26.1549, 14.4791, 36.0605)
Luminance0.1448 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B233A3 #33B242
analogous
#8233B2 #B233A3 #B23363
triadic
#B233A3 #A3B233 #33A3B2
tetradic
#B233A3 #B28233 #33B242 #3363B2
square
#B233A3 #B28233 #33B242 #3363B2
split-complementary
#B233A3 #63B233 #33B282
monochromatic
#53184C #822577 #B233A3 #CE54C0 #DC84D1

Accessibility & contrast

On white

5.39
#B233A3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.90
#B233A3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B233A3
5.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B233A3#FFFFFF#000000##FFFFFF
##B233A31.005.393.905.39
#FFFFFF5.391.0021.001.00
#0000003.9021.001.0021.00
##FFFFFF5.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2E5FA6
Deuteranopia (green-blind)
#5D71A0
Tritanopia (blue-blind)
#BA3F67
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #b233a3;
/* rgb */ color: rgb(178, 51, 163);
/* oklch */ color: oklch(55.2% 0.203 333.2);
Tailwind
colors: {
  custom: {
    50: '#cd77be',
    500: '#b233a3',
    950: '#000000',
  },
}
SCSS
$custom: #b233a3;
$custom-light: #cd77be;
$custom-dark: #000000;
JSON
{
  "hex": "#b233a3",
  "rgb": {
    "r": 178,
    "g": 51,
    "b": 163
  },
  "hsl": {
    "h": 307.087,
    "s": 55.459,
    "l": 44.902
  },
  "oklch": {
    "l": 0.55182,
    "c": 0.20271,
    "h": 333.2
  },
  "luminance": 0.14477
}

Semantic roles & 50–950 ramp

primary
#B233A3
secondary
#7CC584
accent
#DF5B49
background
#FDF7FB
surface
#FAEEF7
border
#D3C9D0
text
#140912
muted
#837B81

Preview Lab

Preview with #B233A3

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

Preview Lab → · Contrast checker → · Palette generator →

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