#A070F2#A070F2

#A070F2 is a light, vivid violet. Relative luminance 0.255; OKLCH L 65.3% C 0.188 H 298.0°. Best body text is #000000 at 6.09:1 contrast (WCAG AA passes).

Color values

HEX#A070F2
RGBrgb(160, 112, 242)
HSLhsl(262, 83%, 69%)
HSVhsv(262, 54%, 95%)
CMYKcmyk(33.9%, 53.7%, 0%, 5.1%)
CIE-LABlab(57.53, 45.86, -58.80)
CIE-LCHlch(57.53, 74.57, 307.95°)
OKLaboklab(65.31% 0.0886 -0.1664)
OKLCHoklch(65.31% 0.188 298)
XYZxyz(36.3144, 25.4723, 86.9906)
Luminance0.2547 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A070F2 #C2F270
analogous
#7081F2 #A070F2 #E170F2
triadic
#A070F2 #F2A070 #70F2A0
tetradic
#A070F2 #F27081 #C2F270 #70F2E1
square
#A070F2 #F27081 #C2F270 #70F2E1
split-complementary
#A070F2 #F2E170 #81F270
monochromatic
#5B13D4 #7B38ED #A070F2 #C5A8F7 #EBE0FC

Accessibility & contrast

On white

3.45
#A070F2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.09
#A070F2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A070F2
6.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A070F2#FFFFFF#000000##000000
##A070F21.003.456.096.09
#FFFFFF3.451.0021.0021.00
#0000006.0921.001.001.00
##0000006.0921.001.001.00

Color blindness preview

Protanopia (red-blind)
#3A8AF6
Deuteranopia (green-blind)
#4989EF
Tritanopia (blue-blind)
#8E8AA6
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #a070f2;
/* rgb */ color: rgb(160, 112, 242);
/* oklch */ color: oklch(65.3% 0.188 298.0);
Tailwind
colors: {
  custom: {
    50: '#c09af7',
    500: '#a070f2',
    950: '#000000',
  },
}
SCSS
$custom: #a070f2;
$custom-light: #c09af7;
$custom-dark: #000000;
JSON
{
  "hex": "#a070f2",
  "rgb": {
    "r": 160,
    "g": 112,
    "b": 242
  },
  "hsl": {
    "h": 262.154,
    "s": 83.333,
    "l": 69.412
  },
  "oklch": {
    "l": 0.65305,
    "c": 0.18849,
    "h": 298
  },
  "luminance": 0.25473
}

Semantic roles & 50–950 ramp

primary
#A070F2
secondary
#E4F2CC
accent
#E0068F
background
#FCF9FF
surface
#F8F2FF
border
#D1CCD7
text
#130E17
muted
#827E85

Preview Lab

Preview with #A070F2

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

Preview Lab → · Contrast checker → · Palette generator →

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