#B577F6#B577F6

#B577F6 is a light, vivid violet. Relative luminance 0.297; OKLCH L 68.7% C 0.187 H 304.5°. Best body text is #000000 at 6.93:1 contrast (WCAG AA passes).

Color values

HEX#B577F6
RGBrgb(181, 119, 246)
HSLhsl(269, 88%, 72%)
HSVhsv(269, 52%, 96%)
CMYKcmyk(26.4%, 51.6%, 0%, 3.5%)
CIE-LABlab(61.37, 48.20, -54.77)
CIE-LCHlch(61.37, 72.96, 311.35°)
OKLaboklab(68.71% 0.1058 -0.154)
OKLCHoklch(68.71% 0.187 304.5)
XYZxyz(42.2838, 29.6714, 90.6705)
Luminance0.2967 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B577F6 #B8F677
analogous
#7779F6 #B577F6 #F477F6
triadic
#B577F6 #F6B577 #77F6B5
tetradic
#B577F6 #F67779 #B8F677 #77F6F4
square
#B577F6 #F67779 #B8F677 #77F6F4
split-complementary
#B577F6 #F6F477 #79F677
monochromatic
#770FE4 #963EF2 #B577F6 #D4B0FA #EFE2FD

Accessibility & contrast

On white

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

On black

6.93
#B577F6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B577F6
6.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B577F6#FFFFFF#000000##000000
##B577F61.003.036.936.93
#FFFFFF3.031.0021.0021.00
#0000006.9321.001.001.00
##0000006.9321.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #b577f6;
/* rgb */ color: rgb(181, 119, 246);
/* oklch */ color: oklch(68.7% 0.187 304.5);
Tailwind
colors: {
  custom: {
    50: '#cea0fa',
    500: '#b577f6',
    950: '#000000',
  },
}
SCSS
$custom: #b577f6;
$custom-light: #cea0fa;
$custom-dark: #000000;
JSON
{
  "hex": "#b577f6",
  "rgb": {
    "r": 181,
    "g": 119,
    "b": 246
  },
  "hsl": {
    "h": 269.291,
    "s": 87.586,
    "l": 71.569
  },
  "oklch": {
    "l": 0.68708,
    "c": 0.18683,
    "h": 304.5
  },
  "luminance": 0.29671
}

Semantic roles & 50–950 ramp

primary
#B577F6
secondary
#E5F5D4
accent
#E40175
background
#FCF9FF
surface
#F9F2FF
border
#D2CCD7
text
#140F17
muted
#827E85

Preview Lab

Preview with #B577F6

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

Preview Lab → · Contrast checker → · Palette generator →

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