#B835C2#B835C2

#B835C2 is a mid, highly saturated purple. Relative luminance 0.166; OKLCH L 58.0% C 0.227 H 324.9°. Best body text is #FFFFFF at 4.85:1 contrast (WCAG AA passes).

Color values

HEX#B835C2
RGBrgb(184, 53, 194)
HSLhsl(296, 57%, 48%)
HSVhsv(296, 73%, 76%)
CMYKcmyk(5.2%, 72.7%, 0%, 23.9%)
CIE-LABlab(47.80, 68.37, -46.96)
CIE-LCHlch(47.80, 82.94, 325.52°)
OKLaboklab(57.98% 0.1859 -0.1307)
OKLCHoklch(57.98% 0.227 324.9)
XYZxyz(30.7771, 16.6336, 52.6180)
Luminance0.1663 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B835C2 #3FC235
analogous
#7135C2 #B835C2 #C23585
triadic
#B835C2 #C2B835 #35C2B8
tetradic
#B835C2 #C27135 #3FC235 #3585C2
square
#B835C2 #C27135 #3FC235 #3585C2
split-complementary
#B835C2 #85C235 #35C271
monochromatic
#5D1B62 #8A2892 #B835C2 #CC60D4 #DB91E1

Accessibility & contrast

On white

4.85
#B835C2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.33
#B835C2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B835C2
4.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B835C2#FFFFFF#000000##FFFFFF
##B835C21.004.854.334.85
#FFFFFF4.851.0021.001.00
#0000004.3321.001.0021.00
##FFFFFF4.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0067C6
Deuteranopia (green-blind)
#5277BF
Tritanopia (blue-blind)
#BC4D79
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #b835c2;
/* rgb */ color: rgb(184, 53, 194);
/* oklch */ color: oklch(58.0% 0.227 324.9);
Tailwind
colors: {
  custom: {
    50: '#d179d5',
    500: '#b835c2',
    950: '#000000',
  },
}
SCSS
$custom: #b835c2;
$custom-light: #d179d5;
$custom-dark: #000000;
JSON
{
  "hex": "#b835c2",
  "rgb": {
    "r": 184,
    "g": 53,
    "b": 194
  },
  "hsl": {
    "h": 295.745,
    "s": 57.085,
    "l": 48.431
  },
  "oklch": {
    "l": 0.57978,
    "c": 0.22727,
    "h": 324.9
  },
  "luminance": 0.16632
}

Semantic roles & 50–950 ramp

primary
#B835C2
secondary
#8CCC87
accent
#E04752
background
#FDF7FD
surface
#FAEEFA
border
#D3C9D3
text
#150A14
muted
#837C83

Preview Lab

Preview with #B835C2

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

Preview Lab → · Contrast checker → · Palette generator →

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