#B330DB#B330DB

#B330DB is a mid, highly saturated purple. Relative luminance 0.168; OKLCH L 58.5% C 0.250 H 316.6°. Best body text is #FFFFFF at 4.81:1 contrast (WCAG AA passes).

Color values

HEX#B330DB
RGBrgb(179, 48, 219)
HSLhsl(286, 70%, 52%)
HSVhsv(286, 78%, 86%)
CMYKcmyk(18.3%, 78.1%, 0%, 14.1%)
CIE-LABlab(48.02, 73.43, -61.02)
CIE-LCHlch(48.02, 95.47, 320.27°)
OKLaboklab(58.48% 0.1819 -0.172)
OKLCHoklch(58.48% 0.25 316.6)
XYZxyz(32.4316, 16.8135, 68.5411)
Luminance0.1681 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B330DB #58DB30
analogous
#5E30DB #B330DB #DB30AD
triadic
#B330DB #DBB330 #30DBB3
tetradic
#B330DB #DB5E30 #58DB30 #30ADDB
square
#B330DB #DB5E30 #58DB30 #30ADDB
split-complementary
#B330DB #ADDB30 #30DB5E
monochromatic
#63157B #8D1EAF #B330DB #C664E4 #D998ED

Accessibility & contrast

On white

4.81
#B330DB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.36
#B330DB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B330DB
4.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B330DB#FFFFFF#000000##FFFFFF
##B330DB1.004.814.364.81
#FFFFFF4.811.0021.001.00
#0000004.3621.001.0021.00
##FFFFFF4.811.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #b330db;
/* rgb */ color: rgb(179, 48, 219);
/* oklch */ color: oklch(58.5% 0.250 316.6);
Tailwind
colors: {
  custom: {
    50: '#cf78e7',
    500: '#b330db',
    950: '#000000',
  },
}
SCSS
$custom: #b330db;
$custom-light: #cf78e7;
$custom-dark: #000000;
JSON
{
  "hex": "#b330db",
  "rgb": {
    "r": 179,
    "g": 48,
    "b": 219
  },
  "hsl": {
    "h": 285.965,
    "s": 70.37,
    "l": 52.353
  },
  "oklch": {
    "l": 0.58484,
    "c": 0.25037,
    "h": 316.6
  },
  "luminance": 0.16812
}

Semantic roles & 50–950 ramp

primary
#B330DB
secondary
#A0D98E
accent
#ED3B64
background
#FDF7FE
surface
#FAEEFD
border
#D3C9D5
text
#140A16
muted
#837C84

Preview Lab

Preview with #B330DB

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

Preview Lab → · Contrast checker → · Palette generator →

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