#A270FC#A270FC

#A270FC is a light, highly saturated violet. Relative luminance 0.263; OKLCH L 66.1% C 0.201 H 297.0°. Best body text is #000000 at 6.26:1 contrast (WCAG AA passes).

Color values

HEX#A270FC
RGBrgb(162, 112, 252)
HSLhsl(261, 96%, 71%)
HSVhsv(261, 56%, 99%)
CMYKcmyk(35.7%, 55.6%, 0%, 1.2%)
CIE-LABlab(58.32, 48.85, -63.07)
CIE-LCHlch(58.32, 79.77, 307.76°)
OKLaboklab(66.12% 0.0913 -0.1788)
OKLCHoklch(66.12% 0.201 297)
XYZxyz(38.2607, 26.2974, 95.1367)
Luminance0.2630 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A270FC #CAFC70
analogous
#7084FC #A270FC #E870FC
triadic
#A270FC #FCA270 #70FCA2
tetradic
#A270FC #FC7084 #CAFC70 #70FCE8
square
#A270FC #FC7084 #CAFC70 #70FCE8
split-complementary
#A270FC #FCE870 #84FC70
monochromatic
#5805ED #7B34FB #A270FC #C9ACFD #ECE1FE

Accessibility & contrast

On white

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

On black

6.26
#A270FC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A270FC
6.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A270FC#FFFFFF#000000##000000
##A270FC1.003.356.266.26
#FFFFFF3.351.0021.0021.00
#0000006.2621.001.001.00
##0000006.2621.001.001.00

Color blindness preview

Protanopia (red-blind)
#2D8DFF
Deuteranopia (green-blind)
#3F8BF9
Tritanopia (blue-blind)
#8D8DAB
Achromatopsia (no color)
#8C8C8C

Design tokens & code

CSS
--color: #a270fc;
/* rgb */ color: rgb(162, 112, 252);
/* oklch */ color: oklch(66.1% 0.201 297.0);
Tailwind
colors: {
  custom: {
    50: '#c29bfe',
    500: '#a270fc',
    950: '#000000',
  },
}
SCSS
$custom: #a270fc;
$custom-light: #c29bfe;
$custom-dark: #000000;
JSON
{
  "hex": "#a270fc",
  "rgb": {
    "r": 162,
    "g": 112,
    "b": 252
  },
  "hsl": {
    "h": 261.429,
    "s": 95.89,
    "l": 71.373
  },
  "oklch": {
    "l": 0.66119,
    "c": 0.20081,
    "h": 297
  },
  "luminance": 0.26298
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #A270FC

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

Preview Lab → · Contrast checker → · Palette generator →

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