#B591F2#B591F2

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

Color values

HEX#B591F2
RGBrgb(181, 145, 242)
HSLhsl(262, 79%, 76%)
HSVhsv(262, 40%, 95%)
CMYKcmyk(25.2%, 40.1%, 0%, 5.1%)
CIE-LABlab(66.89, 33.01, -43.84)
CIE-LCHlch(66.89, 54.88, 306.98°)
OKLaboklab(72.78% 0.0706 -0.1223)
OKLCHoklch(72.78% 0.141 300)
XYZxyz(45.2048, 36.4852, 88.6480)
Luminance0.3649 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B591F2 #CEF291
analogous
#919DF2 #B591F2 #E591F2
triadic
#B591F2 #F2B591 #91F2B5
tetradic
#B591F2 #F2919D #CEF291 #91F2E5
square
#B591F2 #F2919D #CEF291 #91F2E5
split-complementary
#B591F2 #F2E591 #9DF291
monochromatic
#6B24E5 #905AEC #B591F2 #DAC8F8 #EDE4FC

Accessibility & contrast

On white

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

On black

8.30
#B591F2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B591F2
8.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B591F2#FFFFFF#000000##000000
##B591F21.002.538.308.30
#FFFFFF2.531.0021.0021.00
#0000008.3021.001.001.00
##0000008.3021.001.001.00

Color blindness preview

Protanopia (red-blind)
#78A2F6
Deuteranopia (green-blind)
#7FA2EF
Tritanopia (blue-blind)
#AAA1B6
Achromatopsia (no color)
#A3A3A3

Design tokens & code

CSS
--color: #b591f2;
/* rgb */ color: rgb(181, 145, 242);
/* oklch */ color: oklch(72.8% 0.141 300.0);
Tailwind
colors: {
  custom: {
    50: '#cdb1f7',
    500: '#b591f2',
    950: '#000000',
  },
}
SCSS
$custom: #b591f2;
$custom-light: #cdb1f7;
$custom-dark: #000000;
JSON
{
  "hex": "#b591f2",
  "rgb": {
    "r": 181,
    "g": 145,
    "b": 242
  },
  "hsl": {
    "h": 262.268,
    "s": 78.862,
    "l": 75.882
  },
  "oklch": {
    "l": 0.72777,
    "c": 0.1412,
    "h": 300
  },
  "luminance": 0.36485
}

Semantic roles & 50–950 ramp

primary
#B591F2
secondary
#E9F4D7
accent
#DB0A8E
background
#FCFAFF
surface
#F9F5FE
border
#D2CFD6
text
#141117
muted
#828085

Preview Lab

Preview with #B591F2

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

Preview Lab → · Contrast checker → · Palette generator →

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