#B333CA#B333CA

#B333CA is a mid, highly saturated purple. Relative luminance 0.162; OKLCH L 57.6% C 0.234 H 321.0°. Best body text is #FFFFFF at 4.95:1 contrast (WCAG AA passes).

Color values

HEX#B333CA
RGBrgb(179, 51, 202)
HSLhsl(291, 60%, 50%)
HSVhsv(291, 75%, 79%)
CMYKcmyk(11.4%, 74.8%, 0%, 20.8%)
CIE-LABlab(47.26, 69.40, -52.49)
CIE-LCHlch(47.26, 87.02, 322.90°)
OKLaboklab(57.6% 0.1816 -0.147)
OKLCHoklch(57.6% 0.234 321)
XYZxyz(30.4337, 16.2173, 57.3929)
Luminance0.1622 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B333CA #4ACA33
analogous
#6833CA #B333CA #CA3396
triadic
#B333CA #CAB333 #33CAB3
tetradic
#B333CA #CA6833 #4ACA33 #3396CA
square
#B333CA #CA6833 #4ACA33 #3396CA
split-complementary
#B333CA #96CA33 #33CA68
monochromatic
#5C1A68 #882799 #B333CA #C663D8 #D894E4

Accessibility & contrast

On white

4.95
#B333CA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.24
#B333CA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B333CA
4.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B333CA#FFFFFF#000000##FFFFFF
##B333CA1.004.954.244.95
#FFFFFF4.951.0021.001.00
#0000004.2421.001.0021.00
##FFFFFF4.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0067CE
Deuteranopia (green-blind)
#4575C7
Tritanopia (blue-blind)
#B4517D
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #b333ca;
/* rgb */ color: rgb(179, 51, 202);
/* oklch */ color: oklch(57.6% 0.234 321.0);
Tailwind
colors: {
  custom: {
    50: '#ce78db',
    500: '#b333ca',
    950: '#000000',
  },
}
SCSS
$custom: #b333ca;
$custom-light: #ce78db;
$custom-dark: #000000;
JSON
{
  "hex": "#b333ca",
  "rgb": {
    "r": 179,
    "g": 51,
    "b": 202
  },
  "hsl": {
    "h": 290.861,
    "s": 59.684,
    "l": 49.608
  },
  "oklch": {
    "l": 0.57595,
    "c": 0.23366,
    "h": 321
  },
  "luminance": 0.16216
}

Semantic roles & 50–950 ramp

primary
#B333CA
secondary
#94CF8A
accent
#E3455D
background
#FDF7FD
surface
#FAEEFB
border
#D3C9D4
text
#140A15
muted
#837C83

Preview Lab

Preview with #B333CA

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

Preview Lab → · Contrast checker → · Palette generator →

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