#A270CA#A270CA

#A270CA is a light, vivid violet. Relative luminance 0.235; OKLCH L 63.2% C 0.140 H 308.5°. Best body text is #000000 at 5.71:1 contrast (WCAG AA passes).

Color values

HEX#A270CA
RGBrgb(162, 112, 202)
HSLhsl(273, 46%, 62%)
HSVhsv(273, 45%, 79%)
CMYKcmyk(19.8%, 44.6%, 0%, 20.8%)
CIE-LABlab(55.62, 36.77, -39.35)
CIE-LCHlch(55.62, 53.86, 313.06°)
OKLaboklab(63.24% 0.0872 -0.1096)
OKLCHoklch(63.24% 0.14 308.5)
XYZxyz(31.3531, 23.5344, 58.7566)
Luminance0.2353 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A270CA #98CA70
analogous
#7570CA #A270CA #CA70C5
triadic
#A270CA #CAA270 #70CAA2
tetradic
#A270CA #CA7570 #98CA70 #70C5CA
square
#A270CA #CA7570 #98CA70 #70C5CA
split-complementary
#A270CA #C5CA70 #70CA75
monochromatic
#65348C #8544B8 #A270CA #BF9DDB #DCC9EB

Accessibility & contrast

On white

3.68
#A270CA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.71
#A270CA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A270CA
5.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A270CA#FFFFFF#000000##000000
##A270CA1.003.685.715.71
#FFFFFF3.681.0021.0021.00
#0000005.7121.001.001.00
##0000005.7121.001.001.00

Color blindness preview

Protanopia (red-blind)
#5B83CD
Deuteranopia (green-blind)
#6886C8
Tritanopia (blue-blind)
#9D7E93
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #a270ca;
/* rgb */ color: rgb(162, 112, 202);
/* oklch */ color: oklch(63.2% 0.140 308.5);
Tailwind
colors: {
  custom: {
    50: '#bf9ada',
    500: '#a270ca',
    950: '#000000',
  },
}
SCSS
$custom: #a270ca;
$custom-light: #bf9ada;
$custom-dark: #000000;
JSON
{
  "hex": "#a270ca",
  "rgb": {
    "r": 162,
    "g": 112,
    "b": 202
  },
  "hsl": {
    "h": 273.333,
    "s": 45.918,
    "l": 61.569
  },
  "oklch": {
    "l": 0.63241,
    "c": 0.13999,
    "h": 308.5
  },
  "luminance": 0.23534
}

Semantic roles & 50–950 ramp

primary
#A270CA
secondary
#C9DCBA
accent
#B92C6B
background
#FBF9FD
surface
#F7F2FB
border
#D0CCD4
text
#120E15
muted
#817E83

Preview Lab

Preview with #A270CA

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

Preview Lab → · Contrast checker → · Palette generator →

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