#A790EC#A790EC

#A790EC is a light, vivid violet. Relative luminance 0.342; OKLCH L 71.1% C 0.133 H 294.3°. Best body text is #000000 at 7.84:1 contrast (WCAG AA passes).

Color values

HEX#A790EC
RGBrgb(167, 144, 236)
HSLhsl(255, 71%, 75%)
HSVhsv(255, 39%, 93%)
CMYKcmyk(29.2%, 39%, 0%, 7.5%)
CIE-LABlab(65.13, 28.21, -43.38)
CIE-LCHlch(65.13, 51.75, 303.04°)
OKLaboklab(71.06% 0.0546 -0.1212)
OKLCHoklch(71.06% 0.133 294.3)
XYZxyz(41.0462, 34.2175, 83.7827)
Luminance0.3422 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A790EC #D5EC90
analogous
#90A7EC #A790EC #D590EC
triadic
#A790EC #ECA790 #90ECA7
tetradic
#A790EC #EC90A7 #D5EC90 #90ECD5
square
#A790EC #EC90A7 #D5EC90 #90ECD5
split-complementary
#A790EC #ECD590 #A7EC90
monochromatic
#5427DA #7E5CE3 #A790EC #D0C4F5 #EAE5FB

Accessibility & contrast

On white

2.68
#A790EC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.84
#A790EC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A790EC
7.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A790EC#FFFFFF#000000##000000
##A790EC1.002.687.847.84
#FFFFFF2.681.0021.0021.00
#0000007.8421.001.001.00
##0000007.8421.001.001.00

Color blindness preview

Protanopia (red-blind)
#769FF0
Deuteranopia (green-blind)
#799DEA
Tritanopia (blue-blind)
#98A0B3
Achromatopsia (no color)
#9E9E9E

Design tokens & code

CSS
--color: #a790ec;
/* rgb */ color: rgb(167, 144, 236);
/* oklch */ color: oklch(71.1% 0.133 294.3);
Tailwind
colors: {
  custom: {
    50: '#c3b0f2',
    500: '#a790ec',
    950: '#000000',
  },
}
SCSS
$custom: #a790ec;
$custom-light: #c3b0f2;
$custom-dark: #000000;
JSON
{
  "hex": "#a790ec",
  "rgb": {
    "r": 167,
    "g": 144,
    "b": 236
  },
  "hsl": {
    "h": 255,
    "s": 70.769,
    "l": 74.51
  },
  "oklch": {
    "l": 0.7106,
    "c": 0.13297,
    "h": 294.3
  },
  "luminance": 0.34218
}

Semantic roles & 50–950 ramp

primary
#A790EC
secondary
#ECF2D9
accent
#D313A3
background
#FCFAFE
surface
#F8F5FD
border
#D1CFD5
text
#131017
muted
#827F85

Preview Lab

Preview with #A790EC

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

Preview Lab → · Contrast checker → · Palette generator →

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