#B233BF#B233BF

#B233BF is a mid, highly saturated purple. Relative luminance 0.156; OKLCH L 56.8% C 0.224 H 323.9°. Best body text is #FFFFFF at 5.10:1 contrast (WCAG AA passes).

Color values

HEX#B233BF
RGBrgb(178, 51, 191)
HSLhsl(294, 58%, 47%)
HSVhsv(294, 73%, 75%)
CMYKcmyk(6.8%, 73.3%, 0%, 25.1%)
CIE-LABlab(46.44, 67.26, -47.43)
CIE-LCHlch(46.44, 82.30, 324.81°)
OKLaboklab(56.77% 0.1812 -0.1323)
OKLCHoklch(56.77% 0.224 323.9)
XYZxyz(28.9471, 15.5960, 50.7658)
Luminance0.1559 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B233BF #40BF33
analogous
#6C33BF #B233BF #BF3386
triadic
#B233BF #BFB233 #33BFB2
tetradic
#B233BF #BF6C33 #40BF33 #3386BF
square
#B233BF #BF6C33 #40BF33 #3386BF
split-complementary
#B233BF #86BF33 #33BF6C
monochromatic
#58195E #85268F #B233BF #C85CD3 #D88CE0

Accessibility & contrast

On white

5.10
#B233BF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.12
#B233BF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B233BF
5.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B233BF#FFFFFF#000000##FFFFFF
##B233BF1.005.104.125.10
#FFFFFF5.101.0021.001.00
#0000004.1221.001.0021.00
##FFFFFF5.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0064C3
Deuteranopia (green-blind)
#4D73BC
Tritanopia (blue-blind)
#B54C77
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #b233bf;
/* rgb */ color: rgb(178, 51, 191);
/* oklch */ color: oklch(56.8% 0.224 323.9);
Tailwind
colors: {
  custom: {
    50: '#cd78d3',
    500: '#b233bf',
    950: '#000000',
  },
}
SCSS
$custom: #b233bf;
$custom-light: #cd78d3;
$custom-dark: #000000;
JSON
{
  "hex": "#b233bf",
  "rgb": {
    "r": 178,
    "g": 51,
    "b": 191
  },
  "hsl": {
    "h": 294.429,
    "s": 57.851,
    "l": 47.451
  },
  "oklch": {
    "l": 0.5677,
    "c": 0.22436,
    "h": 323.9
  },
  "luminance": 0.15594
}

Semantic roles & 50–950 ramp

primary
#B233BF
secondary
#8ACB83
accent
#E14755
background
#FDF7FD
surface
#FAEEFA
border
#D3C9D3
text
#140A14
muted
#837C83

Preview Lab

Preview with #B233BF

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

Preview Lab → · Contrast checker → · Palette generator →

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