#A071F8#A071F8

#A071F8 is a light, vivid violet. Relative luminance 0.261; OKLCH L 65.8% C 0.194 H 296.8°. Best body text is #000000 at 6.21:1 contrast (WCAG AA passes).

Color values

HEX#A071F8
RGBrgb(160, 113, 248)
HSLhsl(261, 91%, 71%)
HSVhsv(261, 54%, 97%)
CMYKcmyk(35.5%, 54.4%, 0%, 2.7%)
CIE-LABlab(58.09, 46.83, -61.23)
CIE-LCHlch(58.09, 77.08, 307.41°)
OKLaboklab(65.83% 0.0876 -0.1735)
OKLCHoklch(65.83% 0.194 296.8)
XYZxyz(37.3413, 26.0606, 91.8516)
Luminance0.2606 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A071F8 #C9F871
analogous
#7185F8 #A071F8 #E371F8
triadic
#A071F8 #F8A071 #71F8A0
tetradic
#A071F8 #F87185 #C9F871 #71F8E3
square
#A071F8 #F87185 #C9F871 #71F8E3
split-complementary
#A071F8 #F8E371 #85F871
monochromatic
#560BE3 #7937F5 #A071F8 #C7ABFB #EBE2FE

Accessibility & contrast

On white

3.38
#A071F8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.21
#A071F8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A071F8
6.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A071F8#FFFFFF#000000##000000
##A071F81.003.386.216.21
#FFFFFF3.381.0021.0021.00
#0000006.2121.001.001.00
##0000006.2121.001.001.00

Color blindness preview

Protanopia (red-blind)
#358CFD
Deuteranopia (green-blind)
#448AF5
Tritanopia (blue-blind)
#8C8DAA
Achromatopsia (no color)
#8C8C8C

Design tokens & code

CSS
--color: #a071f8;
/* rgb */ color: rgb(160, 113, 248);
/* oklch */ color: oklch(65.8% 0.194 296.8);
Tailwind
colors: {
  custom: {
    50: '#c09bfb',
    500: '#a071f8',
    950: '#000000',
  },
}
SCSS
$custom: #a071f8;
$custom-light: #c09bfb;
$custom-dark: #000000;
JSON
{
  "hex": "#a071f8",
  "rgb": {
    "r": 160,
    "g": 113,
    "b": 248
  },
  "hsl": {
    "h": 260.889,
    "s": 90.604,
    "l": 70.784
  },
  "oklch": {
    "l": 0.65833,
    "c": 0.19434,
    "h": 296.8
  },
  "luminance": 0.26061
}

Semantic roles & 50–950 ramp

primary
#A071F8
secondary
#E8F5D0
accent
#E60096
background
#FCF9FF
surface
#F8F2FF
border
#D1CCD7
text
#130E17
muted
#827E85

Preview Lab

Preview with #A071F8

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

Preview Lab → · Contrast checker → · Palette generator →

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