#B335C3#B335C3

#B335C3 is a mid, highly saturated purple. Relative luminance 0.161; OKLCH L 57.3% C 0.226 H 323.0°. Best body text is #FFFFFF at 4.98:1 contrast (WCAG AA passes).

Color values

HEX#B335C3
RGBrgb(179, 53, 195)
HSLhsl(293, 57%, 49%)
HSVhsv(293, 73%, 76%)
CMYKcmyk(8.2%, 72.8%, 0%, 23.5%)
CIE-LABlab(47.07, 67.50, -48.74)
CIE-LCHlch(47.07, 83.26, 324.17°)
OKLaboklab(57.33% 0.1803 -0.1361)
OKLCHoklch(57.33% 0.226 323)
XYZxyz(29.7129, 16.0718, 53.1563)
Luminance0.1607 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B335C3 #45C335
analogous
#6C35C3 #B335C3 #C3358C
triadic
#B335C3 #C3B335 #35C3B3
tetradic
#B335C3 #C36C35 #45C335 #358CC3
square
#B335C3 #C36C35 #45C335 #358CC3
split-complementary
#B335C3 #8CC335 #35C36C
monochromatic
#5B1B63 #872893 #B335C3 #C761D4 #D891E1

Accessibility & contrast

On white

4.98
#B335C3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.21
#B335C3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B335C3
4.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B335C3#FFFFFF#000000##FFFFFF
##B335C31.004.984.214.98
#FFFFFF4.981.0021.001.00
#0000004.2121.001.0021.00
##FFFFFF4.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0066C7
Deuteranopia (green-blind)
#4C74C0
Tritanopia (blue-blind)
#B64F79
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #b335c3;
/* rgb */ color: rgb(179, 53, 195);
/* oklch */ color: oklch(57.3% 0.226 323.0);
Tailwind
colors: {
  custom: {
    50: '#ce79d6',
    500: '#b335c3',
    950: '#000000',
  },
}
SCSS
$custom: #b335c3;
$custom-light: #ce79d6;
$custom-dark: #000000;
JSON
{
  "hex": "#b335c3",
  "rgb": {
    "r": 179,
    "g": 53,
    "b": 195
  },
  "hsl": {
    "h": 293.239,
    "s": 57.258,
    "l": 48.627
  },
  "oklch": {
    "l": 0.57325,
    "c": 0.22589,
    "h": 323
  },
  "luminance": 0.1607
}

Semantic roles & 50–950 ramp

primary
#B335C3
secondary
#8FCC88
accent
#E14759
background
#FDF7FD
surface
#FAEEFA
border
#D3C9D3
text
#140A14
muted
#837C83

Preview Lab

Preview with #B335C3

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

Preview Lab → · Contrast checker → · Palette generator →

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