#A264EC#A264EC

#A264EC is a light, vivid violet. Relative luminance 0.229; OKLCH L 63.3% C 0.199 H 302.0°. Best body text is #000000 at 5.57:1 contrast (WCAG AA passes).

Color values

HEX#A264EC
RGBrgb(162, 100, 236)
HSLhsl(267, 78%, 66%)
HSVhsv(267, 58%, 93%)
CMYKcmyk(31.4%, 57.6%, 0%, 7.5%)
CIE-LABlab(54.92, 51.31, -59.63)
CIE-LCHlch(54.92, 78.67, 310.71°)
OKLaboklab(63.32% 0.1056 -0.1687)
OKLCHoklch(63.32% 0.199 302)
XYZxyz(34.5943, 22.8518, 81.9289)
Luminance0.2285 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A264EC #AEEC64
analogous
#646AEC #A264EC #E664EC
triadic
#A264EC #ECA264 #64ECA2
tetradic
#A264EC #EC646A #AEEC64 #64ECE6
square
#A264EC #EC646A #AEEC64 #64ECE6
split-complementary
#A264EC #ECE664 #6AEC64
monochromatic
#6317BE #812DE5 #A264EC #C39BF3 #E3D1F9

Accessibility & contrast

On white

3.77
#A264EC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.57
#A264EC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A264EC
5.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A264EC#FFFFFF#000000##000000
##A264EC1.003.775.575.57
#FFFFFF3.771.0021.0021.00
#0000005.5721.001.001.00
##0000005.5721.001.001.00

Color blindness preview

Protanopia (red-blind)
#2482F0
Deuteranopia (green-blind)
#4083E9
Tritanopia (blue-blind)
#93809F
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #a264ec;
/* rgb */ color: rgb(162, 100, 236);
/* oklch */ color: oklch(63.3% 0.199 302.0);
Tailwind
colors: {
  custom: {
    50: '#c292f3',
    500: '#a264ec',
    950: '#000000',
  },
}
SCSS
$custom: #a264ec;
$custom-light: #c292f3;
$custom-dark: #000000;
JSON
{
  "hex": "#a264ec",
  "rgb": {
    "r": 162,
    "g": 100,
    "b": 236
  },
  "hsl": {
    "h": 267.353,
    "s": 78.161,
    "l": 65.882
  },
  "oklch": {
    "l": 0.63317,
    "c": 0.19907,
    "h": 302
  },
  "luminance": 0.22852
}

Semantic roles & 50–950 ramp

primary
#A264EC
secondary
#D8ECBF
accent
#DA0B7C
background
#FCF9FE
surface
#F8F1FD
border
#D1CBD5
text
#130D17
muted
#827E85

Preview Lab

Preview with #A264EC

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

Preview Lab → · Contrast checker → · Palette generator →

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