#B233A6#B233A6

#B233A6 is a mid, highly saturated purple. Relative luminance 0.146; OKLCH L 55.3% C 0.205 H 332.1°. Best body text is #FFFFFF at 5.36:1 contrast (WCAG AA passes).

Color values

HEX#B233A6
RGBrgb(178, 51, 166)
HSLhsl(306, 55%, 45%)
HSVhsv(306, 71%, 70%)
CMYKcmyk(0%, 71.3%, 6.7%, 30.2%)
CIE-LABlab(45.06, 63.13, -34.90)
CIE-LCHlch(45.06, 72.14, 331.07°)
OKLaboklab(55.34% 0.1811 -0.0959)
OKLCHoklch(55.34% 0.205 332.1)
XYZxyz(26.4269, 14.5879, 37.4929)
Luminance0.1459 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B233A6 #33B23F
analogous
#7E33B2 #B233A6 #B23367
triadic
#B233A6 #A6B233 #33A6B2
tetradic
#B233A6 #B27E33 #33B23F #3367B2
square
#B233A6 #B27E33 #33B23F #3367B2
split-complementary
#B233A6 #67B233 #33B27E
monochromatic
#53184D #82257A #B233A6 #CE54C3 #DC84D3

Accessibility & contrast

On white

5.36
#B233A6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.92
#B233A6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B233A6
5.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B233A6#FFFFFF#000000##FFFFFF
##B233A61.005.363.925.36
#FFFFFF5.361.0021.001.00
#0000003.9221.001.0021.00
##FFFFFF5.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2B5FA9
Deuteranopia (green-blind)
#5B71A3
Tritanopia (blue-blind)
#BA4169
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #b233a6;
/* rgb */ color: rgb(178, 51, 166);
/* oklch */ color: oklch(55.3% 0.205 332.1);
Tailwind
colors: {
  custom: {
    50: '#cd77c1',
    500: '#b233a6',
    950: '#000000',
  },
}
SCSS
$custom: #b233a6;
$custom-light: #cd77c1;
$custom-dark: #000000;
JSON
{
  "hex": "#b233a6",
  "rgb": {
    "r": 178,
    "g": 51,
    "b": 166
  },
  "hsl": {
    "h": 305.669,
    "s": 55.459,
    "l": 44.902
  },
  "oklch": {
    "l": 0.55341,
    "c": 0.20493,
    "h": 332.1
  },
  "luminance": 0.14586
}

Semantic roles & 50–950 ramp

primary
#B233A6
secondary
#7CC583
accent
#DF5749
background
#FDF7FB
surface
#FAEEF7
border
#D3C9D0
text
#140912
muted
#837B81

Preview Lab

Preview with #B233A6

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

Preview Lab → · Contrast checker → · Palette generator →

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