#A583F9#A583F9

#A583F9 is a light, vivid violet. Relative luminance 0.311; OKLCH L 69.3% C 0.170 H 294.9°. Best body text is #000000 at 7.21:1 contrast (WCAG AA passes).

Color values

HEX#A583F9
RGBrgb(165, 131, 249)
HSLhsl(257, 91%, 75%)
HSVhsv(257, 47%, 98%)
CMYKcmyk(33.7%, 47.4%, 0%, 2.4%)
CIE-LABlab(62.57, 38.30, -54.61)
CIE-LCHlch(62.57, 66.70, 305.05°)
OKLaboklab(69.29% 0.0714 -0.154)
OKLCHoklch(69.29% 0.17 294.9)
XYZxyz(40.7279, 31.0708, 93.4556)
Luminance0.3107 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A583F9 #D7F983
analogous
#839CF9 #A583F9 #E083F9
triadic
#A583F9 #F9A583 #83F9A5
tetradic
#A583F9 #F9839C #D7F983 #83F9E0
square
#A583F9 #F9839C #D7F983 #83F9E0
split-complementary
#A583F9 #F9E083 #9CF983
monochromatic
#500EF3 #7B49F6 #A583F9 #CFBDFC #EAE2FE

Accessibility & contrast

On white

2.91
#A583F9 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.21
#A583F9 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A583F9
7.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A583F9#FFFFFF#000000##000000
##A583F91.002.917.217.21
#FFFFFF2.911.0021.0021.00
#0000007.2121.001.001.00
##0000007.2121.001.001.00

Color blindness preview

Protanopia (red-blind)
#5A98FD
Deuteranopia (green-blind)
#6096F6
Tritanopia (blue-blind)
#929AB2
Achromatopsia (no color)
#979797

Design tokens & code

CSS
--color: #a583f9;
/* rgb */ color: rgb(165, 131, 249);
/* oklch */ color: oklch(69.3% 0.170 294.9);
Tailwind
colors: {
  custom: {
    50: '#c3a7fc',
    500: '#a583f9',
    950: '#000000',
  },
}
SCSS
$custom: #a583f9;
$custom-light: #c3a7fc;
$custom-dark: #000000;
JSON
{
  "hex": "#a583f9",
  "rgb": {
    "r": 165,
    "g": 131,
    "b": 249
  },
  "hsl": {
    "h": 257.288,
    "s": 90.769,
    "l": 74.51
  },
  "oklch": {
    "l": 0.69288,
    "c": 0.16969,
    "h": 294.9
  },
  "luminance": 0.31071
}

Semantic roles & 50–950 ramp

primary
#A583F9
secondary
#ECF6D5
accent
#E600A3
background
#FCFAFF
surface
#F8F4FF
border
#D1CED7
text
#130F17
muted
#827F85

Preview Lab

Preview with #A583F9

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

Preview Lab → · Contrast checker → · Palette generator →

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