#B577F8#B577F8

#B577F8 is a light, vivid violet. Relative luminance 0.298; OKLCH L 68.8% C 0.189 H 304.1°. Best body text is #000000 at 6.96:1 contrast (WCAG AA passes).

Color values

HEX#B577F8
RGBrgb(181, 119, 248)
HSLhsl(269, 90%, 72%)
HSVhsv(269, 52%, 97%)
CMYKcmyk(27%, 52%, 0%, 2.7%)
CIE-LABlab(61.48, 48.67, -55.70)
CIE-LCHlch(61.48, 73.97, 311.15°)
OKLaboklab(68.82% 0.1059 -0.1567)
OKLCHoklch(68.82% 0.189 304.1)
XYZxyz(42.5925, 29.7949, 92.2959)
Luminance0.2979 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B577F8 #BAF877
analogous
#777AF8 #B577F8 #F577F8
triadic
#B577F8 #F8B577 #77F8B5
tetradic
#B577F8 #F8777A #BAF877 #77F8F5
square
#B577F8 #F8777A #BAF877 #77F8F5
split-complementary
#B577F8 #F8F577 #7AF877
monochromatic
#760CE9 #953DF5 #B577F8 #D5B1FB #EFE2FE

Accessibility & contrast

On white

3.02
#B577F8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.96
#B577F8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B577F8
6.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B577F8#FFFFFF#000000##000000
##B577F81.003.026.966.96
#FFFFFF3.021.0021.0021.00
#0000006.9621.001.001.00
##0000006.9621.001.001.00

Color blindness preview

Protanopia (red-blind)
#4C93FC
Deuteranopia (green-blind)
#5F94F5
Tritanopia (blue-blind)
#A98FAC
Achromatopsia (no color)
#949494

Design tokens & code

CSS
--color: #b577f8;
/* rgb */ color: rgb(181, 119, 248);
/* oklch */ color: oklch(68.8% 0.189 304.1);
Tailwind
colors: {
  custom: {
    50: '#cea0fb',
    500: '#b577f8',
    950: '#000000',
  },
}
SCSS
$custom: #b577f8;
$custom-light: #cea0fb;
$custom-dark: #000000;
JSON
{
  "hex": "#b577f8",
  "rgb": {
    "r": 181,
    "g": 119,
    "b": 248
  },
  "hsl": {
    "h": 268.837,
    "s": 90.21,
    "l": 71.961
  },
  "oklch": {
    "l": 0.68822,
    "c": 0.18917,
    "h": 304.1
  },
  "luminance": 0.29795
}

Semantic roles & 50–950 ramp

primary
#B577F8
secondary
#E6F6D5
accent
#E60077
background
#FDFAFF
surface
#FAF3FF
border
#D3CDD7
text
#140F17
muted
#837F85

Preview Lab

Preview with #B577F8

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

Preview Lab → · Contrast checker → · Palette generator →

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