#B591F3#B591F3

#B591F3 is a light, vivid violet. Relative luminance 0.365; OKLCH L 72.8% C 0.142 H 299.8°. Best body text is #000000 at 8.31:1 contrast (WCAG AA passes).

Color values

HEX#B591F3
RGBrgb(181, 145, 243)
HSLhsl(262, 80%, 76%)
HSVhsv(262, 40%, 95%)
CMYKcmyk(25.5%, 40.3%, 0%, 4.7%)
CIE-LABlab(66.93, 33.24, -44.32)
CIE-LCHlch(66.93, 55.40, 306.88°)
OKLaboklab(72.83% 0.0708 -0.1236)
OKLCHoklch(72.83% 0.142 299.8)
XYZxyz(45.3554, 36.5454, 89.4411)
Luminance0.3655 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B591F3 #CFF391
analogous
#919EF3 #B591F3 #E691F3
triadic
#B591F3 #F3B591 #91F3B5
tetradic
#B591F3 #F3919E #CFF391 #91F3E6
square
#B591F3 #F3919E #CFF391 #91F3E6
split-complementary
#B591F3 #F3E691 #9EF391
monochromatic
#6B23E7 #905AED #B591F3 #DAC8F9 #ECE3FC

Accessibility & contrast

On white

2.53
#B591F3 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.31
#B591F3 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B591F3
8.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B591F3#FFFFFF#000000##000000
##B591F31.002.538.318.31
#FFFFFF2.531.0021.0021.00
#0000008.3121.001.001.00
##0000008.3121.001.001.00

Color blindness preview

Protanopia (red-blind)
#77A3F7
Deuteranopia (green-blind)
#7EA2F0
Tritanopia (blue-blind)
#A9A2B6
Achromatopsia (no color)
#A3A3A3

Design tokens & code

CSS
--color: #b591f3;
/* rgb */ color: rgb(181, 145, 243);
/* oklch */ color: oklch(72.8% 0.142 299.8);
Tailwind
colors: {
  custom: {
    50: '#cdb1f7',
    500: '#b591f3',
    950: '#000000',
  },
}
SCSS
$custom: #b591f3;
$custom-light: #cdb1f7;
$custom-dark: #000000;
JSON
{
  "hex": "#b591f3",
  "rgb": {
    "r": 181,
    "g": 145,
    "b": 243
  },
  "hsl": {
    "h": 262.041,
    "s": 80.328,
    "l": 76.078
  },
  "oklch": {
    "l": 0.72826,
    "c": 0.14248,
    "h": 299.8
  },
  "luminance": 0.36546
}

Semantic roles & 50–950 ramp

primary
#B591F3
secondary
#E9F4D7
accent
#DD098F
background
#FCFAFF
surface
#F9F5FF
border
#D2CFD7
text
#141117
muted
#828085

Preview Lab

Preview with #B591F3

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

Preview Lab → · Contrast checker → · Palette generator →

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