#A274EF#A274EF

#A274EF is a light, vivid violet. Relative luminance 0.264; OKLCH L 66.0% C 0.179 H 298.6°. Best body text is #000000 at 6.28:1 contrast (WCAG AA passes).

Color values

HEX#A274EF
RGBrgb(162, 116, 239)
HSLhsl(262, 79%, 70%)
HSVhsv(262, 51%, 94%)
CMYKcmyk(32.2%, 51.5%, 0%, 6.3%)
CIE-LABlab(58.42, 43.40, -55.71)
CIE-LCHlch(58.42, 70.62, 307.92°)
OKLaboklab(65.95% 0.0859 -0.1573)
OKLCHoklch(65.95% 0.179 298.6)
XYZxyz(36.7219, 26.4038, 84.8064)
Luminance0.2640 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A274EF #C1EF74
analogous
#7484EF #A274EF #E074EF
triadic
#A274EF #EFA274 #74EFA2
tetradic
#A274EF #EF7484 #C1EF74 #74EFE0
square
#A274EF #EF7484 #C1EF74 #74EFE0
split-complementary
#A274EF #EFE074 #84EF74
monochromatic
#5D18D1 #7D3DE9 #A274EF #C7ABF5 #EBE2FC

Accessibility & contrast

On white

3.34
#A274EF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.28
#A274EF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A274EF
6.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A274EF#FFFFFF#000000##000000
##A274EF1.003.346.286.28
#FFFFFF3.341.0021.0021.00
#0000006.2821.001.001.00
##0000006.2821.001.001.00

Color blindness preview

Protanopia (red-blind)
#468DF3
Deuteranopia (green-blind)
#538BEC
Tritanopia (blue-blind)
#928CA7
Achromatopsia (no color)
#8C8C8C

Design tokens & code

CSS
--color: #a274ef;
/* rgb */ color: rgb(162, 116, 239);
/* oklch */ color: oklch(66.0% 0.179 298.6);
Tailwind
colors: {
  custom: {
    50: '#c19df5',
    500: '#a274ef',
    950: '#000000',
  },
}
SCSS
$custom: #a274ef;
$custom-light: #c19df5;
$custom-dark: #000000;
JSON
{
  "hex": "#a274ef",
  "rgb": {
    "r": 162,
    "g": 116,
    "b": 239
  },
  "hsl": {
    "h": 262.439,
    "s": 79.355,
    "l": 69.608
  },
  "oklch": {
    "l": 0.65952,
    "c": 0.17919,
    "h": 298.6
  },
  "luminance": 0.26404
}

Semantic roles & 50–950 ramp

primary
#A274EF
secondary
#E4F1CE
accent
#DC0A8D
background
#FCF9FF
surface
#F8F2FE
border
#D1CCD6
text
#130E17
muted
#827E85

Preview Lab

Preview with #A274EF

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

Preview Lab → · Contrast checker → · Palette generator →

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