#A895F6#A895F6

#A895F6 is a light, vivid violet. Relative luminance 0.365; OKLCH L 72.6% C 0.139 H 291.5°. Best body text is #000000 at 8.29:1 contrast (WCAG AA passes).

Color values

HEX#A895F6
RGBrgb(168, 149, 246)
HSLhsl(252, 84%, 77%)
HSVhsv(252, 39%, 96%)
CMYKcmyk(31.7%, 39.4%, 0%, 3.5%)
CIE-LABlab(66.88, 28.16, -46.13)
CIE-LCHlch(66.88, 54.04, 301.40°)
OKLaboklab(72.56% 0.051 -0.1292)
OKLCHoklch(72.56% 0.139 291.5)
XYZxyz(43.5262, 36.4727, 91.9176)
Luminance0.3647 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A895F6 #E3F695
analogous
#95B2F6 #A895F6 #D995F6
triadic
#A895F6 #F6A895 #95F6A8
tetradic
#A895F6 #F695B2 #E3F695 #95F6D9
square
#A895F6 #F695B2 #E3F695 #95F6D9
split-complementary
#A895F6 #F6D995 #B2F695
monochromatic
#4B24EC #7A5DF1 #A895F6 #D6CDFB #E8E3FD

Accessibility & contrast

On white

2.53
#A895F6 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.29
#A895F6 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A895F6
8.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A895F6#FFFFFF#000000##000000
##A895F61.002.538.298.29
#FFFFFF2.531.0021.0021.00
#0000008.2921.001.001.00
##0000008.2921.001.001.00

Color blindness preview

Protanopia (red-blind)
#78A4FA
Deuteranopia (green-blind)
#79A1F4
Tritanopia (blue-blind)
#96A7BA
Achromatopsia (no color)
#A3A3A3

Design tokens & code

CSS
--color: #a895f6;
/* rgb */ color: rgb(168, 149, 246);
/* oklch */ color: oklch(72.6% 0.139 291.5);
Tailwind
colors: {
  custom: {
    50: '#c4b4f9',
    500: '#a895f6',
    950: '#000000',
  },
}
SCSS
$custom: #a895f6;
$custom-light: #c4b4f9;
$custom-dark: #000000;
JSON
{
  "hex": "#a895f6",
  "rgb": {
    "r": 168,
    "g": 149,
    "b": 246
  },
  "hsl": {
    "h": 251.753,
    "s": 84.348,
    "l": 77.451
  },
  "oklch": {
    "l": 0.72558,
    "c": 0.13887,
    "h": 291.5
  },
  "luminance": 0.36474
}

Semantic roles & 50–950 ramp

primary
#A895F6
secondary
#EFF5D6
accent
#E105B6
background
#FCFBFF
surface
#F8F6FF
border
#D1D0D7
text
#131117
muted
#828085

Preview Lab

Preview with #A895F6

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

Preview Lab → · Contrast checker → · Palette generator →

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