#B578F5#B578F5

#B578F5 is a light, vivid violet. Relative luminance 0.298; OKLCH L 68.8% C 0.184 H 304.6°. Best body text is #000000 at 6.97:1 contrast (WCAG AA passes).

Color values

HEX#B578F5
RGBrgb(181, 120, 245)
HSLhsl(269, 86%, 72%)
HSVhsv(269, 51%, 96%)
CMYKcmyk(26.1%, 51%, 0%, 3.9%)
CIE-LABlab(61.52, 47.44, -53.97)
CIE-LCHlch(61.52, 71.85, 311.32°)
OKLaboklab(68.81% 0.1044 -0.1517)
OKLCHoklch(68.81% 0.184 304.6)
XYZxyz(42.2504, 29.8495, 89.9042)
Luminance0.2985 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B578F5 #B8F578
analogous
#787AF5 #B578F5 #F478F5
triadic
#B578F5 #F5B578 #78F5B5
tetradic
#B578F5 #F5787A #B8F578 #78F5F4
square
#B578F5 #F5787A #B8F578 #78F5F4
split-complementary
#B578F5 #F5F478 #7AF578
monochromatic
#7711E2 #963FF1 #B578F5 #D4B1F9 #EFE3FD

Accessibility & contrast

On white

3.01
#B578F5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.97
#B578F5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B578F5
6.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B578F5#FFFFFF#000000##000000
##B578F51.003.016.976.97
#FFFFFF3.011.0021.0021.00
#0000006.9721.001.001.00
##0000006.9721.001.001.00

Color blindness preview

Protanopia (red-blind)
#5093F9
Deuteranopia (green-blind)
#6295F2
Tritanopia (blue-blind)
#AA8FAB
Achromatopsia (no color)
#959595

Design tokens & code

CSS
--color: #b578f5;
/* rgb */ color: rgb(181, 120, 245);
/* oklch */ color: oklch(68.8% 0.184 304.6);
Tailwind
colors: {
  custom: {
    50: '#cea1f9',
    500: '#b578f5',
    950: '#000000',
  },
}
SCSS
$custom: #b578f5;
$custom-light: #cea1f9;
$custom-dark: #000000;
JSON
{
  "hex": "#b578f5",
  "rgb": {
    "r": 181,
    "g": 120,
    "b": 245
  },
  "hsl": {
    "h": 269.28,
    "s": 86.207,
    "l": 71.569
  },
  "oklch": {
    "l": 0.68805,
    "c": 0.18415,
    "h": 304.6
  },
  "luminance": 0.29849
}

Semantic roles & 50–950 ramp

primary
#B578F5
secondary
#E5F4D4
accent
#E30375
background
#FCFAFF
surface
#F9F3FF
border
#D2CDD7
text
#140F17
muted
#827F85

Preview Lab

Preview with #B578F5

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

Preview Lab → · Contrast checker → · Palette generator →

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