#A264CC#A264CC

#A264CC is a mid, vivid violet. Relative luminance 0.212; OKLCH L 61.4% C 0.162 H 310.0°. Best body text is #000000 at 5.23:1 contrast (WCAG AA passes).

Color values

HEX#A264CC
RGBrgb(162, 100, 204)
HSLhsl(276, 50%, 60%)
HSVhsv(276, 51%, 80%)
CMYKcmyk(20.6%, 51%, 0%, 20%)
CIE-LABlab(53.12, 43.84, -44.43)
CIE-LCHlch(53.12, 62.42, 314.62°)
OKLaboklab(61.41% 0.1042 -0.1243)
OKLCHoklch(61.41% 0.162 310)
XYZxyz(30.3545, 21.1559, 59.5995)
Luminance0.2115 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A264CC #8ECC64
analogous
#6E64CC #A264CC #CC64C2
triadic
#A264CC #CCA264 #64CCA2
tetradic
#A264CC #CC6E64 #8ECC64 #64C2CC
square
#A264CC #CC6E64 #8ECC64 #64C2CC
split-complementary
#A264CC #C2CC64 #64CC6E
monochromatic
#642D89 #853CB7 #A264CC #BE92DB #D9C0EA

Accessibility & contrast

On white

4.01
#A264CC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.23
#A264CC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A264CC
5.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A264CC#FFFFFF#000000##000000
##A264CC1.004.015.235.23
#FFFFFF4.011.0021.0021.00
#0000005.2321.001.001.00
##0000005.2321.001.001.00

Color blindness preview

Protanopia (red-blind)
#487CD0
Deuteranopia (green-blind)
#5B80C9
Tritanopia (blue-blind)
#9D758F
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #a264cc;
/* rgb */ color: rgb(162, 100, 204);
/* oklch */ color: oklch(61.4% 0.162 310.0);
Tailwind
colors: {
  custom: {
    50: '#c092dc',
    500: '#a264cc',
    950: '#000000',
  },
}
SCSS
$custom: #a264cc;
$custom-light: #c092dc;
$custom-dark: #000000;
JSON
{
  "hex": "#a264cc",
  "rgb": {
    "r": 162,
    "g": 100,
    "b": 204
  },
  "hsl": {
    "h": 275.769,
    "s": 50.485,
    "l": 59.608
  },
  "oklch": {
    "l": 0.61411,
    "c": 0.16214,
    "h": 310
  },
  "luminance": 0.21155
}

Semantic roles & 50–950 ramp

primary
#A264CC
secondary
#C2DAB2
accent
#DA4E86
background
#FCF9FD
surface
#F8F1FB
border
#D1CBD4
text
#120D15
muted
#817E83

Preview Lab

Preview with #A264CC

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

Preview Lab → · Contrast checker → · Palette generator →

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