#A270F9#A270F9

#A270F9 is a light, vivid violet. Relative luminance 0.261; OKLCH L 65.9% C 0.197 H 297.6°. Best body text is #000000 at 6.22:1 contrast (WCAG AA passes).

Color values

HEX#A270F9
RGBrgb(162, 112, 249)
HSLhsl(262, 92%, 71%)
HSVhsv(262, 55%, 98%)
CMYKcmyk(34.9%, 55%, 0%, 2.4%)
CIE-LABlab(58.14, 48.09, -61.70)
CIE-LCHlch(58.14, 78.22, 307.94°)
OKLaboklab(65.93% 0.0913 -0.1748)
OKLCHoklch(65.93% 0.197 297.6)
XYZxyz(37.7891, 26.1088, 92.6527)
Luminance0.2611 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A270F9 #C7F970
analogous
#7082F9 #A270F9 #E770F9
triadic
#A270F9 #F9A270 #70F9A2
tetradic
#A270F9 #F97082 #C7F970 #70F9E7
square
#A270F9 #F97082 #C7F970 #70F9E7
split-complementary
#A270F9 #F9E770 #82F970
monochromatic
#5A0AE5 #7C35F7 #A270F9 #C8ABFB #ECE2FE

Accessibility & contrast

On white

3.38
#A270F9 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.22
#A270F9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A270F9
6.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A270F9#FFFFFF#000000##000000
##A270F91.003.386.226.22
#FFFFFF3.381.0021.0021.00
#0000006.2221.001.001.00
##0000006.2221.001.001.00

Color blindness preview

Protanopia (red-blind)
#328CFE
Deuteranopia (green-blind)
#438AF6
Tritanopia (blue-blind)
#8E8CAA
Achromatopsia (no color)
#8C8C8C

Design tokens & code

CSS
--color: #a270f9;
/* rgb */ color: rgb(162, 112, 249);
/* oklch */ color: oklch(65.9% 0.197 297.6);
Tailwind
colors: {
  custom: {
    50: '#c29bfc',
    500: '#a270f9',
    950: '#000000',
  },
}
SCSS
$custom: #a270f9;
$custom-light: #c29bfc;
$custom-dark: #000000;
JSON
{
  "hex": "#a270f9",
  "rgb": {
    "r": 162,
    "g": 112,
    "b": 249
  },
  "hsl": {
    "h": 261.898,
    "s": 91.946,
    "l": 70.784
  },
  "oklch": {
    "l": 0.65931,
    "c": 0.19721,
    "h": 297.6
  },
  "luminance": 0.26109
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #A270F9

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

Preview Lab → · Contrast checker → · Palette generator →

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