#A274EC#A274EC

#A274EC is a light, vivid violet. Relative luminance 0.262; OKLCH L 65.8% C 0.175 H 299.2°. Best body text is #000000 at 6.25:1 contrast (WCAG AA passes).

Color values

HEX#A274EC
RGBrgb(162, 116, 236)
HSLhsl(263, 76%, 69%)
HSVhsv(263, 51%, 93%)
CMYKcmyk(31.4%, 50.8%, 0%, 7.5%)
CIE-LABlab(58.25, 42.65, -54.30)
CIE-LCHlch(58.25, 69.05, 308.15°)
OKLaboklab(65.78% 0.0857 -0.1531)
OKLCHoklch(65.78% 0.175 299.2)
XYZxyz(36.2824, 26.2280, 82.4916)
Luminance0.2623 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A274EC #BEEC74
analogous
#7482EC #A274EC #DE74EC
triadic
#A274EC #ECA274 #74ECA2
tetradic
#A274EC #EC7482 #BEEC74 #74ECDE
square
#A274EC #EC7482 #BEEC74 #74ECDE
split-complementary
#A274EC #ECDE74 #82EC74
monochromatic
#5E1CCA #7E3EE5 #A274EC #C6AAF3 #EAE0FB

Accessibility & contrast

On white

3.36
#A274EC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.25
#A274EC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A274EC
6.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A274EC#FFFFFF#000000##000000
##A274EC1.003.366.256.25
#FFFFFF3.361.0021.0021.00
#0000006.2521.001.001.00
##0000006.2521.001.001.00

Color blindness preview

Protanopia (red-blind)
#498CF0
Deuteranopia (green-blind)
#558BE9
Tritanopia (blue-blind)
#938BA5
Achromatopsia (no color)
#8C8C8C

Design tokens & code

CSS
--color: #a274ec;
/* rgb */ color: rgb(162, 116, 236);
/* oklch */ color: oklch(65.8% 0.175 299.2);
Tailwind
colors: {
  custom: {
    50: '#c19df3',
    500: '#a274ec',
    950: '#000000',
  },
}
SCSS
$custom: #a274ec;
$custom-light: #c19df3;
$custom-dark: #000000;
JSON
{
  "hex": "#a274ec",
  "rgb": {
    "r": 162,
    "g": 116,
    "b": 236
  },
  "hsl": {
    "h": 263,
    "s": 75.949,
    "l": 69.02
  },
  "oklch": {
    "l": 0.65776,
    "c": 0.17549,
    "h": 299.2
  },
  "luminance": 0.26228
}

Semantic roles & 50–950 ramp

primary
#A274EC
secondary
#E2EFCC
accent
#D80D8A
background
#FCF9FE
surface
#F8F2FD
border
#D1CCD5
text
#130E17
muted
#827E85

Preview Lab

Preview with #A274EC

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

Preview Lab → · Contrast checker → · Palette generator →

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