#A583F8#A583F8

#A583F8 is a light, vivid violet. Relative luminance 0.310; OKLCH L 69.2% C 0.168 H 295.0°. Best body text is #000000 at 7.20:1 contrast (WCAG AA passes).

Color values

HEX#A583F8
RGBrgb(165, 131, 248)
HSLhsl(257, 89%, 74%)
HSVhsv(257, 47%, 97%)
CMYKcmyk(33.5%, 47.2%, 0%, 2.7%)
CIE-LABlab(62.51, 38.05, -54.14)
CIE-LCHlch(62.51, 66.17, 305.10°)
OKLaboklab(69.23% 0.0712 -0.1526)
OKLCHoklch(69.23% 0.168 295)
XYZxyz(40.5723, 31.0086, 92.6364)
Luminance0.3101 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A583F8 #D6F883
analogous
#839CF8 #A583F8 #E083F8
triadic
#A583F8 #F8A583 #83F8A5
tetradic
#A583F8 #F8839C #D6F883 #83F8E0
square
#A583F8 #F8839C #D6F883 #83F8E0
split-complementary
#A583F8 #F8E083 #9CF883
monochromatic
#510FF1 #7B49F5 #A583F8 #CFBDFB #EAE2FD

Accessibility & contrast

On white

2.92
#A583F8 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.20
#A583F8 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A583F8
7.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A583F8#FFFFFF#000000##000000
##A583F81.002.927.207.20
#FFFFFF2.921.0021.0021.00
#0000007.2021.001.001.00
##0000007.2021.001.001.00

Color blindness preview

Protanopia (red-blind)
#5B98FC
Deuteranopia (green-blind)
#6195F5
Tritanopia (blue-blind)
#9299B2
Achromatopsia (no color)
#979797

Design tokens & code

CSS
--color: #a583f8;
/* rgb */ color: rgb(165, 131, 248);
/* oklch */ color: oklch(69.2% 0.168 295.0);
Tailwind
colors: {
  custom: {
    50: '#c3a7fb',
    500: '#a583f8',
    950: '#000000',
  },
}
SCSS
$custom: #a583f8;
$custom-light: #c3a7fb;
$custom-dark: #000000;
JSON
{
  "hex": "#a583f8",
  "rgb": {
    "r": 165,
    "g": 131,
    "b": 248
  },
  "hsl": {
    "h": 257.436,
    "s": 89.313,
    "l": 74.314
  },
  "oklch": {
    "l": 0.69232,
    "c": 0.16841,
    "h": 295
  },
  "luminance": 0.31009
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #A583F8

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

Preview Lab → · Contrast checker → · Palette generator →

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