#A270EA#A270EA

#A270EA is a light, vivid violet. Relative luminance 0.252; OKLCH L 65.0% C 0.179 H 300.4°. Best body text is #000000 at 6.04:1 contrast (WCAG AA passes).

Color values

HEX#A270EA
RGBrgb(162, 112, 234)
HSLhsl(265, 74%, 68%)
HSVhsv(265, 52%, 92%)
CMYKcmyk(30.8%, 52.1%, 0%, 8.2%)
CIE-LABlab(57.28, 44.36, -54.74)
CIE-LCHlch(57.28, 70.46, 309.02°)
OKLaboklab(65.02% 0.0907 -0.1544)
OKLCHoklch(65.02% 0.179 300.4)
XYZxyz(35.5423, 25.2100, 80.8195)
Luminance0.2521 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A270EA #B8EA70
analogous
#707BEA #A270EA #DF70EA
triadic
#A270EA #EAA270 #70EAA2
tetradic
#A270EA #EA707B #B8EA70 #70EADF
square
#A270EA #EA707B #B8EA70 #70EADF
split-complementary
#A270EA #EADF70 #7BEA70
monochromatic
#611DC3 #7F3BE2 #A270EA #C5A5F2 #E7DBFA

Accessibility & contrast

On white

3.48
#A270EA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.04
#A270EA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A270EA
6.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A270EA#FFFFFF#000000##000000
##A270EA1.003.486.046.04
#FFFFFF3.481.0021.0021.00
#0000006.0421.001.001.00
##0000006.0421.001.001.00

Color blindness preview

Protanopia (red-blind)
#4489EE
Deuteranopia (green-blind)
#5289E7
Tritanopia (blue-blind)
#9487A3
Achromatopsia (no color)
#898989

Design tokens & code

CSS
--color: #a270ea;
/* rgb */ color: rgb(162, 112, 234);
/* oklch */ color: oklch(65.0% 0.179 300.4);
Tailwind
colors: {
  custom: {
    50: '#c19af1',
    500: '#a270ea',
    950: '#000000',
  },
}
SCSS
$custom: #a270ea;
$custom-light: #c19af1;
$custom-dark: #000000;
JSON
{
  "hex": "#a270ea",
  "rgb": {
    "r": 162,
    "g": 112,
    "b": 234
  },
  "hsl": {
    "h": 264.59,
    "s": 74.39,
    "l": 67.843
  },
  "oklch": {
    "l": 0.65018,
    "c": 0.17907,
    "h": 300.4
  },
  "luminance": 0.2521
}

Semantic roles & 50–950 ramp

primary
#A270EA
secondary
#DEEEC8
accent
#D70F85
background
#FCF9FE
surface
#F8F2FD
border
#D1CCD5
text
#130E17
muted
#827E85

Preview Lab

Preview with #A270EA

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

Preview Lab → · Contrast checker → · Palette generator →

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