#A270FA#A270FA

#A270FA is a light, vivid violet. Relative luminance 0.262; OKLCH L 66.0% C 0.198 H 297.4°. Best body text is #000000 at 6.23:1 contrast (WCAG AA passes).

Color values

HEX#A270FA
RGBrgb(162, 112, 250)
HSLhsl(262, 93%, 71%)
HSVhsv(262, 55%, 98%)
CMYKcmyk(35.2%, 55.2%, 0%, 2%)
CIE-LABlab(58.20, 48.34, -62.15)
CIE-LCHlch(58.20, 78.74, 307.88°)
OKLaboklab(65.99% 0.0913 -0.1762)
OKLCHoklch(65.99% 0.198 297.4)
XYZxyz(37.9455, 26.1713, 93.4763)
Luminance0.2617 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A270FA #C8FA70
analogous
#7083FA #A270FA #E770FA
triadic
#A270FA #FAA270 #70FAA2
tetradic
#A270FA #FA7083 #C8FA70 #70FAE7
square
#A270FA #FA7083 #C8FA70 #70FAE7
split-complementary
#A270FA #FAE770 #83FA70
monochromatic
#5908E8 #7C35F8 #A270FA #C8ABFC #ECE1FE

Accessibility & contrast

On white

3.37
#A270FA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.23
#A270FA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A270FA
6.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A270FA#FFFFFF#000000##000000
##A270FA1.003.376.236.23
#FFFFFF3.371.0021.0021.00
#0000006.2321.001.001.00
##0000006.2321.001.001.00

Color blindness preview

Protanopia (red-blind)
#308CFF
Deuteranopia (green-blind)
#428AF7
Tritanopia (blue-blind)
#8E8CAA
Achromatopsia (no color)
#8C8C8C

Design tokens & code

CSS
--color: #a270fa;
/* rgb */ color: rgb(162, 112, 250);
/* oklch */ color: oklch(66.0% 0.198 297.4);
Tailwind
colors: {
  custom: {
    50: '#c29bfd',
    500: '#a270fa',
    950: '#000000',
  },
}
SCSS
$custom: #a270fa;
$custom-light: #c29bfd;
$custom-dark: #000000;
JSON
{
  "hex": "#a270fa",
  "rgb": {
    "r": 162,
    "g": 112,
    "b": 250
  },
  "hsl": {
    "h": 261.739,
    "s": 93.243,
    "l": 70.98
  },
  "oklch": {
    "l": 0.65994,
    "c": 0.19841,
    "h": 297.4
  },
  "luminance": 0.26172
}

Semantic roles & 50–950 ramp

primary
#A270FA
secondary
#E8F5D1
accent
#E60092
background
#FCF9FF
surface
#F8F2FF
border
#D1CCD7
text
#130E18
muted
#827E86

Preview Lab

Preview with #A270FA

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

Preview Lab → · Contrast checker → · Palette generator →

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