#B233A8#B233A8

#B233A8 is a mid, highly saturated purple. Relative luminance 0.147; OKLCH L 55.4% C 0.206 H 331.4°. Best body text is #FFFFFF at 5.34:1 contrast (WCAG AA passes).

Color values

HEX#B233A8
RGBrgb(178, 51, 168)
HSLhsl(305, 55%, 45%)
HSVhsv(305, 71%, 70%)
CMYKcmyk(0%, 71.3%, 5.6%, 30.2%)
CIE-LABlab(45.17, 63.45, -35.92)
CIE-LCHlch(45.17, 72.91, 330.48°)
OKLaboklab(55.45% 0.1812 -0.0988)
OKLCHoklch(55.45% 0.206 331.4)
XYZxyz(26.6118, 14.6619, 38.4666)
Luminance0.1466 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B233A8 #33B23D
analogous
#7C33B2 #B233A8 #B23369
triadic
#B233A8 #A8B233 #33A8B2
tetradic
#B233A8 #B27C33 #33B23D #3369B2
square
#B233A8 #B27C33 #33B23D #3369B2
split-complementary
#B233A8 #69B233 #33B27C
monochromatic
#53184E #82257B #B233A8 #CE54C4 #DC84D5

Accessibility & contrast

On white

5.34
#B233A8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.93
#B233A8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B233A8
5.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B233A8#FFFFFF#000000##FFFFFF
##B233A81.005.343.935.34
#FFFFFF5.341.0021.001.00
#0000003.9321.001.0021.00
##FFFFFF5.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2960AB
Deuteranopia (green-blind)
#5A71A5
Tritanopia (blue-blind)
#B9426A
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #b233a8;
/* rgb */ color: rgb(178, 51, 168);
/* oklch */ color: oklch(55.4% 0.206 331.4);
Tailwind
colors: {
  custom: {
    50: '#cd77c2',
    500: '#b233a8',
    950: '#000000',
  },
}
SCSS
$custom: #b233a8;
$custom-light: #cd77c2;
$custom-dark: #000000;
JSON
{
  "hex": "#b233a8",
  "rgb": {
    "r": 178,
    "g": 51,
    "b": 168
  },
  "hsl": {
    "h": 304.724,
    "s": 55.459,
    "l": 44.902
  },
  "oklch": {
    "l": 0.55449,
    "c": 0.20643,
    "h": 331.4
  },
  "luminance": 0.1466
}

Semantic roles & 50–950 ramp

primary
#B233A8
secondary
#7CC581
accent
#DF5549
background
#FDF7FC
surface
#FAEEF8
border
#D3C9D1
text
#140912
muted
#837B81

Preview Lab

Preview with #B233A8

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

Preview Lab → · Contrast checker → · Palette generator →

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