#B233A2#B233A2

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

Color values

HEX#B233A2
RGBrgb(178, 51, 162)
HSLhsl(308, 55%, 45%)
HSVhsv(308, 71%, 70%)
CMYKcmyk(0%, 71.3%, 9%, 30.2%)
CIE-LABlab(44.86, 62.51, -32.84)
CIE-LCHlch(44.86, 70.61, 332.29°)
OKLaboklab(55.13% 0.1808 -0.0899)
OKLCHoklch(55.13% 0.202 333.6)
XYZxyz(26.0657, 14.4434, 35.5905)
Luminance0.1444 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B233A2 #33B243
analogous
#8333B2 #B233A2 #B23363
triadic
#B233A2 #A2B233 #33A2B2
tetradic
#B233A2 #B28333 #33B243 #3363B2
square
#B233A2 #B28333 #33B243 #3363B2
split-complementary
#B233A2 #63B233 #33B283
monochromatic
#53184B #822577 #B233A2 #CE54BF #DC84D1

Accessibility & contrast

On white

5.40
#B233A2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.89
#B233A2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B233A2
5.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B233A2#FFFFFF#000000##FFFFFF
##B233A21.005.403.895.40
#FFFFFF5.401.0021.001.00
#0000003.8921.001.0021.00
##FFFFFF5.401.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #b233a2;
/* rgb */ color: rgb(178, 51, 162);
/* oklch */ color: oklch(55.1% 0.202 333.6);
Tailwind
colors: {
  custom: {
    50: '#cd77be',
    500: '#b233a2',
    950: '#000000',
  },
}
SCSS
$custom: #b233a2;
$custom-light: #cd77be;
$custom-dark: #000000;
JSON
{
  "hex": "#b233a2",
  "rgb": {
    "r": 178,
    "g": 51,
    "b": 162
  },
  "hsl": {
    "h": 307.559,
    "s": 55.459,
    "l": 44.902
  },
  "oklch": {
    "l": 0.5513,
    "c": 0.20198,
    "h": 333.6
  },
  "luminance": 0.14441
}

Semantic roles & 50–950 ramp

primary
#B233A2
secondary
#7CC585
accent
#DF5C49
background
#FDF7FB
surface
#FAEEF7
border
#D3C9D0
text
#140912
muted
#837B81

Preview Lab

Preview with #B233A2

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

Preview Lab → · Contrast checker → · Palette generator →

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