#B578FA#B578FA

#B578FA is a light, vivid violet. Relative luminance 0.302; OKLCH L 69.1% C 0.190 H 303.5°. Best body text is #000000 at 7.03:1 contrast (WCAG AA passes).

Color values

HEX#B578FA
RGBrgb(181, 120, 250)
HSLhsl(268, 93%, 73%)
HSVhsv(268, 52%, 98%)
CMYKcmyk(27.6%, 52%, 0%, 2%)
CIE-LABlab(61.79, 48.60, -56.30)
CIE-LCHlch(61.79, 74.38, 310.80°)
OKLaboklab(69.09% 0.1048 -0.1585)
OKLCHoklch(69.09% 0.19 303.5)
XYZxyz(43.0240, 30.1589, 93.9786)
Luminance0.3016 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B578FA #BDFA78
analogous
#787CFA #B578FA #F678FA
triadic
#B578FA #FAB578 #78FAB5
tetradic
#B578FA #FA787C #BDFA78 #78FAF6
square
#B578FA #FA787C #BDFA78 #78FAF6
split-complementary
#B578FA #FAF678 #7CFA78
monochromatic
#7509EF #953DF8 #B578FA #D5B3FC #EFE1FE

Accessibility & contrast

On white

2.99
#B578FA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.03
#B578FA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B578FA
7.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B578FA#FFFFFF#000000##000000
##B578FA1.002.997.037.03
#FFFFFF2.991.0021.0021.00
#0000007.0321.001.001.00
##0000007.0321.001.001.00

Color blindness preview

Protanopia (red-blind)
#4C94FE
Deuteranopia (green-blind)
#5F95F7
Tritanopia (blue-blind)
#A990AE
Achromatopsia (no color)
#959595

Design tokens & code

CSS
--color: #b578fa;
/* rgb */ color: rgb(181, 120, 250);
/* oklch */ color: oklch(69.1% 0.190 303.5);
Tailwind
colors: {
  custom: {
    50: '#cea1fc',
    500: '#b578fa',
    950: '#000000',
  },
}
SCSS
$custom: #b578fa;
$custom-light: #cea1fc;
$custom-dark: #000000;
JSON
{
  "hex": "#b578fa",
  "rgb": {
    "r": 181,
    "g": 120,
    "b": 250
  },
  "hsl": {
    "h": 268.154,
    "s": 92.857,
    "l": 72.549
  },
  "oklch": {
    "l": 0.69089,
    "c": 0.18999,
    "h": 303.5
  },
  "luminance": 0.30159
}

Semantic roles & 50–950 ramp

primary
#B578FA
secondary
#E7F6D5
accent
#E6007A
background
#FDFAFF
surface
#FAF3FF
border
#D3CDD7
text
#140F18
muted
#837F86

Preview Lab

Preview with #B578FA

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

Preview Lab → · Contrast checker → · Palette generator →

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