#B330CA#B330CA

#B330CA is a mid, highly saturated purple. Relative luminance 0.160; OKLCH L 57.4% C 0.237 H 321.1°. Best body text is #FFFFFF at 5.01:1 contrast (WCAG AA passes).

Color values

HEX#B330CA
RGBrgb(179, 48, 202)
HSLhsl(291, 62%, 49%)
HSVhsv(291, 76%, 79%)
CMYKcmyk(11.4%, 76.2%, 0%, 20.8%)
CIE-LABlab(46.93, 70.35, -53.02)
CIE-LCHlch(46.93, 88.10, 323.00°)
OKLaboklab(57.36% 0.1841 -0.1486)
OKLCHoklch(57.36% 0.237 321.1)
XYZxyz(30.3068, 15.9635, 57.3506)
Luminance0.1596 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B330CA #47CA30
analogous
#6630CA #B330CA #CA3094
triadic
#B330CA #CAB330 #30CAB3
tetradic
#B330CA #CA6630 #47CA30 #3094CA
square
#B330CA #CA6630 #47CA30 #3094CA
split-complementary
#B330CA #94CA30 #30CA66
monochromatic
#5B1867 #872499 #B330CA #C75ED9 #D890E5

Accessibility & contrast

On white

5.01
#B330CA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.19
#B330CA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B330CA
5.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B330CA#FFFFFF#000000##FFFFFF
##B330CA1.005.014.195.01
#FFFFFF5.011.0021.001.00
#0000004.1921.001.0021.00
##FFFFFF5.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0066CE
Deuteranopia (green-blind)
#4374C7
Tritanopia (blue-blind)
#B4507C
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #b330ca;
/* rgb */ color: rgb(179, 48, 202);
/* oklch */ color: oklch(57.4% 0.237 321.1);
Tailwind
colors: {
  custom: {
    50: '#ce77db',
    500: '#b330ca',
    950: '#000000',
  },
}
SCSS
$custom: #b330ca;
$custom-light: #ce77db;
$custom-dark: #000000;
JSON
{
  "hex": "#b330ca",
  "rgb": {
    "r": 179,
    "g": 48,
    "b": 202
  },
  "hsl": {
    "h": 291.039,
    "s": 61.6,
    "l": 49.02
  },
  "oklch": {
    "l": 0.5736,
    "c": 0.23661,
    "h": 321.1
  },
  "luminance": 0.15962
}

Semantic roles & 50–950 ramp

primary
#B330CA
secondary
#91CF87
accent
#E5435B
background
#FDF7FD
surface
#FAEEFB
border
#D3C9D4
text
#140A15
muted
#837C83

Preview Lab

Preview with #B330CA

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

Preview Lab → · Contrast checker → · Palette generator →

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