#B585E5#B585E5

#B585E5 is a light, vivid violet. Relative luminance 0.323; OKLCH L 70.1% C 0.144 H 306.1°. Best body text is #000000 at 7.45:1 contrast (WCAG AA passes).

Color values

HEX#B585E5
RGBrgb(181, 133, 229)
HSLhsl(270, 65%, 71%)
HSVhsv(270, 42%, 90%)
CMYKcmyk(21%, 41.9%, 0%, 10.2%)
CIE-LABlab(63.55, 36.67, -41.91)
CIE-LCHlch(63.55, 55.68, 311.19°)
OKLaboklab(70.06% 0.0849 -0.1166)
OKLCHoklch(70.06% 0.144 306.1)
XYZxyz(41.5836, 32.2562, 78.1489)
Luminance0.3226 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B585E5 #B5E585
analogous
#8585E5 #B585E5 #E585E5
triadic
#B585E5 #E5B585 #85E5B5
tetradic
#B585E5 #E58585 #B5E585 #85E5E5
square
#B585E5 #E58585 #B5E585 #85E5E5
split-complementary
#B585E5 #E5E585 #85E585
monochromatic
#782AC6 #9653DA #B585E5 #D4B7F0 #F0E6FA

Accessibility & contrast

On white

2.82
#B585E5 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.45
#B585E5 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B585E5
7.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B585E5#FFFFFF#000000##000000
##B585E51.002.827.457.45
#FFFFFF2.821.0021.0021.00
#0000007.4521.001.001.00
##0000007.4521.001.001.00

Color blindness preview

Protanopia (red-blind)
#6E98E9
Deuteranopia (green-blind)
#7A9AE2
Tritanopia (blue-blind)
#AE94AA
Achromatopsia (no color)
#9A9A9A

Design tokens & code

CSS
--color: #b585e5;
/* rgb */ color: rgb(181, 133, 229);
/* oklch */ color: oklch(70.1% 0.144 306.1);
Tailwind
colors: {
  custom: {
    50: '#cda9ed',
    500: '#b585e5',
    950: '#000000',
  },
}
SCSS
$custom: #b585e5;
$custom-light: #cda9ed;
$custom-dark: #000000;
JSON
{
  "hex": "#b585e5",
  "rgb": {
    "r": 181,
    "g": 133,
    "b": 229
  },
  "hsl": {
    "h": 270,
    "s": 64.865,
    "l": 70.98
  },
  "oklch": {
    "l": 0.70064,
    "c": 0.14424,
    "h": 306.1
  },
  "luminance": 0.32256
}

Semantic roles & 50–950 ramp

primary
#B585E5
secondary
#E3F0D6
accent
#CD1973
background
#FCFAFE
surface
#F9F4FD
border
#D2CED5
text
#141016
muted
#827F84

Preview Lab

Preview with #B585E5

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

Preview Lab → · Contrast checker → · Palette generator →

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