#B35EC2#B35EC2

#B35EC2 is a mid, vivid purple. Relative luminance 0.215; OKLCH L 62.0% C 0.169 H 321.4°. Best body text is #000000 at 5.30:1 contrast (WCAG AA passes).

Color values

HEX#B35EC2
RGBrgb(179, 94, 194)
HSLhsl(291, 45%, 56%)
HSVhsv(291, 52%, 76%)
CMYKcmyk(7.7%, 51.5%, 0%, 23.9%)
CIE-LABlab(53.48, 49.56, -38.01)
CIE-LCHlch(53.48, 62.45, 322.52°)
OKLaboklab(61.96% 0.132 -0.1052)
OKLCHoklch(61.96% 0.169 321.4)
XYZxyz(32.3296, 21.4856, 53.4726)
Luminance0.2148 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B35EC2 #6DC25E
analogous
#815EC2 #B35EC2 #C25E9F
triadic
#B35EC2 #C2B35E #5EC2B3
tetradic
#B35EC2 #C2815E #6DC25E #5E9FC2
square
#B35EC2 #C2815E #6DC25E #5E9FC2
split-complementary
#B35EC2 #9FC25E #5EC281
monochromatic
#6D2E78 #953EA4 #B35EC2 #C88AD3 #DDB7E4

Accessibility & contrast

On white

3.96
#B35EC2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.30
#B35EC2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B35EC2
5.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B35EC2#FFFFFF#000000##000000
##B35EC21.003.965.305.30
#FFFFFF3.961.0021.0021.00
#0000005.3021.001.001.00
##0000005.3021.001.001.00

Color blindness preview

Protanopia (red-blind)
#4E7AC5
Deuteranopia (green-blind)
#6883BF
Tritanopia (blue-blind)
#B56B87
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #b35ec2;
/* rgb */ color: rgb(179, 94, 194);
/* oklch */ color: oklch(62.0% 0.169 321.4);
Tailwind
colors: {
  custom: {
    50: '#cc8fd5',
    500: '#b35ec2',
    950: '#000000',
  },
}
SCSS
$custom: #b35ec2;
$custom-light: #cc8fd5;
$custom-dark: #000000;
JSON
{
  "hex": "#b35ec2",
  "rgb": {
    "r": 179,
    "g": 94,
    "b": 194
  },
  "hsl": {
    "h": 291,
    "s": 45.045,
    "l": 56.471
  },
  "oklch": {
    "l": 0.6196,
    "c": 0.16874,
    "h": 321.4
  },
  "luminance": 0.21484
}

Semantic roles & 50–950 ramp

primary
#B35EC2
secondary
#B0D2A9
accent
#D55367
background
#FCF9FD
surface
#F9F1FA
border
#D2CBD3
text
#140D14
muted
#827E83

Preview Lab

Preview with #B35EC2

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

Preview Lab → · Contrast checker → · Palette generator →

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