#A85FD7#A85FD7

#A85FD7 is a mid, vivid violet. Relative luminance 0.214; OKLCH L 62.0% C 0.184 H 310.2°. Best body text is #000000 at 5.28:1 contrast (WCAG AA passes).

Color values

HEX#A85FD7
RGBrgb(168, 95, 215)
HSLhsl(277, 60%, 61%)
HSVhsv(277, 56%, 84%)
CMYKcmyk(21.9%, 55.8%, 0%, 15.7%)
CIE-LABlab(53.40, 50.51, -50.20)
CIE-LCHlch(53.40, 71.21, 315.18°)
OKLaboklab(61.97% 0.119 -0.1409)
OKLCHoklch(61.97% 0.184 310.2)
XYZxyz(32.5041, 21.4162, 66.6982)
Luminance0.2142 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A85FD7 #8ED75F
analogous
#6C5FD7 #A85FD7 #D75FCA
triadic
#A85FD7 #D7A85F #5FD7A8
tetradic
#A85FD7 #D76C5F #8ED75F #5FCAD7
square
#A85FD7 #D76C5F #8ED75F #5FCAD7
split-complementary
#A85FD7 #CAD75F #5FD76C
monochromatic
#6A2696 #8D32C7 #A85FD7 #C390E3 #DDC1EF

Accessibility & contrast

On white

3.97
#A85FD7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.28
#A85FD7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A85FD7
5.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A85FD7#FFFFFF#000000##000000
##A85FD71.003.975.285.28
#FFFFFF3.971.0021.0021.00
#0000005.2821.001.001.00
##0000005.2821.001.001.00

Color blindness preview

Protanopia (red-blind)
#397CDB
Deuteranopia (green-blind)
#5381D4
Tritanopia (blue-blind)
#A27492
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #a85fd7;
/* rgb */ color: rgb(168, 95, 215);
/* oklch */ color: oklch(62.0% 0.184 310.2);
Tailwind
colors: {
  custom: {
    50: '#c58fe4',
    500: '#a85fd7',
    950: '#000000',
  },
}
SCSS
$custom: #a85fd7;
$custom-light: #c58fe4;
$custom-dark: #000000;
JSON
{
  "hex": "#a85fd7",
  "rgb": {
    "r": 168,
    "g": 95,
    "b": 215
  },
  "hsl": {
    "h": 276.5,
    "s": 60,
    "l": 60.784
  },
  "oklch": {
    "l": 0.61966,
    "c": 0.18443,
    "h": 310.2
  },
  "luminance": 0.21416
}

Semantic roles & 50–950 ramp

primary
#A85FD7
secondary
#C4E0B2
accent
#C81E60
background
#FCF9FE
surface
#F8F1FC
border
#D1CBD5
text
#130D15
muted
#827E84

Preview Lab

Preview with #A85FD7

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

Preview Lab → · Contrast checker → · Palette generator →

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