#A187FA#A187FA

#A187FA is a light, vivid violet. Relative luminance 0.318; OKLCH L 69.7% C 0.165 H 292.0°. Best body text is #000000 at 7.36:1 contrast (WCAG AA passes).

Color values

HEX#A187FA
RGBrgb(161, 135, 250)
HSLhsl(254, 92%, 75%)
HSVhsv(254, 46%, 98%)
CMYKcmyk(35.6%, 46%, 0%, 2%)
CIE-LABlab(63.18, 35.29, -54.20)
CIE-LCHlch(63.18, 64.68, 303.07°)
OKLaboklab(69.68% 0.0617 -0.1529)
OKLCHoklch(69.68% 0.165 292)
XYZxyz(40.6127, 31.8062, 94.4234)
Luminance0.3181 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A187FA #E0FA87
analogous
#87A6FA #A187FA #DA87FA
triadic
#A187FA #FAA187 #87FAA1
tetradic
#A187FA #FA87A6 #E0FA87 #87FADA
square
#A187FA #FA87A6 #E0FA87 #87FADA
split-complementary
#A187FA #FADA87 #A6FA87
monochromatic
#4511F5 #734CF8 #A187FA #CFC2FC #E8E2FE

Accessibility & contrast

On white

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

On black

7.36
#A187FA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A187FA
7.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A187FA#FFFFFF#000000##000000
##A187FA1.002.857.367.36
#FFFFFF2.851.0021.0021.00
#0000007.3621.001.001.00
##0000007.3621.001.001.00

Color blindness preview

Protanopia (red-blind)
#5F9BFE
Deuteranopia (green-blind)
#6297F7
Tritanopia (blue-blind)
#8B9DB5
Achromatopsia (no color)
#999999

Design tokens & code

CSS
--color: #a187fa;
/* rgb */ color: rgb(161, 135, 250);
/* oklch */ color: oklch(69.7% 0.165 292.0);
Tailwind
colors: {
  custom: {
    50: '#c0aafc',
    500: '#a187fa',
    950: '#000000',
  },
}
SCSS
$custom: #a187fa;
$custom-light: #c0aafc;
$custom-dark: #000000;
JSON
{
  "hex": "#a187fa",
  "rgb": {
    "r": 161,
    "g": 135,
    "b": 250
  },
  "hsl": {
    "h": 253.565,
    "s": 92,
    "l": 75.49
  },
  "oklch": {
    "l": 0.69682,
    "c": 0.16483,
    "h": 292
  },
  "luminance": 0.31807
}

Semantic roles & 50–950 ramp

primary
#A187FA
secondary
#EEF6D5
accent
#E600B2
background
#FCFAFF
surface
#F8F4FF
border
#D1CED7
text
#131017
muted
#827F85

Preview Lab

Preview with #A187FA

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

Preview Lab → · Contrast checker → · Palette generator →

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