#B578FD#B578FD

#B578FD is a light, vivid violet. Relative luminance 0.303; OKLCH L 69.3% C 0.194 H 302.9°. Best body text is #000000 at 7.07:1 contrast (WCAG AA passes).

Color values

HEX#B578FD
RGBrgb(181, 120, 253)
HSLhsl(268, 97%, 73%)
HSVhsv(268, 53%, 99%)
CMYKcmyk(28.5%, 52.6%, 0%, 0.8%)
CIE-LABlab(61.95, 49.31, -57.69)
CIE-LCHlch(61.95, 75.89, 310.52°)
OKLaboklab(69.26% 0.105 -0.1625)
OKLCHoklch(69.26% 0.194 302.9)
XYZxyz(43.4982, 30.3486, 96.4757)
Luminance0.3035 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B578FD #C0FD78
analogous
#787DFD #B578FD #F878FD
triadic
#B578FD #FDB578 #78FDB5
tetradic
#B578FD #FD787D #C0FD78 #78FDF8
square
#B578FD #FD787D #C0FD78 #78FDF8
split-complementary
#B578FD #FDF878 #7DFD78
monochromatic
#7304F7 #943CFC #B578FD #D6B4FE #EEE1FF

Accessibility & contrast

On white

2.97
#B578FD on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.07
#B578FD on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B578FD
7.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B578FD#FFFFFF#000000##000000
##B578FD1.002.977.077.07
#FFFFFF2.971.0021.0021.00
#0000007.0721.001.001.00
##0000007.0721.001.001.00

Color blindness preview

Protanopia (red-blind)
#4994FF
Deuteranopia (green-blind)
#5C95FA
Tritanopia (blue-blind)
#A891AF
Achromatopsia (no color)
#969696

Design tokens & code

CSS
--color: #b578fd;
/* rgb */ color: rgb(181, 120, 253);
/* oklch */ color: oklch(69.3% 0.194 302.9);
Tailwind
colors: {
  custom: {
    50: '#cea1ff',
    500: '#b578fd',
    950: '#000000',
  },
}
SCSS
$custom: #b578fd;
$custom-light: #cea1ff;
$custom-dark: #000000;
JSON
{
  "hex": "#b578fd",
  "rgb": {
    "r": 181,
    "g": 120,
    "b": 253
  },
  "hsl": {
    "h": 267.519,
    "s": 97.08,
    "l": 73.137
  },
  "oklch": {
    "l": 0.69262,
    "c": 0.1935,
    "h": 302.9
  },
  "luminance": 0.30349
}

Semantic roles & 50–950 ramp

primary
#B578FD
secondary
#E7F7D4
accent
#E6007C
background
#FDFAFF
surface
#FAF3FF
border
#D3CDD7
text
#140F18
muted
#837F86

Preview Lab

Preview with #B578FD

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

Preview Lab → · Contrast checker → · Palette generator →

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