#B578EA#B578EA

#B578EA is a light, vivid violet. Relative luminance 0.292; OKLCH L 68.2% C 0.171 H 307.1°. Best body text is #000000 at 6.84:1 contrast (WCAG AA passes).

Color values

HEX#B578EA
RGBrgb(181, 120, 234)
HSLhsl(272, 73%, 69%)
HSVhsv(272, 49%, 92%)
CMYKcmyk(22.6%, 48.7%, 0%, 8.2%)
CIE-LABlab(60.96, 44.92, -48.78)
CIE-LCHlch(60.96, 66.31, 312.64°)
OKLaboklab(68.2% 0.1034 -0.1365)
OKLCHoklch(68.2% 0.171 307.1)
XYZxyz(40.6208, 29.1976, 81.3217)
Luminance0.2920 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B578EA #ADEA78
analogous
#7C78EA #B578EA #EA78E6
triadic
#B578EA #EAB578 #78EAB5
tetradic
#B578EA #EA7C78 #ADEA78 #78E6EA
square
#B578EA #EA7C78 #ADEA78 #78E6EA
split-complementary
#B578EA #E6EA78 #78EA7C
monochromatic
#7A1FC8 #9843E2 #B578EA #D2ADF2 #EFE2FA

Accessibility & contrast

On white

3.07
#B578EA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.84
#B578EA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B578EA
6.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B578EA#FFFFFF#000000##000000
##B578EA1.003.076.846.84
#FFFFFF3.071.0021.0021.00
#0000006.8421.001.001.00
##0000006.8421.001.001.00

Color blindness preview

Protanopia (red-blind)
#5991EE
Deuteranopia (green-blind)
#6A94E7
Tritanopia (blue-blind)
#AD8BA6
Achromatopsia (no color)
#939393

Design tokens & code

CSS
--color: #b578ea;
/* rgb */ color: rgb(181, 120, 234);
/* oklch */ color: oklch(68.2% 0.171 307.1);
Tailwind
colors: {
  custom: {
    50: '#cda0f1',
    500: '#b578ea',
    950: '#000000',
  },
}
SCSS
$custom: #b578ea;
$custom-light: #cda0f1;
$custom-dark: #000000;
JSON
{
  "hex": "#b578ea",
  "rgb": {
    "r": 181,
    "g": 120,
    "b": 234
  },
  "hsl": {
    "h": 272.105,
    "s": 73.077,
    "l": 69.412
  },
  "oklch": {
    "l": 0.68198,
    "c": 0.17126,
    "h": 307.1
  },
  "luminance": 0.29197
}

Semantic roles & 50–950 ramp

primary
#B578EA
secondary
#DEEFCE
accent
#D5106C
background
#FCFAFE
surface
#F9F3FD
border
#D2CDD5
text
#140F17
muted
#827F85

Preview Lab

Preview with #B578EA

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

Preview Lab → · Contrast checker → · Palette generator →

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