#A264D4#A264D4

#A264D4 is a mid, vivid violet. Relative luminance 0.215; OKLCH L 61.9% C 0.171 H 307.7°. Best body text is #000000 at 5.31:1 contrast (WCAG AA passes).

Color values

HEX#A264D4
RGBrgb(162, 100, 212)
HSLhsl(273, 57%, 61%)
HSVhsv(273, 53%, 83%)
CMYKcmyk(23.6%, 52.8%, 0%, 16.9%)
CIE-LABlab(53.55, 45.66, -48.31)
CIE-LCHlch(53.55, 66.47, 313.38°)
OKLaboklab(61.87% 0.1048 -0.1356)
OKLCHoklch(61.87% 0.171 307.7)
XYZxyz(31.3387, 21.5496, 64.7831)
Luminance0.2155 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A264D4 #96D464
analogous
#6A64D4 #A264D4 #D464CE
triadic
#A264D4 #D4A264 #64D4A2
tetradic
#A264D4 #D46A64 #96D464 #64CED4
square
#A264D4 #D46A64 #96D464 #64CED4
split-complementary
#A264D4 #CED464 #64D46A
monochromatic
#652994 #8536C4 #A264D4 #BF94E1 #DBC4EF

Accessibility & contrast

On white

3.95
#A264D4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.31
#A264D4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A264D4
5.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A264D4#FFFFFF#000000##000000
##A264D41.003.955.315.31
#FFFFFF3.951.0021.0021.00
#0000005.3121.001.001.00
##0000005.3121.001.001.00

Color blindness preview

Protanopia (red-blind)
#427ED8
Deuteranopia (green-blind)
#5681D1
Tritanopia (blue-blind)
#9B7893
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #a264d4;
/* rgb */ color: rgb(162, 100, 212);
/* oklch */ color: oklch(61.9% 0.171 307.7);
Tailwind
colors: {
  custom: {
    50: '#c092e2',
    500: '#a264d4',
    950: '#000000',
  },
}
SCSS
$custom: #a264d4;
$custom-light: #c092e2;
$custom-dark: #000000;
JSON
{
  "hex": "#a264d4",
  "rgb": {
    "r": 162,
    "g": 100,
    "b": 212
  },
  "hsl": {
    "h": 273.214,
    "s": 56.566,
    "l": 61.176
  },
  "oklch": {
    "l": 0.61865,
    "c": 0.17137,
    "h": 307.7
  },
  "luminance": 0.21549
}

Semantic roles & 50–950 ramp

primary
#A264D4
secondary
#C8DFB5
accent
#C4216A
background
#FCF9FD
surface
#F8F1FB
border
#D1CBD4
text
#130D15
muted
#827E83

Preview Lab

Preview with #A264D4

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

Preview Lab → · Contrast checker → · Palette generator →

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