#B577FE#B577FE

#B577FE is a light, vivid violet. Relative luminance 0.302; OKLCH L 69.2% C 0.196 H 302.8°. Best body text is #000000 at 7.03:1 contrast (WCAG AA passes).

Color values

HEX#B577FE
RGBrgb(181, 119, 254)
HSLhsl(268, 99%, 73%)
HSVhsv(268, 53%, 100%)
CMYKcmyk(28.7%, 53.1%, 0%, 0.4%)
CIE-LABlab(61.80, 50.07, -58.48)
CIE-LCHlch(61.80, 76.99, 310.57°)
OKLaboklab(69.17% 0.1063 -0.1649)
OKLCHoklch(69.17% 0.196 302.8)
XYZxyz(43.5382, 30.1732, 97.2770)
Luminance0.3017 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B577FE #C0FE77
analogous
#777CFE #B577FE #F977FE
triadic
#B577FE #FEB577 #77FEB5
tetradic
#B577FE #FE777C #C0FE77 #77FEF9
square
#B577FE #FE777C #C0FE77 #77FEF9
split-complementary
#B577FE #FEF977 #7CFE77
monochromatic
#7302F9 #943AFE #B577FE #D6B4FE #EEE1FF

Accessibility & contrast

On white

2.99
#B577FE on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.03
#B577FE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B577FE
7.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B577FE#FFFFFF#000000##000000
##B577FE1.002.997.037.03
#FFFFFF2.991.0021.0021.00
#0000007.0321.001.001.00
##0000007.0321.001.001.00

Color blindness preview

Protanopia (red-blind)
#4694FF
Deuteranopia (green-blind)
#5A95FB
Tritanopia (blue-blind)
#A791AF
Achromatopsia (no color)
#959595

Design tokens & code

CSS
--color: #b577fe;
/* rgb */ color: rgb(181, 119, 254);
/* oklch */ color: oklch(69.2% 0.196 302.8);
Tailwind
colors: {
  custom: {
    50: '#cfa0ff',
    500: '#b577fe',
    950: '#000000',
  },
}
SCSS
$custom: #b577fe;
$custom-light: #cfa0ff;
$custom-dark: #000000;
JSON
{
  "hex": "#b577fe",
  "rgb": {
    "r": 181,
    "g": 119,
    "b": 254
  },
  "hsl": {
    "h": 267.556,
    "s": 98.54,
    "l": 73.137
  },
  "oklch": {
    "l": 0.69169,
    "c": 0.19615,
    "h": 302.8
  },
  "luminance": 0.30173
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #B577FE

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

Preview Lab → · Contrast checker → · Palette generator →

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