#B135DA#B135DA

#B135DA is a mid, highly saturated purple. Relative luminance 0.170; OKLCH L 58.5% C 0.244 H 316.0°. Best body text is #FFFFFF at 4.78:1 contrast (WCAG AA passes).

Color values

HEX#B135DA
RGBrgb(177, 53, 218)
HSLhsl(285, 69%, 53%)
HSVhsv(285, 76%, 85%)
CMYKcmyk(18.8%, 75.7%, 0%, 14.5%)
CIE-LABlab(48.21, 71.30, -60.17)
CIE-LCHlch(48.21, 93.29, 319.84°)
OKLaboklab(58.53% 0.1757 -0.1696)
OKLCHoklch(58.53% 0.244 316)
XYZxyz(32.0575, 16.9566, 67.9004)
Luminance0.1696 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B135DA #5EDA35
analogous
#5E35DA #B135DA #DA35B0
triadic
#B135DA #DAB135 #35DAB1
tetradic
#B135DA #DA5E35 #5EDA35 #35B0DA
square
#B135DA #DA5E35 #5EDA35 #35B0DA
split-complementary
#B135DA #B0DA35 #35DA5E
monochromatic
#64177E #8D20B1 #B135DA #C569E3 #D99CED

Accessibility & contrast

On white

4.78
#B135DA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.39
#B135DA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B135DA
4.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B135DA#FFFFFF#000000##FFFFFF
##B135DA1.004.784.394.78
#FFFFFF4.781.0021.001.00
#0000004.3921.001.0021.00
##FFFFFF4.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006BDE
Deuteranopia (green-blind)
#3276D6
Tritanopia (blue-blind)
#AE5A86
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #b135da;
/* rgb */ color: rgb(177, 53, 218);
/* oklch */ color: oklch(58.5% 0.244 316.0);
Tailwind
colors: {
  custom: {
    50: '#cd79e6',
    500: '#b135da',
    950: '#000000',
  },
}
SCSS
$custom: #b135da;
$custom-light: #cd79e6;
$custom-dark: #000000;
JSON
{
  "hex": "#b135da",
  "rgb": {
    "r": 177,
    "g": 53,
    "b": 218
  },
  "hsl": {
    "h": 285.091,
    "s": 69.038,
    "l": 53.137
  },
  "oklch": {
    "l": 0.58531,
    "c": 0.24419,
    "h": 316
  },
  "luminance": 0.16955
}

Semantic roles & 50–950 ramp

primary
#B135DA
secondary
#A4D992
accent
#EC3C68
background
#FDF7FE
surface
#FAEEFC
border
#D3C9D5
text
#140A16
muted
#837C84

Preview Lab

Preview with #B135DA

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

Preview Lab → · Contrast checker → · Palette generator →

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