#B335B3#B335B3

#B335B3 is a mid, highly saturated purple. Relative luminance 0.154; OKLCH L 56.4% C 0.213 H 328.0°. Best body text is #FFFFFF at 5.15:1 contrast (WCAG AA passes).

Color values

HEX#B335B3
RGBrgb(179, 53, 179)
HSLhsl(300, 54%, 45%)
HSVhsv(300, 70%, 70%)
CMYKcmyk(0%, 70.4%, 0%, 29.8%)
CIE-LABlab(46.16, 64.76, -40.84)
CIE-LCHlch(46.16, 76.57, 327.76°)
OKLaboklab(56.38% 0.1806 -0.1131)
OKLCHoklch(56.38% 0.213 328)
XYZxyz(27.9998, 15.3866, 44.1342)
Luminance0.1538 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B335B3 #35B335
analogous
#7435B3 #B335B3 #B33574
triadic
#B335B3 #B3B335 #35B3B3
tetradic
#B335B3 #B37435 #35B335 #3574B3
square
#B335B3 #B37435 #35B335 #3574B3
split-complementary
#B335B3 #74B335 #35B374
monochromatic
#551955 #842784 #B335B3 #CD58CD #DB87DB

Accessibility & contrast

On white

5.15
#B335B3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.08
#B335B3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B335B3
5.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B335B3#FFFFFF#000000##FFFFFF
##B335B31.005.154.085.15
#FFFFFF5.151.0021.001.00
#0000004.0821.001.0021.00
##FFFFFF5.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1F63B7
Deuteranopia (green-blind)
#5673B0
Tritanopia (blue-blind)
#B94871
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #b335b3;
/* rgb */ color: rgb(179, 53, 179);
/* oklch */ color: oklch(56.4% 0.213 328.0);
Tailwind
colors: {
  custom: {
    50: '#cd78ca',
    500: '#b335b3',
    950: '#000000',
  },
}
SCSS
$custom: #b335b3;
$custom-light: #cd78ca;
$custom-dark: #000000;
JSON
{
  "hex": "#b335b3",
  "rgb": {
    "r": 179,
    "g": 53,
    "b": 179
  },
  "hsl": {
    "h": 300,
    "s": 54.31,
    "l": 45.49
  },
  "oklch": {
    "l": 0.56382,
    "c": 0.21311,
    "h": 328
  },
  "luminance": 0.15385
}

Semantic roles & 50–950 ramp

primary
#B335B3
secondary
#7FC57F
accent
#DE4A4A
background
#FDF7FC
surface
#FAEEF8
border
#D3C9D1
text
#140A13
muted
#837C82

Preview Lab

Preview with #B335B3

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

Preview Lab → · Contrast checker → · Palette generator →

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