#B574EC#B574EC

#B574EC is a light, vivid violet. Relative luminance 0.284; OKLCH L 67.7% C 0.180 H 307.3°. Best body text is #000000 at 6.67:1 contrast (WCAG AA passes).

Color values

HEX#B574EC
RGBrgb(181, 116, 236)
HSLhsl(273, 76%, 69%)
HSVhsv(273, 51%, 93%)
CMYKcmyk(23.3%, 50.8%, 0%, 7.5%)
CIE-LABlab(60.22, 47.51, -51.05)
CIE-LCHlch(60.22, 69.74, 312.94°)
OKLaboklab(67.69% 0.1089 -0.1431)
OKLCHoklch(67.69% 0.18 307.3)
XYZxyz(40.4387, 28.3711, 82.6864)
Luminance0.2837 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B574EC #ABEC74
analogous
#7974EC #B574EC #EC74E7
triadic
#B574EC #ECB574 #74ECB5
tetradic
#B574EC #EC7974 #ABEC74 #74E7EC
square
#B574EC #EC7974 #ABEC74 #74E7EC
split-complementary
#B574EC #E7EC74 #74EC79
monochromatic
#7A1CCA #983EE5 #B574EC #D2AAF3 #EEE0FB

Accessibility & contrast

On white

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

On black

6.67
#B574EC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B574EC
6.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B574EC#FFFFFF#000000##000000
##B574EC1.003.156.676.67
#FFFFFF3.151.0021.0021.00
#0000006.6721.001.001.00
##0000006.6721.001.001.00

Color blindness preview

Protanopia (red-blind)
#518FF0
Deuteranopia (green-blind)
#6592E9
Tritanopia (blue-blind)
#AD89A5
Achromatopsia (no color)
#919191

Design tokens & code

CSS
--color: #b574ec;
/* rgb */ color: rgb(181, 116, 236);
/* oklch */ color: oklch(67.7% 0.180 307.3);
Tailwind
colors: {
  custom: {
    50: '#ce9ef3',
    500: '#b574ec',
    950: '#000000',
  },
}
SCSS
$custom: #b574ec;
$custom-light: #ce9ef3;
$custom-dark: #000000;
JSON
{
  "hex": "#b574ec",
  "rgb": {
    "r": 181,
    "g": 116,
    "b": 236
  },
  "hsl": {
    "h": 272.5,
    "s": 75.949,
    "l": 69.02
  },
  "oklch": {
    "l": 0.67687,
    "c": 0.17986,
    "h": 307.3
  },
  "luminance": 0.28371
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #B574EC

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

Preview Lab → · Contrast checker → · Palette generator →

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