#B233B3#B233B3

#B233B3 is a mid, highly saturated purple. Relative luminance 0.151; OKLCH L 56.1% C 0.215 H 327.6°. Best body text is #FFFFFF at 5.23:1 contrast (WCAG AA passes).

Color values

HEX#B233B3
RGBrgb(178, 51, 179)
HSLhsl(300, 56%, 45%)
HSVhsv(300, 72%, 70%)
CMYKcmyk(0.6%, 71.5%, 0%, 29.8%)
CIE-LABlab(45.76, 65.23, -41.49)
CIE-LCHlch(45.76, 77.31, 327.54°)
OKLaboklab(56.06% 0.1815 -0.115)
OKLCHoklch(56.06% 0.215 327.6)
XYZxyz(27.6802, 15.0893, 44.0937)
Luminance0.1509 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B233B3 #34B333
analogous
#7233B3 #B233B3 #B33374
triadic
#B233B3 #B3B233 #33B3B2
tetradic
#B233B3 #B37233 #34B333 #3374B3
square
#B233B3 #B37233 #34B333 #3374B3
split-complementary
#B233B3 #74B333 #33B372
monochromatic
#531854 #832583 #B233B3 #CE55CE #DB84DC

Accessibility & contrast

On white

5.23
#B233B3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.02
#B233B3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B233B3
5.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B233B3#FFFFFF#000000##FFFFFF
##B233B31.005.234.025.23
#FFFFFF5.231.0021.001.00
#0000004.0221.001.0021.00
##FFFFFF5.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1A62B7
Deuteranopia (green-blind)
#5472B0
Tritanopia (blue-blind)
#B74770
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #b233b3;
/* rgb */ color: rgb(178, 51, 179);
/* oklch */ color: oklch(56.1% 0.215 327.6);
Tailwind
colors: {
  custom: {
    50: '#cd77ca',
    500: '#b233b3',
    950: '#000000',
  },
}
SCSS
$custom: #b233b3;
$custom-light: #cd77ca;
$custom-dark: #000000;
JSON
{
  "hex": "#b233b3",
  "rgb": {
    "r": 178,
    "g": 51,
    "b": 179
  },
  "hsl": {
    "h": 299.531,
    "s": 55.652,
    "l": 45.098
  },
  "oklch": {
    "l": 0.56062,
    "c": 0.21485,
    "h": 327.6
  },
  "luminance": 0.15087
}

Semantic roles & 50–950 ramp

primary
#B233B3
secondary
#7DC67C
accent
#DF494A
background
#FDF7FC
surface
#FAEEF8
border
#D3C9D1
text
#140A13
muted
#837C82

Preview Lab

Preview with #B233B3

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

Preview Lab → · Contrast checker → · Palette generator →

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