#B577FB#B577FB

#B577FB is a light, vivid violet. Relative luminance 0.300; OKLCH L 69.0% C 0.193 H 303.4°. Best body text is #000000 at 7.00:1 contrast (WCAG AA passes).

Color values

HEX#B577FB
RGBrgb(181, 119, 251)
HSLhsl(268, 94%, 73%)
HSVhsv(268, 53%, 98%)
CMYKcmyk(27.9%, 52.6%, 0%, 1.6%)
CIE-LABlab(61.64, 49.37, -57.09)
CIE-LCHlch(61.64, 75.48, 310.85°)
OKLaboklab(68.99% 0.1061 -0.1608)
OKLCHoklch(68.99% 0.193 303.4)
XYZxyz(43.0616, 29.9825, 94.7667)
Luminance0.2998 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B577FB #BDFB77
analogous
#777BFB #B577FB #F777FB
triadic
#B577FB #FBB577 #77FBB5
tetradic
#B577FB #FB777B #BDFB77 #77FBF7
square
#B577FB #FB777B #BDFB77 #77FBF7
split-complementary
#B577FB #FBF777 #7BFB77
monochromatic
#7507F1 #953CF9 #B577FB #D5B2FD #EFE1FE

Accessibility & contrast

On white

3.00
#B577FB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

7.00
#B577FB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B577FB
7.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B577FB#FFFFFF#000000##000000
##B577FB1.003.007.007.00
#FFFFFF3.001.0021.0021.00
#0000007.0021.001.001.00
##0000007.0021.001.001.00

Color blindness preview

Protanopia (red-blind)
#4993FF
Deuteranopia (green-blind)
#5D95F8
Tritanopia (blue-blind)
#A890AE
Achromatopsia (no color)
#959595

Design tokens & code

CSS
--color: #b577fb;
/* rgb */ color: rgb(181, 119, 251);
/* oklch */ color: oklch(69.0% 0.193 303.4);
Tailwind
colors: {
  custom: {
    50: '#cea0fd',
    500: '#b577fb',
    950: '#000000',
  },
}
SCSS
$custom: #b577fb;
$custom-light: #cea0fd;
$custom-dark: #000000;
JSON
{
  "hex": "#b577fb",
  "rgb": {
    "r": 181,
    "g": 119,
    "b": 251
  },
  "hsl": {
    "h": 268.182,
    "s": 94.286,
    "l": 72.549
  },
  "oklch": {
    "l": 0.68994,
    "c": 0.19266,
    "h": 303.4
  },
  "luminance": 0.29982
}

Semantic roles & 50–950 ramp

primary
#B577FB
secondary
#E7F6D5
accent
#E6007A
background
#FDFAFF
surface
#FAF3FF
border
#D3CDD7
text
#140F18
muted
#837F86

Preview Lab

Preview with #B577FB

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

Preview Lab → · Contrast checker → · Palette generator →

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