#B233AF#B233AF

#B233AF is a mid, highly saturated purple. Relative luminance 0.149; OKLCH L 55.8% C 0.212 H 329.0°. Best body text is #FFFFFF at 5.27:1 contrast (WCAG AA passes).

Color values

HEX#B233AF
RGBrgb(178, 51, 175)
HSLhsl(301, 55%, 45%)
HSVhsv(301, 71%, 70%)
CMYKcmyk(0%, 71.3%, 1.7%, 30.2%)
CIE-LABlab(45.54, 64.57, -39.48)
CIE-LCHlch(45.54, 75.69, 328.56°)
OKLaboklab(55.84% 0.1815 -0.1091)
OKLCHoklch(55.84% 0.212 329)
XYZxyz(27.2815, 14.9298, 41.9940)
Luminance0.1493 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B233AF #33B236
analogous
#7533B2 #B233AF #B23370
triadic
#B233AF #AFB233 #33AFB2
tetradic
#B233AF #B27533 #33B236 #3370B2
square
#B233AF #B27533 #33B236 #3370B2
split-complementary
#B233AF #70B233 #33B275
monochromatic
#531851 #822580 #B233AF #CE54CB #DC84DA

Accessibility & contrast

On white

5.27
#B233AF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.99
#B233AF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B233AF
5.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B233AF#FFFFFF#000000##FFFFFF
##B233AF1.005.273.995.27
#FFFFFF5.271.0021.001.00
#0000003.9921.001.0021.00
##FFFFFF5.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2061B2
Deuteranopia (green-blind)
#5772AC
Tritanopia (blue-blind)
#B8456E
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #b233af;
/* rgb */ color: rgb(178, 51, 175);
/* oklch */ color: oklch(55.8% 0.212 329.0);
Tailwind
colors: {
  custom: {
    50: '#cd77c7',
    500: '#b233af',
    950: '#000000',
  },
}
SCSS
$custom: #b233af;
$custom-light: #cd77c7;
$custom-dark: #000000;
JSON
{
  "hex": "#b233af",
  "rgb": {
    "r": 178,
    "g": 51,
    "b": 175
  },
  "hsl": {
    "h": 301.417,
    "s": 55.459,
    "l": 44.902
  },
  "oklch": {
    "l": 0.55835,
    "c": 0.21175,
    "h": 329
  },
  "luminance": 0.14928
}

Semantic roles & 50–950 ramp

primary
#B233AF
secondary
#7CC57D
accent
#DF4D49
background
#FDF7FC
surface
#FAEEF8
border
#D3C9D1
text
#140A13
muted
#837C82

Preview Lab

Preview with #B233AF

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

Preview Lab → · Contrast checker → · Palette generator →

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