#B35EC1#B35EC1

#B35EC1 is a mid, vivid purple. Relative luminance 0.214; OKLCH L 61.9% C 0.168 H 321.8°. Best body text is #000000 at 5.29:1 contrast (WCAG AA passes).

Color values

HEX#B35EC1
RGBrgb(179, 94, 193)
HSLhsl(292, 44%, 56%)
HSVhsv(292, 51%, 76%)
CMYKcmyk(7.3%, 51.3%, 0%, 24.3%)
CIE-LABlab(53.43, 49.36, -37.51)
CIE-LCHlch(53.43, 61.99, 322.77°)
OKLaboklab(61.91% 0.1318 -0.1037)
OKLCHoklch(61.91% 0.168 321.8)
XYZxyz(32.2177, 21.4408, 52.8832)
Luminance0.2144 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B35EC1 #6CC15E
analogous
#825EC1 #B35EC1 #C15E9E
triadic
#B35EC1 #C1B35E #5EC1B3
tetradic
#B35EC1 #C1825E #6CC15E #5E9EC1
square
#B35EC1 #C1825E #6CC15E #5E9EC1
split-complementary
#B35EC1 #9EC15E #5EC182
monochromatic
#6D2E77 #953FA3 #B35EC1 #C88AD2 #DDB6E3

Accessibility & contrast

On white

3.97
#B35EC1 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.29
#B35EC1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B35EC1
5.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B35EC1#FFFFFF#000000##000000
##B35EC11.003.975.295.29
#FFFFFF3.971.0021.0021.00
#0000005.2921.001.001.00
##0000005.2921.001.001.00

Color blindness preview

Protanopia (red-blind)
#4F79C4
Deuteranopia (green-blind)
#6983BE
Tritanopia (blue-blind)
#B56B87
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #b35ec1;
/* rgb */ color: rgb(179, 94, 193);
/* oklch */ color: oklch(61.9% 0.168 321.8);
Tailwind
colors: {
  custom: {
    50: '#cc8fd4',
    500: '#b35ec1',
    950: '#000000',
  },
}
SCSS
$custom: #b35ec1;
$custom-light: #cc8fd4;
$custom-dark: #000000;
JSON
{
  "hex": "#b35ec1",
  "rgb": {
    "r": 179,
    "g": 94,
    "b": 193
  },
  "hsl": {
    "h": 291.515,
    "s": 44.395,
    "l": 56.275
  },
  "oklch": {
    "l": 0.61908,
    "c": 0.16775,
    "h": 321.8
  },
  "luminance": 0.21439
}

Semantic roles & 50–950 ramp

primary
#B35EC1
secondary
#AFD2A9
accent
#D45466
background
#FCF8FD
surface
#F9F0FA
border
#D2CBD3
text
#140D14
muted
#827D83

Preview Lab

Preview with #B35EC1

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

Preview Lab → · Contrast checker → · Palette generator →

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