#B584FA#B584FA

#B584FA is a light, vivid violet. Relative luminance 0.332; OKLCH L 71.0% C 0.172 H 301.3°. Best body text is #000000 at 7.65:1 contrast (WCAG AA passes).

Color values

HEX#B584FA
RGBrgb(181, 132, 250)
HSLhsl(265, 92%, 75%)
HSVhsv(265, 47%, 98%)
CMYKcmyk(27.6%, 47.2%, 0%, 2%)
CIE-LABlab(64.35, 42.10, -52.24)
CIE-LCHlch(64.35, 67.10, 308.87°)
OKLaboklab(70.99% 0.0893 -0.1466)
OKLCHoklch(70.99% 0.172 301.3)
XYZxyz(44.5587, 33.2283, 94.4902)
Luminance0.3323 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B584FA #C9FA84
analogous
#848EFA #B584FA #F084FA
triadic
#B584FA #FAB584 #84FAB5
tetradic
#B584FA #FA848E #C9FA84 #84FAF0
square
#B584FA #FA848E #C9FA84 #84FAF0
split-complementary
#B584FA #FAF084 #8EFA84
monochromatic
#6E0EF5 #9249F8 #B584FA #D8BFFC #EDE2FE

Accessibility & contrast

On white

2.75
#B584FA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.65
#B584FA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B584FA
7.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B584FA#FFFFFF#000000##000000
##B584FA1.002.757.657.65
#FFFFFF2.751.0021.0021.00
#0000007.6521.001.001.00
##0000007.6521.001.001.00

Color blindness preview

Protanopia (red-blind)
#609BFE
Deuteranopia (green-blind)
#6C9BF7
Tritanopia (blue-blind)
#A899B3
Achromatopsia (no color)
#9C9C9C

Design tokens & code

CSS
--color: #b584fa;
/* rgb */ color: rgb(181, 132, 250);
/* oklch */ color: oklch(71.0% 0.172 301.3);
Tailwind
colors: {
  custom: {
    50: '#cea9fc',
    500: '#b584fa',
    950: '#000000',
  },
}
SCSS
$custom: #b584fa;
$custom-light: #cea9fc;
$custom-dark: #000000;
JSON
{
  "hex": "#b584fa",
  "rgb": {
    "r": 181,
    "g": 132,
    "b": 250
  },
  "hsl": {
    "h": 264.915,
    "s": 92.188,
    "l": 74.902
  },
  "oklch": {
    "l": 0.70989,
    "c": 0.17168,
    "h": 301.3
  },
  "luminance": 0.33228
}

Semantic roles & 50–950 ramp

primary
#B584FA
secondary
#E8F6D5
accent
#E60086
background
#FCFAFF
surface
#F9F4FF
border
#D2CED7
text
#141017
muted
#827F85

Preview Lab

Preview with #B584FA

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

Preview Lab → · Contrast checker → · Palette generator →

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