#B574EF#B574EF

#B574EF is a light, vivid violet. Relative luminance 0.285; OKLCH L 67.9% C 0.183 H 306.5°. Best body text is #000000 at 6.71:1 contrast (WCAG AA passes).

Color values

HEX#B574EF
RGBrgb(181, 116, 239)
HSLhsl(272, 79%, 70%)
HSVhsv(272, 51%, 94%)
CMYKcmyk(24.3%, 51.5%, 0%, 6.3%)
CIE-LABlab(60.38, 48.19, -52.47)
CIE-LCHlch(60.38, 71.24, 312.57°)
OKLaboklab(67.85% 0.1092 -0.1473)
OKLCHoklch(67.85% 0.183 306.5)
XYZxyz(40.8782, 28.5469, 85.0012)
Luminance0.2855 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B574EF #AEEF74
analogous
#7774EF #B574EF #EF74EC
triadic
#B574EF #EFB574 #74EFB5
tetradic
#B574EF #EF7774 #AEEF74 #74ECEF
square
#B574EF #EF7774 #AEEF74 #74ECEF
split-complementary
#B574EF #ECEF74 #74EF77
monochromatic
#7A18D1 #983DE9 #B574EF #D2ABF5 #EFE2FC

Accessibility & contrast

On white

3.13
#B574EF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.71
#B574EF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B574EF
6.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B574EF#FFFFFF#000000##000000
##B574EF1.003.136.716.71
#FFFFFF3.131.0021.0021.00
#0000006.7121.001.001.00
##0000006.7121.001.001.00

Color blindness preview

Protanopia (red-blind)
#4F8FF3
Deuteranopia (green-blind)
#6292EC
Tritanopia (blue-blind)
#AC8AA7
Achromatopsia (no color)
#929292

Design tokens & code

CSS
--color: #b574ef;
/* rgb */ color: rgb(181, 116, 239);
/* oklch */ color: oklch(67.9% 0.183 306.5);
Tailwind
colors: {
  custom: {
    50: '#ce9ef5',
    500: '#b574ef',
    950: '#000000',
  },
}
SCSS
$custom: #b574ef;
$custom-light: #ce9ef5;
$custom-dark: #000000;
JSON
{
  "hex": "#b574ef",
  "rgb": {
    "r": 181,
    "g": 116,
    "b": 239
  },
  "hsl": {
    "h": 271.707,
    "s": 79.355,
    "l": 69.608
  },
  "oklch": {
    "l": 0.67854,
    "c": 0.18332,
    "h": 306.5
  },
  "luminance": 0.28547
}

Semantic roles & 50–950 ramp

primary
#B574EF
secondary
#DEF1CE
accent
#DC0A6D
background
#FCF9FF
surface
#F9F2FE
border
#D2CCD6
text
#140E17
muted
#827E85

Preview Lab

Preview with #B574EF

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

Preview Lab → · Contrast checker → · Palette generator →

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