#A790FA#A790FA

#A790FA is a light, vivid violet. Relative luminance 0.351; OKLCH L 71.8% C 0.152 H 292.1°. Best body text is #000000 at 8.01:1 contrast (WCAG AA passes).

Color values

HEX#A790FA
RGBrgb(167, 144, 250)
HSLhsl(253, 91%, 77%)
HSVhsv(253, 42%, 98%)
CMYKcmyk(33.2%, 42.4%, 0%, 2%)
CIE-LABlab(65.80, 31.74, -50.02)
CIE-LCHlch(65.80, 59.24, 302.39°)
OKLaboklab(71.78% 0.0571 -0.1405)
OKLCHoklch(71.78% 0.152 292.1)
XYZxyz(43.1605, 35.0632, 94.9179)
Luminance0.3506 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A790FA #E3FA90
analogous
#90AEFA #A790FA #DC90FA
triadic
#A790FA #FAA790 #90FAA7
tetradic
#A790FA #FA90AE #E3FA90 #90FADC
square
#A790FA #FA90AE #E3FA90 #90FADC
split-complementary
#A790FA #FADC90 #AEFA90
monochromatic
#4A1BF5 #7955F7 #A790FA #D5CBFD #E8E2FE

Accessibility & contrast

On white

2.62
#A790FA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.01
#A790FA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A790FA
8.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A790FA#FFFFFF#000000##000000
##A790FA1.002.628.018.01
#FFFFFF2.621.0021.0021.00
#0000008.0121.001.001.00
##0000008.0121.001.001.00

Color blindness preview

Protanopia (red-blind)
#6EA1FE
Deuteranopia (green-blind)
#719EF7
Tritanopia (blue-blind)
#93A4B9
Achromatopsia (no color)
#A0A0A0

Design tokens & code

CSS
--color: #a790fa;
/* rgb */ color: rgb(167, 144, 250);
/* oklch */ color: oklch(71.8% 0.152 292.1);
Tailwind
colors: {
  custom: {
    50: '#c4b0fc',
    500: '#a790fa',
    950: '#000000',
  },
}
SCSS
$custom: #a790fa;
$custom-light: #c4b0fc;
$custom-dark: #000000;
JSON
{
  "hex": "#a790fa",
  "rgb": {
    "r": 167,
    "g": 144,
    "b": 250
  },
  "hsl": {
    "h": 253.019,
    "s": 91.379,
    "l": 77.255
  },
  "oklch": {
    "l": 0.71779,
    "c": 0.15169,
    "h": 292.1
  },
  "luminance": 0.35064
}

Semantic roles & 50–950 ramp

primary
#A790FA
secondary
#EFF6D5
accent
#E600B4
background
#FCFAFF
surface
#F8F5FF
border
#D1CFD7
text
#131017
muted
#827F85

Preview Lab

Preview with #A790FA

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

Preview Lab → · Contrast checker → · Palette generator →

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