#A264B4#A264B4

#A264B4 is a mid, vivid purple. Relative luminance 0.201; OKLCH L 60.2% C 0.135 H 318.4°. Best body text is #000000 at 5.02:1 contrast (WCAG AA passes).

Color values

HEX#A264B4
RGBrgb(162, 100, 180)
HSLhsl(287, 35%, 55%)
HSVhsv(287, 44%, 71%)
CMYKcmyk(10%, 44.4%, 0%, 29.4%)
CIE-LABlab(51.94, 38.63, -32.48)
CIE-LCHlch(51.94, 50.47, 319.94°)
OKLaboklab(60.15% 0.1008 -0.0897)
OKLCHoklch(60.15% 0.135 318.4)
XYZxyz(27.6946, 20.0919, 45.5904)
Luminance0.2009 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A264B4 #76B464
analogous
#7A64B4 #A264B4 #B4649E
triadic
#A264B4 #B4A264 #64B4A2
tetradic
#A264B4 #B47A64 #76B464 #649EB4
square
#A264B4 #B47A64 #76B464 #649EB4
split-complementary
#A264B4 #9EB464 #64B47A
monochromatic
#5E336A #824793 #A264B4 #BB8DC8 #D3B6DC

Accessibility & contrast

On white

4.18
#A264B4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.02
#A264B4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A264B4
5.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A264B4#FFFFFF#000000##000000
##A264B41.004.185.025.02
#FFFFFF4.181.0021.0021.00
#0000005.0221.001.001.00
##0000005.0221.001.001.00

Color blindness preview

Protanopia (red-blind)
#5778B7
Deuteranopia (green-blind)
#687EB2
Tritanopia (blue-blind)
#A26F83
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #a264b4;
/* rgb */ color: rgb(162, 100, 180);
/* oklch */ color: oklch(60.2% 0.135 318.4);
Tailwind
colors: {
  custom: {
    50: '#bf92ca',
    500: '#a264b4',
    950: '#000000',
  },
}
SCSS
$custom: #a264b4;
$custom-light: #bf92ca;
$custom-dark: #000000;
JSON
{
  "hex": "#a264b4",
  "rgb": {
    "r": 162,
    "g": 100,
    "b": 180
  },
  "hsl": {
    "h": 286.5,
    "s": 34.783,
    "l": 54.902
  },
  "oklch": {
    "l": 0.6015,
    "c": 0.13495,
    "h": 318.4
  },
  "luminance": 0.20091
}

Semantic roles & 50–950 ramp

primary
#A264B4
secondary
#B1CBA9
accent
#CB5D76
background
#FBF9FC
surface
#F7F1F8
border
#D0CBD1
text
#120D13
muted
#817E82

Preview Lab

Preview with #A264B4

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

Preview Lab → · Contrast checker → · Palette generator →

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