#A870FA#A870FA

#A870FA is a light, vivid violet. Relative luminance 0.268; OKLCH L 66.6% C 0.199 H 299.7°. Best body text is #000000 at 6.36:1 contrast (WCAG AA passes).

Color values

HEX#A870FA
RGBrgb(168, 112, 250)
HSLhsl(264, 93%, 71%)
HSVhsv(264, 55%, 98%)
CMYKcmyk(32.8%, 55.2%, 0%, 2%)
CIE-LABlab(58.80, 49.73, -61.15)
CIE-LCHlch(58.80, 78.82, 309.12°)
OKLaboklab(66.58% 0.0988 -0.173)
OKLCHoklch(66.58% 0.199 299.7)
XYZxyz(39.1938, 26.8150, 93.5349)
Luminance0.2681 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A870FA #C2FA70
analogous
#707DFA #A870FA #ED70FA
triadic
#A870FA #FAA870 #70FAA8
tetradic
#A870FA #FA707D #C2FA70 #70FAED
square
#A870FA #FA707D #C2FA70 #70FAED
split-complementary
#A870FA #FAED70 #7DFA70
monochromatic
#6308E8 #8435F8 #A870FA #CCABFC #EDE1FE

Accessibility & contrast

On white

3.30
#A870FA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.36
#A870FA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A870FA
6.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A870FA#FFFFFF#000000##000000
##A870FA1.003.306.366.36
#FFFFFF3.301.0021.0021.00
#0000006.3621.001.001.00
##0000006.3621.001.001.00

Color blindness preview

Protanopia (red-blind)
#348DFF
Deuteranopia (green-blind)
#488CF7
Tritanopia (blue-blind)
#978CAA
Achromatopsia (no color)
#8D8D8D

Design tokens & code

CSS
--color: #a870fa;
/* rgb */ color: rgb(168, 112, 250);
/* oklch */ color: oklch(66.6% 0.199 299.7);
Tailwind
colors: {
  custom: {
    50: '#c69bfd',
    500: '#a870fa',
    950: '#000000',
  },
}
SCSS
$custom: #a870fa;
$custom-light: #c69bfd;
$custom-dark: #000000;
JSON
{
  "hex": "#a870fa",
  "rgb": {
    "r": 168,
    "g": 112,
    "b": 250
  },
  "hsl": {
    "h": 264.348,
    "s": 93.243,
    "l": 70.98
  },
  "oklch": {
    "l": 0.66577,
    "c": 0.19924,
    "h": 299.7
  },
  "luminance": 0.26815
}

Semantic roles & 50–950 ramp

primary
#A870FA
secondary
#E6F5D1
accent
#E60088
background
#FCF9FF
surface
#F8F2FF
border
#D1CCD7
text
#130E18
muted
#827E86

Preview Lab

Preview with #A870FA

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

Preview Lab → · Contrast checker → · Palette generator →

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