#A574EB#A574EB

#A574EB is a light, vivid violet. Relative luminance 0.265; OKLCH L 66.0% C 0.175 H 300.7°. Best body text is #000000 at 6.30:1 contrast (WCAG AA passes).

Color values

HEX#A574EB
RGBrgb(165, 116, 235)
HSLhsl(265, 75%, 69%)
HSVhsv(265, 51%, 92%)
CMYKcmyk(29.8%, 50.6%, 0%, 7.8%)
CIE-LABlab(58.50, 43.16, -53.34)
CIE-LCHlch(58.50, 68.62, 308.98°)
OKLaboklab(66.01% 0.0893 -0.1502)
OKLCHoklch(66.01% 0.175 300.7)
XYZxyz(36.7543, 26.4881, 81.7575)
Luminance0.2649 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A574EB #BAEB74
analogous
#747FEB #A574EB #E174EB
triadic
#A574EB #EBA574 #74EBA5
tetradic
#A574EB #EB747F #BAEB74 #74EBE1
square
#A574EB #EB747F #BAEB74 #74EBE1
split-complementary
#A574EB #EBE174 #7FEB74
monochromatic
#631DC8 #823EE3 #A574EB #C8AAF3 #EADFFA

Accessibility & contrast

On white

3.33
#A574EB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.30
#A574EB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A574EB
6.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A574EB#FFFFFF#000000##000000
##A574EB1.003.336.306.30
#FFFFFF3.331.0021.0021.00
#0000006.3021.001.001.00
##0000006.3021.001.001.00

Color blindness preview

Protanopia (red-blind)
#4B8CEF
Deuteranopia (green-blind)
#598CE8
Tritanopia (blue-blind)
#978AA5
Achromatopsia (no color)
#8D8D8D

Design tokens & code

CSS
--color: #a574eb;
/* rgb */ color: rgb(165, 116, 235);
/* oklch */ color: oklch(66.0% 0.175 300.7);
Tailwind
colors: {
  custom: {
    50: '#c39df2',
    500: '#a574eb',
    950: '#000000',
  },
}
SCSS
$custom: #a574eb;
$custom-light: #c39df2;
$custom-dark: #000000;
JSON
{
  "hex": "#a574eb",
  "rgb": {
    "r": 165,
    "g": 116,
    "b": 235
  },
  "hsl": {
    "h": 264.706,
    "s": 74.843,
    "l": 68.824
  },
  "oklch": {
    "l": 0.66009,
    "c": 0.17477,
    "h": 300.7
  },
  "luminance": 0.26488
}

Semantic roles & 50–950 ramp

primary
#A574EB
secondary
#E1EFCC
accent
#D70F84
background
#FCF9FE
surface
#F8F2FD
border
#D1CCD5
text
#130E17
muted
#827E85

Preview Lab

Preview with #A574EB

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

Preview Lab → · Contrast checker → · Palette generator →

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