#B335B7#B335B7

#B335B7 is a mid, highly saturated purple. Relative luminance 0.155; OKLCH L 56.6% C 0.216 H 326.7°. Best body text is #FFFFFF at 5.11:1 contrast (WCAG AA passes).

Color values

HEX#B335B7
RGBrgb(179, 53, 183)
HSLhsl(298, 55%, 46%)
HSVhsv(298, 71%, 72%)
CMYKcmyk(2.2%, 71%, 0%, 28.2%)
CIE-LABlab(46.38, 65.43, -42.84)
CIE-LCHlch(46.38, 78.21, 326.79°)
OKLaboklab(56.61% 0.1807 -0.1189)
OKLCHoklch(56.61% 0.216 326.7)
XYZxyz(28.4102, 15.5507, 46.2958)
Luminance0.1555 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B335B7 #39B735
analogous
#7235B7 #B335B7 #B7357A
triadic
#B335B7 #B7B335 #35B7B3
tetradic
#B335B7 #B77235 #39B735 #357AB7
square
#B335B7 #B77235 #39B735 #357AB7
split-complementary
#B335B7 #7AB735 #35B772
monochromatic
#561A58 #852788 #B335B7 #CC5ACF #DA89DD

Accessibility & contrast

On white

5.11
#B335B7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.11
#B335B7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B335B7
5.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B335B7#FFFFFF#000000##FFFFFF
##B335B71.005.114.115.11
#FFFFFF5.111.0021.001.00
#0000004.1121.001.0021.00
##FFFFFF5.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1864BB
Deuteranopia (green-blind)
#5473B4
Tritanopia (blue-blind)
#B84A73
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #b335b7;
/* rgb */ color: rgb(179, 53, 183);
/* oklch */ color: oklch(56.6% 0.216 326.7);
Tailwind
colors: {
  custom: {
    50: '#cd78cd',
    500: '#b335b7',
    950: '#000000',
  },
}
SCSS
$custom: #b335b7;
$custom-light: #cd78cd;
$custom-dark: #000000;
JSON
{
  "hex": "#b335b7",
  "rgb": {
    "r": 179,
    "g": 53,
    "b": 183
  },
  "hsl": {
    "h": 298.154,
    "s": 55.085,
    "l": 46.275
  },
  "oklch": {
    "l": 0.56611,
    "c": 0.21626,
    "h": 326.7
  },
  "luminance": 0.15549
}

Semantic roles & 50–950 ramp

primary
#B335B7
secondary
#83C781
accent
#DE494E
background
#FDF7FC
surface
#FAEEF9
border
#D3C9D2
text
#140A13
muted
#837C82

Preview Lab

Preview with #B335B7

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

Preview Lab → · Contrast checker → · Palette generator →

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