#B591E2#B591E2

#B591E2 is a light, vivid violet. Relative luminance 0.356; OKLCH L 72.0% C 0.121 H 304.0°. Best body text is #000000 at 8.11:1 contrast (WCAG AA passes).

Color values

HEX#B591E2
RGBrgb(181, 145, 226)
HSLhsl(267, 58%, 73%)
HSVhsv(267, 36%, 89%)
CMYKcmyk(19.9%, 35.8%, 0%, 11.4%)
CIE-LABlab(66.19, 29.30, -36.13)
CIE-LCHlch(66.19, 46.52, 309.04°)
OKLaboklab(72.01% 0.0674 -0.1)
OKLCHoklch(72.01% 0.121 304)
XYZxyz(42.9061, 35.5657, 76.5412)
Luminance0.3557 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B591E2 #BEE291
analogous
#9195E2 #B591E2 #DE91E2
triadic
#B591E2 #E2B591 #91E2B5
tetradic
#B591E2 #E29195 #BEE291 #91E2DE
square
#B591E2 #E29195 #BEE291 #91E2DE
split-complementary
#B591E2 #E2DE91 #95E291
monochromatic
#7434C5 #9461D5 #B591E2 #D6C1EF #EFE7F9

Accessibility & contrast

On white

2.59
#B591E2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.11
#B591E2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B591E2
8.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B591E2#FFFFFF#000000##000000
##B591E21.002.598.118.11
#FFFFFF2.591.0021.0021.00
#0000008.1121.001.001.00
##0000008.1121.001.001.00

Color blindness preview

Protanopia (red-blind)
#7FA0E5
Deuteranopia (green-blind)
#86A1E0
Tritanopia (blue-blind)
#AE9EAF
Achromatopsia (no color)
#A1A1A1

Design tokens & code

CSS
--color: #b591e2;
/* rgb */ color: rgb(181, 145, 226);
/* oklch */ color: oklch(72.0% 0.121 304.0);
Tailwind
colors: {
  custom: {
    50: '#ccb1eb',
    500: '#b591e2',
    950: '#000000',
  },
}
SCSS
$custom: #b591e2;
$custom-light: #ccb1eb;
$custom-dark: #000000;
JSON
{
  "hex": "#b591e2",
  "rgb": {
    "r": 181,
    "g": 145,
    "b": 226
  },
  "hsl": {
    "h": 266.667,
    "s": 58.273,
    "l": 72.745
  },
  "oklch": {
    "l": 0.72013,
    "c": 0.12059,
    "h": 304
  },
  "luminance": 0.35566
}

Semantic roles & 50–950 ramp

primary
#B591E2
secondary
#E7F0DB
accent
#C6207C
background
#FCFAFE
surface
#F9F5FD
border
#D2CFD5
text
#131116
muted
#828084

Preview Lab

Preview with #B591E2

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

Preview Lab → · Contrast checker → · Palette generator →

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