#B578EF#B578EF

#B578EF is a light, vivid violet. Relative luminance 0.295; OKLCH L 68.5% C 0.177 H 305.9°. Best body text is #000000 at 6.90:1 contrast (WCAG AA passes).

Color values

HEX#B578EF
RGBrgb(181, 120, 239)
HSLhsl(271, 79%, 70%)
HSVhsv(271, 50%, 94%)
CMYKcmyk(24.3%, 49.8%, 0%, 6.3%)
CIE-LABlab(61.21, 46.06, -51.15)
CIE-LCHlch(61.21, 68.83, 312.00°)
OKLaboklab(68.47% 0.1039 -0.1434)
OKLCHoklch(68.47% 0.177 305.9)
XYZxyz(41.3493, 29.4890, 85.1582)
Luminance0.2949 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B578EF #B2EF78
analogous
#7978EF #B578EF #EF78EE
triadic
#B578EF #EFB578 #78EFB5
tetradic
#B578EF #EF7978 #B2EF78 #78EEEF
square
#B578EF #EF7978 #B2EF78 #78EEEF
split-complementary
#B578EF #EEEF78 #78EF79
monochromatic
#7919D4 #9741E9 #B578EF #D3AFF5 #F0E4FC

Accessibility & contrast

On white

3.04
#B578EF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.90
#B578EF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B578EF
6.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B578EF#FFFFFF#000000##000000
##B578EF1.003.046.906.90
#FFFFFF3.041.0021.0021.00
#0000006.9021.001.001.00
##0000006.9021.001.001.00

Color blindness preview

Protanopia (red-blind)
#5592F3
Deuteranopia (green-blind)
#6794EC
Tritanopia (blue-blind)
#AC8DA9
Achromatopsia (no color)
#949494

Design tokens & code

CSS
--color: #b578ef;
/* rgb */ color: rgb(181, 120, 239);
/* oklch */ color: oklch(68.5% 0.177 305.9);
Tailwind
colors: {
  custom: {
    50: '#cea0f5',
    500: '#b578ef',
    950: '#000000',
  },
}
SCSS
$custom: #b578ef;
$custom-light: #cea0f5;
$custom-dark: #000000;
JSON
{
  "hex": "#b578ef",
  "rgb": {
    "r": 181,
    "g": 120,
    "b": 239
  },
  "hsl": {
    "h": 270.756,
    "s": 78.808,
    "l": 70.392
  },
  "oklch": {
    "l": 0.68471,
    "c": 0.17712,
    "h": 305.9
  },
  "luminance": 0.29489
}

Semantic roles & 50–950 ramp

primary
#B578EF
secondary
#E1F2D1
accent
#DB0A70
background
#FCFAFF
surface
#F9F3FE
border
#D2CDD6
text
#140F17
muted
#827F85

Preview Lab

Preview with #B578EF

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

Preview Lab → · Contrast checker → · Palette generator →

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