#A274EA#A274EA

#A274EA is a light, vivid violet. Relative luminance 0.261; OKLCH L 65.7% C 0.173 H 299.6°. Best body text is #000000 at 6.22:1 contrast (WCAG AA passes).

Color values

HEX#A274EA
RGBrgb(162, 116, 234)
HSLhsl(263, 74%, 69%)
HSVhsv(263, 50%, 92%)
CMYKcmyk(30.8%, 50.4%, 0%, 8.2%)
CIE-LABlab(58.14, 42.16, -53.36)
CIE-LCHlch(58.14, 68.01, 308.31°)
OKLaboklab(65.66% 0.0855 -0.1504)
OKLCHoklch(65.66% 0.173 299.6)
XYZxyz(35.9934, 26.1124, 80.9699)
Luminance0.2611 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A274EA #BCEA74
analogous
#7481EA #A274EA #DD74EA
triadic
#A274EA #EAA274 #74EAA2
tetradic
#A274EA #EA7481 #BCEA74 #74EADD
square
#A274EA #EA7481 #BCEA74 #74EADD
split-complementary
#A274EA #EADD74 #81EA74
monochromatic
#5F1EC6 #7E3FE2 #A274EA #C6A9F2 #E9DEFA

Accessibility & contrast

On white

3.37
#A274EA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.22
#A274EA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A274EA
6.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A274EA#FFFFFF#000000##000000
##A274EA1.003.376.226.22
#FFFFFF3.371.0021.0021.00
#0000006.2221.001.001.00
##0000006.2221.001.001.00

Color blindness preview

Protanopia (red-blind)
#4B8CEE
Deuteranopia (green-blind)
#578BE7
Tritanopia (blue-blind)
#938AA4
Achromatopsia (no color)
#8C8C8C

Design tokens & code

CSS
--color: #a274ea;
/* rgb */ color: rgb(162, 116, 234);
/* oklch */ color: oklch(65.7% 0.173 299.6);
Tailwind
colors: {
  custom: {
    50: '#c19df1',
    500: '#a274ea',
    950: '#000000',
  },
}
SCSS
$custom: #a274ea;
$custom-light: #c19df1;
$custom-dark: #000000;
JSON
{
  "hex": "#a274ea",
  "rgb": {
    "r": 162,
    "g": 116,
    "b": 234
  },
  "hsl": {
    "h": 263.39,
    "s": 73.75,
    "l": 68.627
  },
  "oklch": {
    "l": 0.65659,
    "c": 0.17302,
    "h": 299.6
  },
  "luminance": 0.26113
}

Semantic roles & 50–950 ramp

primary
#A274EA
secondary
#E1EFCB
accent
#D61089
background
#FCF9FE
surface
#F8F2FD
border
#D1CCD5
text
#130E17
muted
#827E85

Preview Lab

Preview with #A274EA

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

Preview Lab → · Contrast checker → · Palette generator →

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