#B232DB#B232DB

#B232DB is a mid, highly saturated purple. Relative luminance 0.169; OKLCH L 58.5% C 0.248 H 316.2°. Best body text is #FFFFFF at 4.80:1 contrast (WCAG AA passes).

Color values

HEX#B232DB
RGBrgb(178, 50, 219)
HSLhsl(285, 70%, 53%)
HSVhsv(285, 77%, 86%)
CMYKcmyk(18.7%, 77.2%, 0%, 14.1%)
CIE-LABlab(48.09, 72.63, -60.93)
CIE-LCHlch(48.09, 94.80, 320.01°)
OKLaboklab(58.5% 0.1792 -0.1718)
OKLCHoklch(58.5% 0.248 316.2)
XYZxyz(32.2849, 16.8620, 68.5582)
Luminance0.1686 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B232DB #5BDB32
analogous
#5E32DB #B232DB #DB32AF
triadic
#B232DB #DBB232 #32DBB2
tetradic
#B232DB #DB5E32 #5BDB32 #32AFDB
square
#B232DB #DB5E32 #5BDB32 #32AFDB
split-complementary
#B232DB #AFDB32 #32DB5E
monochromatic
#64167D #8D1FB1 #B232DB #C666E4 #D99AED

Accessibility & contrast

On white

4.80
#B232DB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.37
#B232DB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B232DB
4.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B232DB#FFFFFF#000000##FFFFFF
##B232DB1.004.804.374.80
#FFFFFF4.801.0021.001.00
#0000004.3721.001.0021.00
##FFFFFF4.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006BE0
Deuteranopia (green-blind)
#3076D7
Tritanopia (blue-blind)
#AF5986
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #b232db;
/* rgb */ color: rgb(178, 50, 219);
/* oklch */ color: oklch(58.5% 0.248 316.2);
Tailwind
colors: {
  custom: {
    50: '#ce78e7',
    500: '#b232db',
    950: '#000000',
  },
}
SCSS
$custom: #b232db;
$custom-light: #ce78e7;
$custom-dark: #000000;
JSON
{
  "hex": "#b232db",
  "rgb": {
    "r": 178,
    "g": 50,
    "b": 219
  },
  "hsl": {
    "h": 285.444,
    "s": 70.124,
    "l": 52.745
  },
  "oklch": {
    "l": 0.58497,
    "c": 0.24823,
    "h": 316.2
  },
  "luminance": 0.16861
}

Semantic roles & 50–950 ramp

primary
#B232DB
secondary
#A2D990
accent
#ED3B66
background
#FDF7FE
surface
#FAEEFD
border
#D3C9D5
text
#140A16
muted
#837C84

Preview Lab

Preview with #B232DB

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

Preview Lab → · Contrast checker → · Palette generator →

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