#B574F5#B574F5

#B574F5 is a light, vivid violet. Relative luminance 0.289; OKLCH L 68.2% C 0.190 H 305.2°. Best body text is #000000 at 6.78:1 contrast (WCAG AA passes).

Color values

HEX#B574F5
RGBrgb(181, 116, 245)
HSLhsl(270, 87%, 71%)
HSVhsv(270, 53%, 96%)
CMYKcmyk(26.1%, 52.7%, 0%, 3.9%)
CIE-LABlab(60.70, 49.57, -55.28)
CIE-LCHlch(60.70, 74.25, 311.88°)
OKLaboklab(68.19% 0.1096 -0.1555)
OKLCHoklch(68.19% 0.19 305.2)
XYZxyz(41.7794, 28.9074, 89.7472)
Luminance0.2891 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B574F5 #B4F574
analogous
#7474F5 #B574F5 #F574F4
triadic
#B574F5 #F5B574 #74F5B5
tetradic
#B574F5 #F57474 #B4F574 #74F4F5
square
#B574F5 #F57474 #B4F574 #74F4F5
split-complementary
#B574F5 #F4F574 #74F574
monochromatic
#7810DF #973BF1 #B574F5 #D3ADF9 #F0E2FD

Accessibility & contrast

On white

3.10
#B574F5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.78
#B574F5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B574F5
6.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B574F5#FFFFFF#000000##000000
##B574F51.003.106.786.78
#FFFFFF3.101.0021.0021.00
#0000006.7821.001.001.00
##0000006.7821.001.001.00

Color blindness preview

Protanopia (red-blind)
#4990F9
Deuteranopia (green-blind)
#5E93F2
Tritanopia (blue-blind)
#AA8CAA
Achromatopsia (no color)
#929292

Design tokens & code

CSS
--color: #b574f5;
/* rgb */ color: rgb(181, 116, 245);
/* oklch */ color: oklch(68.2% 0.190 305.2);
Tailwind
colors: {
  custom: {
    50: '#ce9ef9',
    500: '#b574f5',
    950: '#000000',
  },
}
SCSS
$custom: #b574f5;
$custom-light: #ce9ef9;
$custom-dark: #000000;
JSON
{
  "hex": "#b574f5",
  "rgb": {
    "r": 181,
    "g": 116,
    "b": 245
  },
  "hsl": {
    "h": 270.233,
    "s": 86.577,
    "l": 70.784
  },
  "oklch": {
    "l": 0.68195,
    "c": 0.19022,
    "h": 305.2
  },
  "luminance": 0.28907
}

Semantic roles & 50–950 ramp

primary
#B574F5
secondary
#E2F4D1
accent
#E30272
background
#FDF9FF
surface
#FAF2FF
border
#D3CCD7
text
#140E17
muted
#837E85

Preview Lab

Preview with #B574F5

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

Preview Lab → · Contrast checker → · Palette generator →

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