#B577F5#B577F5

#B577F5 is a light, vivid violet. Relative luminance 0.296; OKLCH L 68.7% C 0.186 H 304.7°. Best body text is #000000 at 6.92:1 contrast (WCAG AA passes).

Color values

HEX#B577F5
RGBrgb(181, 119, 245)
HSLhsl(270, 86%, 71%)
HSVhsv(270, 51%, 96%)
CMYKcmyk(26.1%, 51.4%, 0%, 3.9%)
CIE-LABlab(61.32, 47.97, -54.30)
CIE-LCHlch(61.32, 72.45, 311.46°)
OKLaboklab(68.65% 0.1057 -0.1526)
OKLCHoklch(68.65% 0.186 304.7)
XYZxyz(42.1308, 29.6102, 89.8643)
Luminance0.2961 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B577F5 #B7F577
analogous
#7778F5 #B577F5 #F477F5
triadic
#B577F5 #F5B577 #77F5B5
tetradic
#B577F5 #F57778 #B7F577 #77F5F4
square
#B577F5 #F57778 #B7F577 #77F5F4
split-complementary
#B577F5 #F5F477 #78F577
monochromatic
#7711E1 #963EF1 #B577F5 #D4B0F9 #EFE2FD

Accessibility & contrast

On white

3.03
#B577F5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.92
#B577F5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B577F5
6.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B577F5#FFFFFF#000000##000000
##B577F51.003.036.926.92
#FFFFFF3.031.0021.0021.00
#0000006.9221.001.001.00
##0000006.9221.001.001.00

Color blindness preview

Protanopia (red-blind)
#4F92F9
Deuteranopia (green-blind)
#6194F2
Tritanopia (blue-blind)
#AA8EAB
Achromatopsia (no color)
#949494

Design tokens & code

CSS
--color: #b577f5;
/* rgb */ color: rgb(181, 119, 245);
/* oklch */ color: oklch(68.7% 0.186 304.7);
Tailwind
colors: {
  custom: {
    50: '#cea0f9',
    500: '#b577f5',
    950: '#000000',
  },
}
SCSS
$custom: #b577f5;
$custom-light: #cea0f9;
$custom-dark: #000000;
JSON
{
  "hex": "#b577f5",
  "rgb": {
    "r": 181,
    "g": 119,
    "b": 245
  },
  "hsl": {
    "h": 269.524,
    "s": 86.301,
    "l": 71.373
  },
  "oklch": {
    "l": 0.68651,
    "c": 0.18567,
    "h": 304.7
  },
  "luminance": 0.2961
}

Semantic roles & 50–950 ramp

primary
#B577F5
secondary
#E4F4D4
accent
#E30375
background
#FCF9FF
surface
#F9F2FF
border
#D2CCD7
text
#140F17
muted
#827E85

Preview Lab

Preview with #B577F5

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

Preview Lab → · Contrast checker → · Palette generator →

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