#A274E2#A274E2

#A274E2 is a light, vivid violet. Relative luminance 0.257; OKLCH L 65.2% C 0.163 H 301.3°. Best body text is #000000 at 6.13:1 contrast (WCAG AA passes).

Color values

HEX#A274E2
RGBrgb(162, 116, 226)
HSLhsl(265, 65%, 67%)
HSVhsv(265, 49%, 89%)
CMYKcmyk(28.3%, 48.7%, 0%, 11.4%)
CIE-LABlab(57.72, 40.20, -49.58)
CIE-LCHlch(57.72, 63.82, 309.04°)
OKLaboklab(65.2% 0.0848 -0.1393)
OKLCHoklch(65.2% 0.163 301.3)
XYZxyz(34.8700, 25.6630, 75.0532)
Luminance0.2566 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A274E2 #B4E274
analogous
#747DE2 #A274E2 #D974E2
triadic
#A274E2 #E2A274 #74E2A2
tetradic
#A274E2 #E2747D #B4E274 #74E2D9
square
#A274E2 #E2747D #B4E274 #74E2D9
split-complementary
#A274E2 #E2D974 #7DE274
monochromatic
#6226B6 #8041D7 #A274E2 #C4A7ED #E6D9F7

Accessibility & contrast

On white

3.42
#A274E2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.13
#A274E2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A274E2
6.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A274E2#FFFFFF#000000##000000
##A274E21.003.426.136.13
#FFFFFF3.421.0021.0021.00
#0000006.1321.001.001.00
##0000006.1321.001.001.00

Color blindness preview

Protanopia (red-blind)
#518AE6
Deuteranopia (green-blind)
#5D8ADF
Tritanopia (blue-blind)
#9688A0
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #a274e2;
/* rgb */ color: rgb(162, 116, 226);
/* oklch */ color: oklch(65.2% 0.163 301.3);
Tailwind
colors: {
  custom: {
    50: '#c09deb',
    500: '#a274e2',
    950: '#000000',
  },
}
SCSS
$custom: #a274e2;
$custom-light: #c09deb;
$custom-dark: #000000;
JSON
{
  "hex": "#a274e2",
  "rgb": {
    "r": 162,
    "g": 116,
    "b": 226
  },
  "hsl": {
    "h": 265.091,
    "s": 65.476,
    "l": 67.059
  },
  "oklch": {
    "l": 0.65202,
    "c": 0.1631,
    "h": 301.3
  },
  "luminance": 0.25663
}

Semantic roles & 50–950 ramp

primary
#A274E2
secondary
#DCEAC7
accent
#CD1882
background
#FCF9FE
surface
#F8F2FD
border
#D1CCD5
text
#120E16
muted
#817E84

Preview Lab

Preview with #A274E2

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

Preview Lab → · Contrast checker → · Palette generator →

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