#B577F1#B577F1

#B577F1 is a light, vivid violet. Relative luminance 0.294; OKLCH L 68.4% C 0.181 H 305.6°. Best body text is #000000 at 6.87:1 contrast (WCAG AA passes).

Color values

HEX#B577F1
RGBrgb(181, 119, 241)
HSLhsl(270, 81%, 71%)
HSVhsv(270, 51%, 95%)
CMYKcmyk(24.9%, 50.6%, 0%, 5.5%)
CIE-LABlab(61.11, 47.05, -52.42)
CIE-LCHlch(61.11, 70.44, 311.91°)
OKLaboklab(68.43% 0.1054 -0.1471)
OKLCHoklch(68.43% 0.181 305.6)
XYZxyz(41.5267, 29.3686, 86.6830)
Luminance0.2937 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B577F1 #B3F177
analogous
#7877F1 #B577F1 #F177F0
triadic
#B577F1 #F1B577 #77F1B5
tetradic
#B577F1 #F17877 #B3F177 #77F0F1
square
#B577F1 #F17877 #B3F177 #77F0F1
split-complementary
#B577F1 #F0F177 #77F178
monochromatic
#7816D7 #9740EB #B577F1 #D3AEF7 #F0E3FC

Accessibility & contrast

On white

3.06
#B577F1 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.87
#B577F1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B577F1
6.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B577F1#FFFFFF#000000##000000
##B577F11.003.066.876.87
#FFFFFF3.061.0021.0021.00
#0000006.8721.001.001.00
##0000006.8721.001.001.00

Color blindness preview

Protanopia (red-blind)
#5291F5
Deuteranopia (green-blind)
#6494EE
Tritanopia (blue-blind)
#AB8DA9
Achromatopsia (no color)
#939393

Design tokens & code

CSS
--color: #b577f1;
/* rgb */ color: rgb(181, 119, 241);
/* oklch */ color: oklch(68.4% 0.181 305.6);
Tailwind
colors: {
  custom: {
    50: '#cea0f6',
    500: '#b577f1',
    950: '#000000',
  },
}
SCSS
$custom: #b577f1;
$custom-light: #cea0f6;
$custom-dark: #000000;
JSON
{
  "hex": "#b577f1",
  "rgb": {
    "r": 181,
    "g": 119,
    "b": 241
  },
  "hsl": {
    "h": 270.492,
    "s": 81.333,
    "l": 70.588
  },
  "oklch": {
    "l": 0.68426,
    "c": 0.18101,
    "h": 305.6
  },
  "luminance": 0.29368
}

Semantic roles & 50–950 ramp

primary
#B577F1
secondary
#E2F2D1
accent
#DE0871
background
#FCF9FF
surface
#F9F2FE
border
#D2CCD6
text
#140F17
muted
#827E85

Preview Lab

Preview with #B577F1

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

Preview Lab → · Contrast checker → · Palette generator →

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