#B591F7#B591F7

#B591F7 is a light, vivid violet. Relative luminance 0.368; OKLCH L 73.0% C 0.148 H 299.0°. Best body text is #000000 at 8.36:1 contrast (WCAG AA passes).

Color values

HEX#B591F7
RGBrgb(181, 145, 247)
HSLhsl(261, 86%, 77%)
HSVhsv(261, 41%, 97%)
CMYKcmyk(26.7%, 41.3%, 0%, 3.1%)
CIE-LABlab(67.12, 34.20, -46.22)
CIE-LCHlch(67.12, 57.49, 306.50°)
OKLaboklab(73.03% 0.0715 -0.1291)
OKLCHoklch(73.03% 0.148 299)
XYZxyz(45.9661, 36.7896, 92.6571)
Luminance0.3679 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B591F7 #D3F791
analogous
#91A0F7 #B591F7 #E891F7
triadic
#B591F7 #F7B591 #91F7B5
tetradic
#B591F7 #F791A0 #D3F791 #91F7E8
square
#B591F7 #F791A0 #D3F791 #91F7E8
split-complementary
#B591F7 #F7E891 #A0F791
monochromatic
#681FEF #8F58F3 #B591F7 #DBCAFB #ECE2FD

Accessibility & contrast

On white

2.51
#B591F7 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.36
#B591F7 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B591F7
8.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B591F7#FFFFFF#000000##000000
##B591F71.002.518.368.36
#FFFFFF2.511.0021.0021.00
#0000008.3621.001.001.00
##0000008.3621.001.001.00

Color blindness preview

Protanopia (red-blind)
#75A3FB
Deuteranopia (green-blind)
#7CA3F4
Tritanopia (blue-blind)
#A8A3B8
Achromatopsia (no color)
#A3A3A3

Design tokens & code

CSS
--color: #b591f7;
/* rgb */ color: rgb(181, 145, 247);
/* oklch */ color: oklch(73.0% 0.148 299.0);
Tailwind
colors: {
  custom: {
    50: '#cdb1fa',
    500: '#b591f7',
    950: '#000000',
  },
}
SCSS
$custom: #b591f7;
$custom-light: #cdb1fa;
$custom-dark: #000000;
JSON
{
  "hex": "#b591f7",
  "rgb": {
    "r": 181,
    "g": 145,
    "b": 247
  },
  "hsl": {
    "h": 261.176,
    "s": 86.441,
    "l": 76.863
  },
  "oklch": {
    "l": 0.73026,
    "c": 0.14763,
    "h": 299
  },
  "luminance": 0.3679
}

Semantic roles & 50–950 ramp

primary
#B591F7
secondary
#EAF5D6
accent
#E30394
background
#FCFAFF
surface
#F9F5FF
border
#D2CFD7
text
#141117
muted
#828085

Preview Lab

Preview with #B591F7

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

Preview Lab → · Contrast checker → · Palette generator →

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