#A581F8#A581F8

#A581F8 is a light, vivid violet. Relative luminance 0.305; OKLCH L 68.9% C 0.171 H 295.5°. Best body text is #000000 at 7.10:1 contrast (WCAG AA passes).

Color values

HEX#A581F8
RGBrgb(165, 129, 248)
HSLhsl(258, 89%, 74%)
HSVhsv(258, 48%, 97%)
CMYKcmyk(33.5%, 48%, 0%, 2.7%)
CIE-LABlab(62.06, 39.17, -54.86)
CIE-LCHlch(62.06, 67.41, 305.53°)
OKLaboklab(68.89% 0.0738 -0.1547)
OKLCHoklch(68.89% 0.171 295.5)
XYZxyz(40.3063, 30.4765, 92.5477)
Luminance0.3048 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A581F8 #D4F881
analogous
#8199F8 #A581F8 #E181F8
triadic
#A581F8 #F8A581 #81F8A5
tetradic
#A581F8 #F88199 #D4F881 #81F8E1
square
#A581F8 #F88199 #D4F881 #81F8E1
split-complementary
#A581F8 #F8E181 #99F881
monochromatic
#520DF1 #7C47F5 #A581F8 #CEBBFB #EAE2FD

Accessibility & contrast

On white

2.96
#A581F8 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.10
#A581F8 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A581F8
7.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A581F8#FFFFFF#000000##000000
##A581F81.002.967.107.10
#FFFFFF2.961.0021.0021.00
#0000007.1021.001.001.00
##0000007.1021.001.001.00

Color blindness preview

Protanopia (red-blind)
#5797FC
Deuteranopia (green-blind)
#5E94F5
Tritanopia (blue-blind)
#9298B1
Achromatopsia (no color)
#969696

Design tokens & code

CSS
--color: #a581f8;
/* rgb */ color: rgb(165, 129, 248);
/* oklch */ color: oklch(68.9% 0.171 295.5);
Tailwind
colors: {
  custom: {
    50: '#c3a6fb',
    500: '#a581f8',
    950: '#000000',
  },
}
SCSS
$custom: #a581f8;
$custom-light: #c3a6fb;
$custom-dark: #000000;
JSON
{
  "hex": "#a581f8",
  "rgb": {
    "r": 165,
    "g": 129,
    "b": 248
  },
  "hsl": {
    "h": 258.151,
    "s": 89.474,
    "l": 73.922
  },
  "oklch": {
    "l": 0.68894,
    "c": 0.1714,
    "h": 295.5
  },
  "luminance": 0.30477
}

Semantic roles & 50–950 ramp

primary
#A581F8
secondary
#ECF5D6
accent
#E600A0
background
#FCFAFF
surface
#F8F4FF
border
#D1CED7
text
#130F17
muted
#827F85

Preview Lab

Preview with #A581F8

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

Preview Lab → · Contrast checker → · Palette generator →

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