#B578EB#B578EB

#B578EB is a light, vivid violet. Relative luminance 0.293; OKLCH L 68.3% C 0.172 H 306.9°. Best body text is #000000 at 6.85:1 contrast (WCAG AA passes).

Color values

HEX#B578EB
RGBrgb(181, 120, 235)
HSLhsl(272, 74%, 70%)
HSVhsv(272, 49%, 92%)
CMYKcmyk(23%, 48.9%, 0%, 7.8%)
CIE-LABlab(61.01, 45.14, -49.25)
CIE-LCHlch(61.01, 66.81, 312.51°)
OKLaboklab(68.25% 0.1035 -0.1379)
OKLCHoklch(68.25% 0.172 306.9)
XYZxyz(40.7649, 29.2553, 82.0805)
Luminance0.2925 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B578EB #AEEB78
analogous
#7C78EB #B578EB #EB78E8
triadic
#B578EB #EBB578 #78EBB5
tetradic
#B578EB #EB7C78 #AEEB78 #78E8EB
square
#B578EB #EB7C78 #AEEB78 #78E8EB
split-complementary
#B578EB #E8EB78 #78EB7C
monochromatic
#7A1ECB #9843E3 #B578EB #D2ADF3 #EFE3FB

Accessibility & contrast

On white

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

On black

6.85
#B578EB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B578EB
6.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B578EB#FFFFFF#000000##000000
##B578EB1.003.076.856.85
#FFFFFF3.071.0021.0021.00
#0000006.8521.001.001.00
##0000006.8521.001.001.00

Color blindness preview

Protanopia (red-blind)
#5891EF
Deuteranopia (green-blind)
#6994E8
Tritanopia (blue-blind)
#AD8CA7
Achromatopsia (no color)
#939393

Design tokens & code

CSS
--color: #b578eb;
/* rgb */ color: rgb(181, 120, 235);
/* oklch */ color: oklch(68.3% 0.172 306.9);
Tailwind
colors: {
  custom: {
    50: '#cda0f2',
    500: '#b578eb',
    950: '#000000',
  },
}
SCSS
$custom: #b578eb;
$custom-light: #cda0f2;
$custom-dark: #000000;
JSON
{
  "hex": "#b578eb",
  "rgb": {
    "r": 181,
    "g": 120,
    "b": 235
  },
  "hsl": {
    "h": 271.826,
    "s": 74.194,
    "l": 69.608
  },
  "oklch": {
    "l": 0.68252,
    "c": 0.17244,
    "h": 306.9
  },
  "luminance": 0.29255
}

Semantic roles & 50–950 ramp

primary
#B578EB
secondary
#DEF0CF
accent
#D60F6D
background
#FCFAFE
surface
#F9F3FD
border
#D2CDD5
text
#140F17
muted
#827F85

Preview Lab

Preview with #B578EB

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

Preview Lab → · Contrast checker → · Palette generator →

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