#B574E8#B574E8

#B574E8 is a light, vivid violet. Relative luminance 0.281; OKLCH L 67.5% C 0.175 H 308.3°. Best body text is #000000 at 6.63:1 contrast (WCAG AA passes).

Color values

HEX#B574E8
RGBrgb(181, 116, 232)
HSLhsl(274, 72%, 68%)
HSVhsv(274, 50%, 91%)
CMYKcmyk(22%, 50%, 0%, 9%)
CIE-LABlab(60.02, 46.61, -49.15)
CIE-LCHlch(60.02, 67.74, 313.48°)
OKLaboklab(67.47% 0.1086 -0.1376)
OKLCHoklch(67.47% 0.175 308.3)
XYZxyz(39.8641, 28.1413, 79.6600)
Luminance0.2814 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B574E8 #A7E874
analogous
#7B74E8 #B574E8 #E874E1
triadic
#B574E8 #E8B574 #74E8B5
tetradic
#B574E8 #E87B74 #A7E874 #74E1E8
square
#B574E8 #E87B74 #A7E874 #74E1E8
split-complementary
#B574E8 #E1E874 #74E87B
monochromatic
#7B20C2 #993FDF #B574E8 #D1A9F1 #EDDDF9

Accessibility & contrast

On white

3.17
#B574E8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.63
#B574E8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B574E8
6.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B574E8#FFFFFF#000000##000000
##B574E81.003.176.636.63
#FFFFFF3.171.0021.0021.00
#0000006.6321.001.001.00
##0000006.6321.001.001.00

Color blindness preview

Protanopia (red-blind)
#548EEC
Deuteranopia (green-blind)
#6791E5
Tritanopia (blue-blind)
#AE88A3
Achromatopsia (no color)
#919191

Design tokens & code

CSS
--color: #b574e8;
/* rgb */ color: rgb(181, 116, 232);
/* oklch */ color: oklch(67.5% 0.175 308.3);
Tailwind
colors: {
  custom: {
    50: '#ce9ef0',
    500: '#b574e8',
    950: '#000000',
  },
}
SCSS
$custom: #b574e8;
$custom-light: #ce9ef0;
$custom-dark: #000000;
JSON
{
  "hex": "#b574e8",
  "rgb": {
    "r": 181,
    "g": 116,
    "b": 232
  },
  "hsl": {
    "h": 273.621,
    "s": 71.605,
    "l": 68.235
  },
  "oklch": {
    "l": 0.67467,
    "c": 0.17526,
    "h": 308.3
  },
  "luminance": 0.28141
}

Semantic roles & 50–950 ramp

primary
#B574E8
secondary
#DAEDCA
accent
#D41267
background
#FCF9FE
surface
#F9F2FD
border
#D2CCD5
text
#140E16
muted
#827E84

Preview Lab

Preview with #B574E8

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

Preview Lab → · Contrast checker → · Palette generator →

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