#A870FC#A870FC

#A870FC is a light, highly saturated violet. Relative luminance 0.269; OKLCH L 66.7% C 0.202 H 299.3°. Best body text is #000000 at 6.39:1 contrast (WCAG AA passes).

Color values

HEX#A870FC
RGBrgb(168, 112, 252)
HSLhsl(264, 96%, 71%)
HSVhsv(264, 56%, 99%)
CMYKcmyk(33.3%, 55.6%, 0%, 1.2%)
CIE-LABlab(58.92, 50.22, -62.07)
CIE-LCHlch(58.92, 79.84, 308.98°)
OKLaboklab(66.7% 0.0988 -0.1757)
OKLCHoklch(66.7% 0.202 299.3)
XYZxyz(39.5090, 26.9411, 95.1952)
Luminance0.2694 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A870FC #C4FC70
analogous
#707EFC #A870FC #EE70FC
triadic
#A870FC #FCA870 #70FCA8
tetradic
#A870FC #FC707E #C4FC70 #70FCEE
square
#A870FC #FC707E #C4FC70 #70FCEE
split-complementary
#A870FC #FCEE70 #7EFC70
monochromatic
#6205ED #8434FB #A870FC #CCACFD #EDE1FE

Accessibility & contrast

On white

3.29
#A870FC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.39
#A870FC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A870FC
6.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A870FC#FFFFFF#000000##000000
##A870FC1.003.296.396.39
#FFFFFF3.291.0021.0021.00
#0000006.3921.001.001.00
##0000006.3921.001.001.00

Color blindness preview

Protanopia (red-blind)
#318EFF
Deuteranopia (green-blind)
#468DF9
Tritanopia (blue-blind)
#968CAB
Achromatopsia (no color)
#8E8E8E

Design tokens & code

CSS
--color: #a870fc;
/* rgb */ color: rgb(168, 112, 252);
/* oklch */ color: oklch(66.7% 0.202 299.3);
Tailwind
colors: {
  custom: {
    50: '#c69bfe',
    500: '#a870fc',
    950: '#000000',
  },
}
SCSS
$custom: #a870fc;
$custom-light: #c69bfe;
$custom-dark: #000000;
JSON
{
  "hex": "#a870fc",
  "rgb": {
    "r": 168,
    "g": 112,
    "b": 252
  },
  "hsl": {
    "h": 264,
    "s": 95.89,
    "l": 71.373
  },
  "oklch": {
    "l": 0.66701,
    "c": 0.2016,
    "h": 299.3
  },
  "luminance": 0.26941
}

Semantic roles & 50–950 ramp

primary
#A870FC
secondary
#E8F6D2
accent
#E6008A
background
#FCF9FF
surface
#F8F2FF
border
#D1CCD7
text
#130E18
muted
#827E86

Preview Lab

Preview with #A870FC

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

Preview Lab → · Contrast checker → · Palette generator →

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