#B574F2#B574F2

#B574F2 is a light, vivid violet. Relative luminance 0.287; OKLCH L 68.0% C 0.187 H 305.9°. Best body text is #000000 at 6.74:1 contrast (WCAG AA passes).

Color values

HEX#B574F2
RGBrgb(181, 116, 242)
HSLhsl(271, 83%, 70%)
HSVhsv(271, 52%, 95%)
CMYKcmyk(25.2%, 52.1%, 0%, 5.1%)
CIE-LABlab(60.54, 48.88, -53.88)
CIE-LCHlch(60.54, 72.74, 312.22°)
OKLaboklab(68.02% 0.1094 -0.1514)
OKLCHoklch(68.02% 0.187 305.9)
XYZxyz(41.3251, 28.7257, 87.3547)
Luminance0.2873 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B574F2 #B1F274
analogous
#7674F2 #B574F2 #F274F0
triadic
#B574F2 #F2B574 #74F2B5
tetradic
#B574F2 #F27674 #B1F274 #74F0F2
square
#B574F2 #F27674 #B1F274 #74F0F2
split-complementary
#B574F2 #F0F274 #74F276
monochromatic
#7914D7 #973CED #B574F2 #D3ACF7 #F0E3FC

Accessibility & contrast

On white

3.11
#B574F2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.74
#B574F2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B574F2
6.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B574F2#FFFFFF#000000##000000
##B574F21.003.116.746.74
#FFFFFF3.111.0021.0021.00
#0000006.7421.001.001.00
##0000006.7421.001.001.00

Color blindness preview

Protanopia (red-blind)
#4C90F6
Deuteranopia (green-blind)
#6092EF
Tritanopia (blue-blind)
#AB8BA8
Achromatopsia (no color)
#929292

Design tokens & code

CSS
--color: #b574f2;
/* rgb */ color: rgb(181, 116, 242);
/* oklch */ color: oklch(68.0% 0.187 305.9);
Tailwind
colors: {
  custom: {
    50: '#ce9ef7',
    500: '#b574f2',
    950: '#000000',
  },
}
SCSS
$custom: #b574f2;
$custom-light: #ce9ef7;
$custom-dark: #000000;
JSON
{
  "hex": "#b574f2",
  "rgb": {
    "r": 181,
    "g": 116,
    "b": 242
  },
  "hsl": {
    "h": 270.952,
    "s": 82.895,
    "l": 70.196
  },
  "oklch": {
    "l": 0.68024,
    "c": 0.18678,
    "h": 305.9
  },
  "luminance": 0.28725
}

Semantic roles & 50–950 ramp

primary
#B574F2
secondary
#E0F2CF
accent
#DF066F
background
#FCF9FF
surface
#F9F2FF
border
#D2CCD7
text
#140E17
muted
#827E85

Preview Lab

Preview with #B574F2

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

Preview Lab → · Contrast checker → · Palette generator →

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