#B591F8#B591F8

#B591F8 is a light, vivid violet. Relative luminance 0.369; OKLCH L 73.1% C 0.149 H 298.8°. Best body text is #000000 at 8.37:1 contrast (WCAG AA passes).

Color values

HEX#B591F8
RGBrgb(181, 145, 248)
HSLhsl(261, 88%, 77%)
HSVhsv(261, 42%, 97%)
CMYKcmyk(27%, 41.5%, 0%, 2.7%)
CIE-LABlab(67.17, 34.43, -46.69)
CIE-LCHlch(67.17, 58.02, 306.41°)
OKLaboklab(73.08% 0.0717 -0.1305)
OKLCHoklch(73.08% 0.149 298.8)
XYZxyz(46.1208, 36.8515, 93.4720)
Luminance0.3685 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B591F8 #D4F891
analogous
#91A1F8 #B591F8 #E991F8
triadic
#B591F8 #F8B591 #91F8B5
tetradic
#B591F8 #F891A1 #D4F891 #91F8E9
square
#B591F8 #F891A1 #D4F891 #91F8E9
split-complementary
#B591F8 #F8E991 #A1F891
monochromatic
#681EF1 #8E57F4 #B591F8 #DCCBFC #ECE2FD

Accessibility & contrast

On white

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

On black

8.37
#B591F8 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B591F8
8.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B591F8#FFFFFF#000000##000000
##B591F81.002.518.378.37
#FFFFFF2.511.0021.0021.00
#0000008.3721.001.001.00
##0000008.3721.001.001.00

Color blindness preview

Protanopia (red-blind)
#74A3FC
Deuteranopia (green-blind)
#7BA3F5
Tritanopia (blue-blind)
#A8A3B9
Achromatopsia (no color)
#A3A3A3

Design tokens & code

CSS
--color: #b591f8;
/* rgb */ color: rgb(181, 145, 248);
/* oklch */ color: oklch(73.1% 0.149 298.8);
Tailwind
colors: {
  custom: {
    50: '#cdb1fb',
    500: '#b591f8',
    950: '#000000',
  },
}
SCSS
$custom: #b591f8;
$custom-light: #cdb1fb;
$custom-dark: #000000;
JSON
{
  "hex": "#b591f8",
  "rgb": {
    "r": 181,
    "g": 145,
    "b": 248
  },
  "hsl": {
    "h": 260.971,
    "s": 88.034,
    "l": 77.059
  },
  "oklch": {
    "l": 0.73076,
    "c": 0.14891,
    "h": 298.8
  },
  "luminance": 0.36852
}

Semantic roles & 50–950 ramp

primary
#B591F8
secondary
#EAF5D6
accent
#E50195
background
#FCFAFF
surface
#F9F5FF
border
#D2CFD7
text
#141117
muted
#828085

Preview Lab

Preview with #B591F8

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

Preview Lab → · Contrast checker → · Palette generator →

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