#A270F6#A270F6

#A270F6 is a light, vivid violet. Relative luminance 0.259; OKLCH L 65.7% C 0.194 H 298.1°. Best body text is #000000 at 6.18:1 contrast (WCAG AA passes).

Color values

HEX#A270F6
RGBrgb(162, 112, 246)
HSLhsl(262, 88%, 70%)
HSVhsv(262, 54%, 96%)
CMYKcmyk(34.1%, 54.5%, 0%, 3.5%)
CIE-LABlab(57.96, 47.34, -60.32)
CIE-LCHlch(57.96, 76.68, 308.13°)
OKLaboklab(65.75% 0.0912 -0.1708)
OKLCHoklch(65.75% 0.194 298.1)
XYZxyz(37.3249, 25.9231, 90.2081)
Luminance0.2592 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A270F6 #C4F670
analogous
#7081F6 #A270F6 #E570F6
triadic
#A270F6 #F6A270 #70F6A2
tetradic
#A270F6 #F67081 #C4F670 #70F6E5
square
#A270F6 #F67081 #C4F670 #70F6E5
split-complementary
#A270F6 #F6E570 #81F670
monochromatic
#5B0EDE #7D36F2 #A270F6 #C7AAFA #ECE2FD

Accessibility & contrast

On white

3.40
#A270F6 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.18
#A270F6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A270F6
6.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A270F6#FFFFFF#000000##000000
##A270F61.003.406.186.18
#FFFFFF3.401.0021.0021.00
#0000006.1821.001.001.00
##0000006.1821.001.001.00

Color blindness preview

Protanopia (red-blind)
#368BFA
Deuteranopia (green-blind)
#468AF3
Tritanopia (blue-blind)
#8F8BA8
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #a270f6;
/* rgb */ color: rgb(162, 112, 246);
/* oklch */ color: oklch(65.7% 0.194 298.1);
Tailwind
colors: {
  custom: {
    50: '#c29afa',
    500: '#a270f6',
    950: '#000000',
  },
}
SCSS
$custom: #a270f6;
$custom-light: #c29afa;
$custom-dark: #000000;
JSON
{
  "hex": "#a270f6",
  "rgb": {
    "r": 162,
    "g": 112,
    "b": 246
  },
  "hsl": {
    "h": 262.388,
    "s": 88.158,
    "l": 70.196
  },
  "oklch": {
    "l": 0.65745,
    "c": 0.1936,
    "h": 298.1
  },
  "luminance": 0.25924
}

Semantic roles & 50–950 ramp

primary
#A270F6
secondary
#E6F3CE
accent
#E50190
background
#FCF9FF
surface
#F8F2FF
border
#D1CCD7
text
#130E17
muted
#827E85

Preview Lab

Preview with #A270F6

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

Preview Lab → · Contrast checker → · Palette generator →

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