#B591EF#B591EF

#B591EF is a light, vivid violet. Relative luminance 0.363; OKLCH L 72.6% C 0.137 H 300.7°. Best body text is #000000 at 8.26:1 contrast (WCAG AA passes).

Color values

HEX#B591EF
RGBrgb(181, 145, 239)
HSLhsl(263, 75%, 75%)
HSVhsv(263, 39%, 94%)
CMYKcmyk(24.3%, 39.3%, 0%, 6.3%)
CIE-LABlab(66.75, 32.30, -42.41)
CIE-LCHlch(66.75, 53.31, 307.30°)
OKLaboklab(72.63% 0.0701 -0.1181)
OKLCHoklch(72.63% 0.137 300.7)
XYZxyz(44.7580, 36.3064, 86.2945)
Luminance0.3631 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B591EF #CBEF91
analogous
#919CEF #B591EF #E491EF
triadic
#B591EF #EFB591 #91EFB5
tetradic
#B591EF #EF919C #CBEF91 #91EFE4
square
#B591EF #EF919C #CBEF91 #91EFE4
split-complementary
#B591EF #EFE491 #9CEF91
monochromatic
#6D26DF #915CE7 #B591EF #D9C6F7 #EDE4FB

Accessibility & contrast

On white

2.54
#B591EF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.26
#B591EF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B591EF
8.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B591EF#FFFFFF#000000##000000
##B591EF1.002.548.268.26
#FFFFFF2.541.0021.0021.00
#0000008.2621.001.001.00
##0000008.2621.001.001.00

Color blindness preview

Protanopia (red-blind)
#79A2F3
Deuteranopia (green-blind)
#80A2ED
Tritanopia (blue-blind)
#AAA1B5
Achromatopsia (no color)
#A2A2A2

Design tokens & code

CSS
--color: #b591ef;
/* rgb */ color: rgb(181, 145, 239);
/* oklch */ color: oklch(72.6% 0.137 300.7);
Tailwind
colors: {
  custom: {
    50: '#cdb1f4',
    500: '#b591ef',
    950: '#000000',
  },
}
SCSS
$custom: #b591ef;
$custom-light: #cdb1f4;
$custom-dark: #000000;
JSON
{
  "hex": "#b591ef",
  "rgb": {
    "r": 181,
    "g": 145,
    "b": 239
  },
  "hsl": {
    "h": 262.979,
    "s": 74.603,
    "l": 75.294
  },
  "oklch": {
    "l": 0.7263,
    "c": 0.13733,
    "h": 300.7
  },
  "luminance": 0.36307
}

Semantic roles & 50–950 ramp

primary
#B591EF
secondary
#E9F3D8
accent
#D70F8A
background
#FCFAFE
surface
#F9F5FD
border
#D2CFD5
text
#141117
muted
#828085

Preview Lab

Preview with #B591EF

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

Preview Lab → · Contrast checker → · Palette generator →

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