#B577F2#B577F2

#B577F2 is a light, vivid violet. Relative luminance 0.294; OKLCH L 68.5% C 0.182 H 305.4°. Best body text is #000000 at 6.89:1 contrast (WCAG AA passes).

Color values

HEX#B577F2
RGBrgb(181, 119, 242)
HSLhsl(270, 83%, 71%)
HSVhsv(270, 51%, 95%)
CMYKcmyk(25.2%, 50.8%, 0%, 5.1%)
CIE-LABlab(61.16, 47.28, -52.89)
CIE-LCHlch(61.16, 70.94, 311.79°)
OKLaboklab(68.48% 0.1055 -0.1485)
OKLCHoklch(68.48% 0.182 305.4)
XYZxyz(41.6765, 29.4285, 87.4719)
Luminance0.2943 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B577F2 #B4F277
analogous
#7777F2 #B577F2 #F277F1
triadic
#B577F2 #F2B577 #77F2B5
tetradic
#B577F2 #F27777 #B4F277 #77F1F2
square
#B577F2 #F27777 #B4F277 #77F1F2
split-complementary
#B577F2 #F1F277 #77F277
monochromatic
#7815DA #973FED #B577F2 #D3AFF7 #F0E3FC

Accessibility & contrast

On white

3.05
#B577F2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.89
#B577F2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B577F2
6.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B577F2#FFFFFF#000000##000000
##B577F21.003.056.896.89
#FFFFFF3.051.0021.0021.00
#0000006.8921.001.001.00
##0000006.8921.001.001.00

Color blindness preview

Protanopia (red-blind)
#5192F6
Deuteranopia (green-blind)
#6394EF
Tritanopia (blue-blind)
#AB8DAA
Achromatopsia (no color)
#949494

Design tokens & code

CSS
--color: #b577f2;
/* rgb */ color: rgb(181, 119, 242);
/* oklch */ color: oklch(68.5% 0.182 305.4);
Tailwind
colors: {
  custom: {
    50: '#cea0f7',
    500: '#b577f2',
    950: '#000000',
  },
}
SCSS
$custom: #b577f2;
$custom-light: #cea0f7;
$custom-dark: #000000;
JSON
{
  "hex": "#b577f2",
  "rgb": {
    "r": 181,
    "g": 119,
    "b": 242
  },
  "hsl": {
    "h": 270.244,
    "s": 82.55,
    "l": 70.784
  },
  "oklch": {
    "l": 0.68482,
    "c": 0.18218,
    "h": 305.4
  },
  "luminance": 0.29428
}

Semantic roles & 50–950 ramp

primary
#B577F2
secondary
#E2F3D2
accent
#DF0772
background
#FCF9FF
surface
#F9F2FF
border
#D2CCD7
text
#140F17
muted
#827E85

Preview Lab

Preview with #B577F2

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

Preview Lab → · Contrast checker → · Palette generator →

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