#B574EB#B574EB

#B574EB is a light, vivid violet. Relative luminance 0.283; OKLCH L 67.6% C 0.179 H 307.5°. Best body text is #000000 at 6.66:1 contrast (WCAG AA passes).

Color values

HEX#B574EB
RGBrgb(181, 116, 235)
HSLhsl(273, 75%, 69%)
HSVhsv(273, 51%, 92%)
CMYKcmyk(23%, 50.6%, 0%, 7.8%)
CIE-LABlab(60.17, 47.29, -50.58)
CIE-LCHlch(60.17, 69.24, 313.08°)
OKLaboklab(67.63% 0.1088 -0.1417)
OKLCHoklch(67.63% 0.179 307.5)
XYZxyz(40.2938, 28.3132, 81.9234)
Luminance0.2831 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B574EB #AAEB74
analogous
#7A74EB #B574EB #EB74E6
triadic
#B574EB #EBB574 #74EBB5
tetradic
#B574EB #EB7A74 #AAEB74 #74E6EB
square
#B574EB #EB7A74 #AAEB74 #74E6EB
split-complementary
#B574EB #E6EB74 #74EB7A
monochromatic
#7A1DC8 #993EE3 #B574EB #D1AAF3 #EEDFFA

Accessibility & contrast

On white

3.15
#B574EB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.66
#B574EB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B574EB
6.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B574EB#FFFFFF#000000##000000
##B574EB1.003.156.666.66
#FFFFFF3.151.0021.0021.00
#0000006.6621.001.001.00
##0000006.6621.001.001.00

Color blindness preview

Protanopia (red-blind)
#528FEF
Deuteranopia (green-blind)
#6592E8
Tritanopia (blue-blind)
#AD89A5
Achromatopsia (no color)
#919191

Design tokens & code

CSS
--color: #b574eb;
/* rgb */ color: rgb(181, 116, 235);
/* oklch */ color: oklch(67.6% 0.179 307.5);
Tailwind
colors: {
  custom: {
    50: '#ce9ef2',
    500: '#b574eb',
    950: '#000000',
  },
}
SCSS
$custom: #b574eb;
$custom-light: #ce9ef2;
$custom-dark: #000000;
JSON
{
  "hex": "#b574eb",
  "rgb": {
    "r": 181,
    "g": 116,
    "b": 235
  },
  "hsl": {
    "h": 272.773,
    "s": 74.843,
    "l": 68.824
  },
  "oklch": {
    "l": 0.67632,
    "c": 0.17871,
    "h": 307.5
  },
  "luminance": 0.28313
}

Semantic roles & 50–950 ramp

primary
#B574EB
secondary
#DCEFCC
accent
#D70F69
background
#FCF9FE
surface
#F9F2FD
border
#D2CCD5
text
#140E17
muted
#827E85

Preview Lab

Preview with #B574EB

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

Preview Lab → · Contrast checker → · Palette generator →

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