#A785F8#A785F8

#A785F8 is a light, vivid violet. Relative luminance 0.318; OKLCH L 69.8% C 0.166 H 295.4°. Best body text is #000000 at 7.35:1 contrast (WCAG AA passes).

Color values

HEX#A785F8
RGBrgb(167, 133, 248)
HSLhsl(258, 89%, 75%)
HSVhsv(258, 46%, 97%)
CMYKcmyk(32.7%, 46.4%, 0%, 2.7%)
CIE-LABlab(63.15, 37.43, -53.12)
CIE-LCHlch(63.15, 64.99, 305.17°)
OKLaboklab(69.75% 0.0711 -0.1496)
OKLCHoklch(69.75% 0.166 295.4)
XYZxyz(41.2629, 31.7672, 92.7465)
Luminance0.3177 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A785F8 #D6F885
analogous
#859DF8 #A785F8 #E085F8
triadic
#A785F8 #F8A785 #85F8A7
tetradic
#A785F8 #F8859D #D6F885 #85F8E0
square
#A785F8 #F8859D #D6F885 #85F8E0
split-complementary
#A785F8 #F8E085 #9DF885
monochromatic
#5411F1 #7D4BF5 #A785F8 #D1BFFB #EAE2FD

Accessibility & contrast

On white

2.86
#A785F8 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.35
#A785F8 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A785F8
7.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A785F8#FFFFFF#000000##000000
##A785F81.002.867.357.35
#FFFFFF2.861.0021.0021.00
#0000007.3521.001.001.00
##0000007.3521.001.001.00

Color blindness preview

Protanopia (red-blind)
#5F9AFC
Deuteranopia (green-blind)
#6597F5
Tritanopia (blue-blind)
#959BB3
Achromatopsia (no color)
#999999

Design tokens & code

CSS
--color: #a785f8;
/* rgb */ color: rgb(167, 133, 248);
/* oklch */ color: oklch(69.8% 0.166 295.4);
Tailwind
colors: {
  custom: {
    50: '#c4a9fb',
    500: '#a785f8',
    950: '#000000',
  },
}
SCSS
$custom: #a785f8;
$custom-light: #c4a9fb;
$custom-dark: #000000;
JSON
{
  "hex": "#a785f8",
  "rgb": {
    "r": 167,
    "g": 133,
    "b": 248
  },
  "hsl": {
    "h": 257.739,
    "s": 89.147,
    "l": 74.706
  },
  "oklch": {
    "l": 0.69751,
    "c": 0.16559,
    "h": 295.4
  },
  "luminance": 0.31768
}

Semantic roles & 50–950 ramp

primary
#A785F8
secondary
#ECF5D6
accent
#E600A2
background
#FCFAFF
surface
#F8F4FF
border
#D1CED7
text
#131017
muted
#827F85

Preview Lab

Preview with #A785F8

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

Preview Lab → · Contrast checker → · Palette generator →

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