#A275EA#A275EA

#A275EA is a light, vivid violet. Relative luminance 0.263; OKLCH L 65.8% C 0.172 H 299.4°. Best body text is #000000 at 6.27:1 contrast (WCAG AA passes).

Color values

HEX#A275EA
RGBrgb(162, 117, 234)
HSLhsl(263, 74%, 69%)
HSVhsv(263, 50%, 92%)
CMYKcmyk(30.8%, 50%, 0%, 8.2%)
CIE-LABlab(58.36, 41.60, -53.01)
CIE-LCHlch(58.36, 67.39, 308.12°)
OKLaboklab(65.82% 0.0842 -0.1494)
OKLCHoklch(65.82% 0.172 299.4)
XYZxyz(36.1093, 26.3442, 81.0085)
Luminance0.2634 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A275EA #BDEA75
analogous
#7583EA #A275EA #DD75EA
triadic
#A275EA #EAA275 #75EAA2
tetradic
#A275EA #EA7583 #BDEA75 #75EADD
square
#A275EA #EA7583 #BDEA75 #75EADD
split-complementary
#A275EA #EADD75 #83EA75
monochromatic
#5F1EC6 #7E40E2 #A275EA #C6AAF2 #EADFFA

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##A275EA#FFFFFF#000000##000000
##A275EA1.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)
#4D8CEE
Deuteranopia (green-blind)
#588BE7
Tritanopia (blue-blind)
#938BA5
Achromatopsia (no color)
#8C8C8C

Design tokens & code

CSS
--color: #a275ea;
/* rgb */ color: rgb(162, 117, 234);
/* oklch */ color: oklch(65.8% 0.172 299.4);
Tailwind
colors: {
  custom: {
    50: '#c19ef1',
    500: '#a275ea',
    950: '#000000',
  },
}
SCSS
$custom: #a275ea;
$custom-light: #c19ef1;
$custom-dark: #000000;
JSON
{
  "hex": "#a275ea",
  "rgb": {
    "r": 162,
    "g": 117,
    "b": 234
  },
  "hsl": {
    "h": 263.077,
    "s": 73.585,
    "l": 68.824
  },
  "oklch": {
    "l": 0.65822,
    "c": 0.1715,
    "h": 299.4
  },
  "luminance": 0.26344
}

Semantic roles & 50–950 ramp

primary
#A275EA
secondary
#E1EFCC
accent
#D6108A
background
#FCF9FE
surface
#F8F2FD
border
#D1CCD5
text
#130E17
muted
#827E85

Preview Lab

Preview with #A275EA

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

Preview Lab → · Contrast checker → · Palette generator →

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