#A271FF#A271FF

#A271FF is a light, highly saturated violet. Relative luminance 0.267; OKLCH L 66.5% C 0.203 H 296.4°. Best body text is #000000 at 6.34:1 contrast (WCAG AA passes).

Color values

HEX#A271FF
RGBrgb(162, 113, 255)
HSLhsl(261, 100%, 72%)
HSVhsv(261, 56%, 100%)
CMYKcmyk(36.5%, 55.7%, 0%, 0%)
CIE-LABlab(58.71, 49.06, -64.10)
CIE-LCHlch(58.71, 80.72, 307.43°)
OKLaboklab(66.46% 0.0902 -0.1819)
OKLCHoklch(66.46% 0.203 296.4)
XYZxyz(38.8508, 26.7110, 97.6972)
Luminance0.2671 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A271FF #CEFF71
analogous
#7187FF #A271FF #E971FF
triadic
#A271FF #FFA271 #71FFA2
tetradic
#A271FF #FF7187 #CEFF71 #71FFE9
square
#A271FF #FF7187 #CEFF71 #71FFE9
split-complementary
#A271FF #FFE971 #87FF71
monochromatic
#5500F6 #7A34FF #A271FF #CAAEFF #EBE0FF

Accessibility & contrast

On white

3.31
#A271FF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.34
#A271FF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A271FF
6.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A271FF#FFFFFF#000000##000000
##A271FF1.003.316.346.34
#FFFFFF3.311.0021.0021.00
#0000006.3421.001.001.00
##0000006.3421.001.001.00

Color blindness preview

Protanopia (red-blind)
#2B8EFF
Deuteranopia (green-blind)
#3D8BFC
Tritanopia (blue-blind)
#8C8FAD
Achromatopsia (no color)
#8D8D8D

Design tokens & code

CSS
--color: #a271ff;
/* rgb */ color: rgb(162, 113, 255);
/* oklch */ color: oklch(66.5% 0.203 296.4);
Tailwind
colors: {
  custom: {
    50: '#c29bff',
    500: '#a271ff',
    950: '#000000',
  },
}
SCSS
$custom: #a271ff;
$custom-light: #c29bff;
$custom-dark: #000000;
JSON
{
  "hex": "#a271ff",
  "rgb": {
    "r": 162,
    "g": 113,
    "b": 255
  },
  "hsl": {
    "h": 260.704,
    "s": 100,
    "l": 72.157
  },
  "oklch": {
    "l": 0.66462,
    "c": 0.203,
    "h": 296.4
  },
  "luminance": 0.26712
}

Semantic roles & 50–950 ramp

primary
#A271FF
secondary
#EBF7D4
accent
#E60096
background
#FCF9FF
surface
#F8F2FF
border
#D1CCD7
text
#130E18
muted
#827E86

Preview Lab

Preview with #A271FF

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

Preview Lab → · Contrast checker → · Palette generator →

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