#B574F6#B574F6

#B574F6 is a light, vivid violet. Relative luminance 0.290; OKLCH L 68.3% C 0.191 H 305.0°. Best body text is #000000 at 6.79:1 contrast (WCAG AA passes).

Color values

HEX#B574F6
RGBrgb(181, 116, 246)
HSLhsl(270, 88%, 71%)
HSVhsv(270, 53%, 96%)
CMYKcmyk(26.4%, 52.8%, 0%, 3.5%)
CIE-LABlab(60.75, 49.80, -55.75)
CIE-LCHlch(60.75, 74.75, 311.77°)
OKLaboklab(68.25% 0.1096 -0.1568)
OKLCHoklch(68.25% 0.191 305)
XYZxyz(41.9324, 28.9686, 90.5533)
Luminance0.2897 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B574F6 #B5F674
analogous
#7474F6 #B574F6 #F674F6
triadic
#B574F6 #F6B574 #74F6B5
tetradic
#B574F6 #F67474 #B5F674 #74F6F6
square
#B574F6 #F67474 #B5F674 #74F6F6
split-complementary
#B574F6 #F6F674 #74F674
monochromatic
#780FE1 #963BF2 #B574F6 #D4ADFA #F0E2FD

Accessibility & contrast

On white

3.09
#B574F6 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.79
#B574F6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B574F6
6.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B574F6#FFFFFF#000000##000000
##B574F61.003.096.796.79
#FFFFFF3.091.0021.0021.00
#0000006.7921.001.001.00
##0000006.7921.001.001.00

Color blindness preview

Protanopia (red-blind)
#4891FA
Deuteranopia (green-blind)
#5D93F3
Tritanopia (blue-blind)
#AA8CAA
Achromatopsia (no color)
#939393

Design tokens & code

CSS
--color: #b574f6;
/* rgb */ color: rgb(181, 116, 246);
/* oklch */ color: oklch(68.3% 0.191 305.0);
Tailwind
colors: {
  custom: {
    50: '#ce9efa',
    500: '#b574f6',
    950: '#000000',
  },
}
SCSS
$custom: #b574f6;
$custom-light: #ce9efa;
$custom-dark: #000000;
JSON
{
  "hex": "#b574f6",
  "rgb": {
    "r": 181,
    "g": 116,
    "b": 246
  },
  "hsl": {
    "h": 270,
    "s": 87.838,
    "l": 70.98
  },
  "oklch": {
    "l": 0.68252,
    "c": 0.19137,
    "h": 305
  },
  "luminance": 0.28968
}

Semantic roles & 50–950 ramp

primary
#B574F6
secondary
#E3F4D2
accent
#E40173
background
#FDF9FF
surface
#FAF2FF
border
#D3CCD7
text
#140E17
muted
#837E85

Preview Lab

Preview with #B574F6

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

Preview Lab → · Contrast checker → · Palette generator →

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