#B585EF#B585EF

#B585EF is a light, vivid violet. Relative luminance 0.328; OKLCH L 70.6% C 0.157 H 303.5°. Best body text is #000000 at 7.57:1 contrast (WCAG AA passes).

Color values

HEX#B585EF
RGBrgb(181, 133, 239)
HSLhsl(267, 77%, 73%)
HSVhsv(267, 44%, 94%)
CMYKcmyk(24.3%, 44.4%, 0%, 6.3%)
CIE-LABlab(64.02, 38.97, -46.70)
CIE-LCHlch(64.02, 60.82, 309.84°)
OKLaboklab(70.57% 0.0865 -0.1305)
OKLCHoklch(70.57% 0.157 303.5)
XYZxyz(43.0202, 32.8309, 85.7152)
Luminance0.3283 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B585EF #BFEF85
analogous
#858AEF #B585EF #EA85EF
triadic
#B585EF #EFB585 #85EFB5
tetradic
#B585EF #EF858A #BFEF85 #85EFEA
square
#B585EF #EF858A #BFEF85 #85EFEA
split-complementary
#B585EF #EFEA85 #8AEF85
monochromatic
#741DDD #944FE8 #B585EF #D6BBF6 #EFE4FB

Accessibility & contrast

On white

2.78
#B585EF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.57
#B585EF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B585EF
7.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B585EF#FFFFFF#000000##000000
##B585EF1.002.787.577.57
#FFFFFF2.781.0021.0021.00
#0000007.5721.001.001.00
##0000007.5721.001.001.00

Color blindness preview

Protanopia (red-blind)
#699AF3
Deuteranopia (green-blind)
#749BEC
Tritanopia (blue-blind)
#AB97AF
Achromatopsia (no color)
#9B9B9B

Design tokens & code

CSS
--color: #b585ef;
/* rgb */ color: rgb(181, 133, 239);
/* oklch */ color: oklch(70.6% 0.157 303.5);
Tailwind
colors: {
  custom: {
    50: '#cda9f4',
    500: '#b585ef',
    950: '#000000',
  },
}
SCSS
$custom: #b585ef;
$custom-light: #cda9f4;
$custom-dark: #000000;
JSON
{
  "hex": "#b585ef",
  "rgb": {
    "r": 181,
    "g": 133,
    "b": 239
  },
  "hsl": {
    "h": 267.17,
    "s": 76.812,
    "l": 72.941
  },
  "oklch": {
    "l": 0.70571,
    "c": 0.15657,
    "h": 303.5
  },
  "luminance": 0.32831
}

Semantic roles & 50–950 ramp

primary
#B585EF
secondary
#E7F3D8
accent
#D90C7C
background
#FCFAFE
surface
#F9F4FD
border
#D2CED5
text
#141017
muted
#827F85

Preview Lab

Preview with #B585EF

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

Preview Lab → · Contrast checker → · Palette generator →

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