#A270EC#A270EC

#A270EC is a light, vivid violet. Relative luminance 0.253; OKLCH L 65.1% C 0.181 H 300.0°. Best body text is #000000 at 6.07:1 contrast (WCAG AA passes).

Color values

HEX#A270EC
RGBrgb(162, 112, 236)
HSLhsl(264, 77%, 68%)
HSVhsv(264, 53%, 93%)
CMYKcmyk(31.4%, 52.5%, 0%, 7.5%)
CIE-LABlab(57.39, 44.86, -55.68)
CIE-LCHlch(57.39, 71.50, 308.86°)
OKLaboklab(65.14% 0.0908 -0.1572)
OKLCHoklch(65.14% 0.182 300)
XYZxyz(35.8312, 25.3256, 82.3412)
Luminance0.2533 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A270EC #BAEC70
analogous
#707CEC #A270EC #E070EC
triadic
#A270EC #ECA270 #70ECA2
tetradic
#A270EC #EC707C #BAEC70 #70ECE0
square
#A270EC #EC707C #BAEC70 #70ECE0
split-complementary
#A270EC #ECE070 #7CEC70
monochromatic
#601AC7 #7F3AE5 #A270EC #C5A6F3 #E8DCFA

Accessibility & contrast

On white

3.46
#A270EC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.07
#A270EC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A270EC
6.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A270EC#FFFFFF#000000##000000
##A270EC1.003.466.076.07
#FFFFFF3.461.0021.0021.00
#0000006.0721.001.001.00
##0000006.0721.001.001.00

Color blindness preview

Protanopia (red-blind)
#4289F0
Deuteranopia (green-blind)
#5089E9
Tritanopia (blue-blind)
#9388A3
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #a270ec;
/* rgb */ color: rgb(162, 112, 236);
/* oklch */ color: oklch(65.1% 0.181 300.0);
Tailwind
colors: {
  custom: {
    50: '#c19af3',
    500: '#a270ec',
    950: '#000000',
  },
}
SCSS
$custom: #a270ec;
$custom-light: #c19af3;
$custom-dark: #000000;
JSON
{
  "hex": "#a270ec",
  "rgb": {
    "r": 162,
    "g": 112,
    "b": 236
  },
  "hsl": {
    "h": 264.194,
    "s": 76.543,
    "l": 68.235
  },
  "oklch": {
    "l": 0.65137,
    "c": 0.1815,
    "h": 300
  },
  "luminance": 0.25326
}

Semantic roles & 50–950 ramp

primary
#A270EC
secondary
#E0EFC9
accent
#D90D86
background
#FCF9FE
surface
#F8F2FD
border
#D1CCD5
text
#130E17
muted
#827E85

Preview Lab

Preview with #A270EC

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

Preview Lab → · Contrast checker → · Palette generator →

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