#A785FA#A785FA

#A785FA is a light, vivid violet. Relative luminance 0.319; OKLCH L 69.9% C 0.168 H 295.1°. Best body text is #000000 at 7.38:1 contrast (WCAG AA passes).

Color values

HEX#A785FA
RGBrgb(167, 133, 250)
HSLhsl(257, 92%, 75%)
HSVhsv(257, 47%, 98%)
CMYKcmyk(33.2%, 46.8%, 0%, 2%)
CIE-LABlab(63.25, 37.94, -54.06)
CIE-LCHlch(63.25, 66.04, 305.06°)
OKLaboklab(69.86% 0.0713 -0.1523)
OKLCHoklch(69.86% 0.168 295.1)
XYZxyz(41.5748, 31.8920, 94.3893)
Luminance0.3189 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A785FA #D8FA85
analogous
#859DFA #A785FA #E285FA
triadic
#A785FA #FAA785 #85FAA7
tetradic
#A785FA #FA859D #D8FA85 #85FAE2
square
#A785FA #FA859D #D8FA85 #85FAE2
split-complementary
#A785FA #FAE285 #9DFA85
monochromatic
#520FF5 #7D4AF8 #A785FA #D1C0FC #EAE2FE

Accessibility & contrast

On white

2.85
#A785FA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.38
#A785FA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A785FA
7.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A785FA#FFFFFF#000000##000000
##A785FA1.002.857.387.38
#FFFFFF2.851.0021.0021.00
#0000007.3821.001.001.00
##0000007.3821.001.001.00

Color blindness preview

Protanopia (red-blind)
#5D9AFE
Deuteranopia (green-blind)
#6397F7
Tritanopia (blue-blind)
#949BB4
Achromatopsia (no color)
#999999

Design tokens & code

CSS
--color: #a785fa;
/* rgb */ color: rgb(167, 133, 250);
/* oklch */ color: oklch(69.9% 0.168 295.1);
Tailwind
colors: {
  custom: {
    50: '#c4a9fc',
    500: '#a785fa',
    950: '#000000',
  },
}
SCSS
$custom: #a785fa;
$custom-light: #c4a9fc;
$custom-dark: #000000;
JSON
{
  "hex": "#a785fa",
  "rgb": {
    "r": 167,
    "g": 133,
    "b": 250
  },
  "hsl": {
    "h": 257.436,
    "s": 92.126,
    "l": 75.098
  },
  "oklch": {
    "l": 0.69862,
    "c": 0.16816,
    "h": 295.1
  },
  "luminance": 0.31893
}

Semantic roles & 50–950 ramp

primary
#A785FA
secondary
#ECF6D5
accent
#E600A3
background
#FCFAFF
surface
#F8F4FF
border
#D1CED7
text
#131017
muted
#827F85

Preview Lab

Preview with #A785FA

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

Preview Lab → · Contrast checker → · Palette generator →

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