#A264CB#A264CB

#A264CB is a mid, vivid violet. Relative luminance 0.211; OKLCH L 61.4% C 0.161 H 310.3°. Best body text is #000000 at 5.22:1 contrast (WCAG AA passes).

Color values

HEX#A264CB
RGBrgb(162, 100, 203)
HSLhsl(276, 50%, 59%)
HSVhsv(276, 51%, 80%)
CMYKcmyk(20.2%, 50.7%, 0%, 20.4%)
CIE-LABlab(53.07, 43.61, -43.94)
CIE-LCHlch(53.07, 61.91, 314.79°)
OKLaboklab(61.36% 0.1041 -0.1228)
OKLCHoklch(61.36% 0.161 310.3)
XYZxyz(30.2350, 21.1081, 58.9698)
Luminance0.2111 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A264CB #8DCB64
analogous
#6F64CB #A264CB #CB64C0
triadic
#A264CB #CBA264 #64CBA2
tetradic
#A264CB #CB6F64 #8DCB64 #64C0CB
square
#A264CB #CB6F64 #8DCB64 #64C0CB
split-complementary
#A264CB #C0CB64 #64CB6F
monochromatic
#632D87 #853DB5 #A264CB #BD92DA #D9C0EA

Accessibility & contrast

On white

4.02
#A264CB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.22
#A264CB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A264CB
5.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A264CB#FFFFFF#000000##000000
##A264CB1.004.025.225.22
#FFFFFF4.021.0021.0021.00
#0000005.2221.001.001.00
##0000005.2221.001.001.00

Color blindness preview

Protanopia (red-blind)
#497CCF
Deuteranopia (green-blind)
#5C80C8
Tritanopia (blue-blind)
#9D758E
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #a264cb;
/* rgb */ color: rgb(162, 100, 203);
/* oklch */ color: oklch(61.4% 0.161 310.3);
Tailwind
colors: {
  custom: {
    50: '#c092db',
    500: '#a264cb',
    950: '#000000',
  },
}
SCSS
$custom: #a264cb;
$custom-light: #c092db;
$custom-dark: #000000;
JSON
{
  "hex": "#a264cb",
  "rgb": {
    "r": 162,
    "g": 100,
    "b": 203
  },
  "hsl": {
    "h": 276.117,
    "s": 49.758,
    "l": 59.412
  },
  "oklch": {
    "l": 0.61356,
    "c": 0.16099,
    "h": 310.3
  },
  "luminance": 0.21108
}

Semantic roles & 50–950 ramp

primary
#A264CB
secondary
#C1D9B1
accent
#D94F86
background
#FCF9FD
surface
#F8F1FB
border
#D1CBD4
text
#120D15
muted
#817E83

Preview Lab

Preview with #A264CB

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

Preview Lab → · Contrast checker → · Palette generator →

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