#A264E2#A264E2

#A264E2 is a light, vivid violet. Relative luminance 0.223; OKLCH L 62.7% C 0.188 H 304.2°. Best body text is #000000 at 5.46:1 contrast (WCAG AA passes).

Color values

HEX#A264E2
RGBrgb(162, 100, 226)
HSLhsl(270, 68%, 64%)
HSVhsv(270, 56%, 89%)
CMYKcmyk(28.3%, 55.8%, 0%, 11.4%)
CIE-LABlab(54.33, 48.92, -54.97)
CIE-LCHlch(54.33, 73.59, 311.67°)
OKLaboklab(62.7% 0.1055 -0.1551)
OKLCHoklch(62.7% 0.188 304.2)
XYZxyz(33.1819, 22.2868, 74.4905)
Luminance0.2229 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A264E2 #A4E264
analogous
#6465E2 #A264E2 #E164E2
triadic
#A264E2 #E2A264 #64E2A2
tetradic
#A264E2 #E26465 #A4E264 #64E2E1
square
#A264E2 #E26465 #A4E264 #64E2E1
split-complementary
#A264E2 #E2E164 #65E264
monochromatic
#6520AC #8330D8 #A264E2 #C198EC #E0CBF5

Accessibility & contrast

On white

3.85
#A264E2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.46
#A264E2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A264E2
5.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A264E2#FFFFFF#000000##000000
##A264E21.003.855.465.46
#FFFFFF3.851.0021.0021.00
#0000005.4621.001.001.00
##0000005.4621.001.001.00

Color blindness preview

Protanopia (red-blind)
#3380E6
Deuteranopia (green-blind)
#4A82DF
Tritanopia (blue-blind)
#977C9A
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #a264e2;
/* rgb */ color: rgb(162, 100, 226);
/* oklch */ color: oklch(62.7% 0.188 304.2);
Tailwind
colors: {
  custom: {
    50: '#c192ec',
    500: '#a264e2',
    950: '#000000',
  },
}
SCSS
$custom: #a264e2;
$custom-light: #c192ec;
$custom-dark: #000000;
JSON
{
  "hex": "#a264e2",
  "rgb": {
    "r": 162,
    "g": 100,
    "b": 226
  },
  "hsl": {
    "h": 269.524,
    "s": 68.478,
    "l": 63.922
  },
  "oklch": {
    "l": 0.62696,
    "c": 0.18755,
    "h": 304.2
  },
  "luminance": 0.22287
}

Semantic roles & 50–950 ramp

primary
#A264E2
secondary
#D1E7BB
accent
#D01574
background
#FCF9FE
surface
#F8F1FD
border
#D1CBD5
text
#130D16
muted
#827E84

Preview Lab

Preview with #A264E2

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

Preview Lab → · Contrast checker → · Palette generator →

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