#A270FD#A270FD

#A270FD is a light, highly saturated violet. Relative luminance 0.264; OKLCH L 66.2% C 0.202 H 296.9°. Best body text is #000000 at 6.27:1 contrast (WCAG AA passes).

Color values

HEX#A270FD
RGBrgb(162, 112, 253)
HSLhsl(261, 97%, 72%)
HSVhsv(261, 56%, 99%)
CMYKcmyk(36%, 55.7%, 0%, 0.8%)
CIE-LABlab(58.38, 49.10, -63.52)
CIE-LCHlch(58.38, 80.29, 307.70°)
OKLaboklab(66.18% 0.0913 -0.1802)
OKLCHoklch(66.18% 0.202 296.9)
XYZxyz(38.4196, 26.3610, 95.9735)
Luminance0.2636 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A270FD #CBFD70
analogous
#7085FD #A270FD #E970FD
triadic
#A270FD #FDA270 #70FDA2
tetradic
#A270FD #FD7085 #CBFD70 #70FDE9
square
#A270FD #FD7085 #CBFD70 #70FDE9
split-complementary
#A270FD #FDE970 #85FD70
monochromatic
#5703EF #7B34FC #A270FD #C9ACFE #EBE1FF

Accessibility & contrast

On white

3.35
#A270FD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.27
#A270FD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A270FD
6.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A270FD#FFFFFF#000000##000000
##A270FD1.003.356.276.27
#FFFFFF3.351.0021.0021.00
#0000006.2721.001.001.00
##0000006.2721.001.001.00

Color blindness preview

Protanopia (red-blind)
#2B8DFF
Deuteranopia (green-blind)
#3E8BFA
Tritanopia (blue-blind)
#8D8DAC
Achromatopsia (no color)
#8C8C8C

Design tokens & code

CSS
--color: #a270fd;
/* rgb */ color: rgb(162, 112, 253);
/* oklch */ color: oklch(66.2% 0.202 296.9);
Tailwind
colors: {
  custom: {
    50: '#c29bff',
    500: '#a270fd',
    950: '#000000',
  },
}
SCSS
$custom: #a270fd;
$custom-light: #c29bff;
$custom-dark: #000000;
JSON
{
  "hex": "#a270fd",
  "rgb": {
    "r": 162,
    "g": 112,
    "b": 253
  },
  "hsl": {
    "h": 261.277,
    "s": 97.241,
    "l": 71.569
  },
  "oklch": {
    "l": 0.66183,
    "c": 0.202,
    "h": 296.9
  },
  "luminance": 0.26362
}

Semantic roles & 50–950 ramp

primary
#A270FD
secondary
#EAF7D2
accent
#E60094
background
#FCF9FF
surface
#F8F2FF
border
#D1CCD7
text
#130E18
muted
#827E86

Preview Lab

Preview with #A270FD

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

Preview Lab → · Contrast checker → · Palette generator →

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