#A790FB#A790FB

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

Color values

HEX#A790FB
RGBrgb(167, 144, 251)
HSLhsl(253, 93%, 77%)
HSVhsv(253, 43%, 98%)
CMYKcmyk(33.5%, 42.6%, 0%, 1.6%)
CIE-LABlab(65.85, 31.99, -50.49)
CIE-LCHlch(65.85, 59.78, 302.36°)
OKLaboklab(71.83% 0.0573 -0.1419)
OKLCHoklch(71.83% 0.153 292)
XYZxyz(43.3177, 35.1261, 95.7458)
Luminance0.3513 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A790FB #E4FB90
analogous
#90AFFB #A790FB #DC90FB
triadic
#A790FB #FBA790 #90FBA7
tetradic
#A790FB #FB90AF #E4FB90 #90FBDC
square
#A790FB #FB90AF #E4FB90 #90FBDC
split-complementary
#A790FB #FBDC90 #AFFB90
monochromatic
#491AF7 #7855F9 #A790FB #D6CBFD #E8E1FE

Accessibility & contrast

On white

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

On black

8.03
#A790FB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A790FB
8.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A790FB#FFFFFF#000000##000000
##A790FB1.002.628.038.03
#FFFFFF2.621.0021.0021.00
#0000008.0321.001.001.00
##0000008.0321.001.001.00

Color blindness preview

Protanopia (red-blind)
#6EA2FF
Deuteranopia (green-blind)
#709EF8
Tritanopia (blue-blind)
#93A4B9
Achromatopsia (no color)
#A0A0A0

Design tokens & code

CSS
--color: #a790fb;
/* rgb */ color: rgb(167, 144, 251);
/* oklch */ color: oklch(71.8% 0.153 292.0);
Tailwind
colors: {
  custom: {
    50: '#c4b0fd',
    500: '#a790fb',
    950: '#000000',
  },
}
SCSS
$custom: #a790fb;
$custom-light: #c4b0fd;
$custom-dark: #000000;
JSON
{
  "hex": "#a790fb",
  "rgb": {
    "r": 167,
    "g": 144,
    "b": 251
  },
  "hsl": {
    "h": 252.897,
    "s": 93.043,
    "l": 77.451
  },
  "oklch": {
    "l": 0.71832,
    "c": 0.15301,
    "h": 292
  },
  "luminance": 0.35127
}

Semantic roles & 50–950 ramp

primary
#A790FB
secondary
#EFF6D5
accent
#E600B4
background
#FCFAFF
surface
#F8F5FF
border
#D1CFD7
text
#131018
muted
#827F86

Preview Lab

Preview with #A790FB

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

Preview Lab → · Contrast checker → · Palette generator →

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