#B233B9#B233B9

#B233B9 is a mid, highly saturated purple. Relative luminance 0.153; OKLCH L 56.4% C 0.220 H 325.7°. Best body text is #FFFFFF at 5.16:1 contrast (WCAG AA passes).

Color values

HEX#B233B9
RGBrgb(178, 51, 185)
HSLhsl(297, 57%, 46%)
HSVhsv(297, 72%, 73%)
CMYKcmyk(3.8%, 72.4%, 0%, 27.5%)
CIE-LABlab(46.09, 66.24, -44.48)
CIE-LCHlch(46.09, 79.78, 326.12°)
OKLaboklab(56.41% 0.1814 -0.1237)
OKLCHoklch(56.41% 0.22 325.7)
XYZxyz(28.3003, 15.3373, 47.3593)
Luminance0.1533 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B233B9 #3AB933
analogous
#6F33B9 #B233B9 #B9337D
triadic
#B233B9 #B9B233 #33B9B2
tetradic
#B233B9 #B96F33 #3AB933 #337DB9
square
#B233B9 #B96F33 #3AB933 #337DB9
split-complementary
#B233B9 #7DB933 #33B96F
monochromatic
#561959 #842689 #B233B9 #CB58D1 #DA88DE

Accessibility & contrast

On white

5.16
#B233B9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.07
#B233B9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B233B9
5.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B233B9#FFFFFF#000000##FFFFFF
##B233B91.005.164.075.16
#FFFFFF5.161.0021.001.00
#0000004.0721.001.0021.00
##FFFFFF5.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0B63BD
Deuteranopia (green-blind)
#5173B6
Tritanopia (blue-blind)
#B64973
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #b233b9;
/* rgb */ color: rgb(178, 51, 185);
/* oklch */ color: oklch(56.4% 0.220 325.7);
Tailwind
colors: {
  custom: {
    50: '#cd77ce',
    500: '#b233b9',
    950: '#000000',
  },
}
SCSS
$custom: #b233b9;
$custom-light: #cd77ce;
$custom-dark: #000000;
JSON
{
  "hex": "#b233b9",
  "rgb": {
    "r": 178,
    "g": 51,
    "b": 185
  },
  "hsl": {
    "h": 296.866,
    "s": 56.78,
    "l": 46.275
  },
  "oklch": {
    "l": 0.56411,
    "c": 0.21958,
    "h": 325.7
  },
  "luminance": 0.15335
}

Semantic roles & 50–950 ramp

primary
#B233B9
secondary
#83C880
accent
#E04850
background
#FDF7FC
surface
#FAEEF9
border
#D3C9D2
text
#140A14
muted
#837C82

Preview Lab

Preview with #B233B9

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

Preview Lab → · Contrast checker → · Palette generator →

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