#A264B2#A264B2

#A264B2 is a mid, vivid purple. Relative luminance 0.200; OKLCH L 60.1% C 0.133 H 319.2°. Best body text is #000000 at 5.00:1 contrast (WCAG AA passes).

Color values

HEX#A264B2
RGBrgb(162, 100, 178)
HSLhsl(288, 34%, 55%)
HSVhsv(288, 44%, 70%)
CMYKcmyk(9%, 43.8%, 0%, 30.2%)
CIE-LABlab(51.85, 38.21, -31.47)
CIE-LCHlch(51.85, 49.50, 320.53°)
OKLaboklab(60.05% 0.1005 -0.0868)
OKLCHoklch(60.05% 0.133 319.2)
XYZxyz(27.4923, 20.0110, 44.5252)
Luminance0.2001 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A264B2 #74B264
analogous
#7B64B2 #A264B2 #B2649B
triadic
#A264B2 #B2A264 #64B2A2
tetradic
#A264B2 #B27B64 #74B264 #649BB2
square
#A264B2 #B27B64 #74B264 #649BB2
split-complementary
#A264B2 #9BB264 #64B27B
monochromatic
#5D3468 #824891 #A264B2 #BB8DC6 #D3B6DB

Accessibility & contrast

On white

4.20
#A264B2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.00
#A264B2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A264B2
5.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A264B2#FFFFFF#000000##000000
##A264B21.004.205.005.00
#FFFFFF4.201.0021.0021.00
#0000005.0021.001.001.00
##0000005.0021.001.001.00

Color blindness preview

Protanopia (red-blind)
#5877B5
Deuteranopia (green-blind)
#697EB0
Tritanopia (blue-blind)
#A36E83
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #a264b2;
/* rgb */ color: rgb(162, 100, 178);
/* oklch */ color: oklch(60.1% 0.133 319.2);
Tailwind
colors: {
  custom: {
    50: '#bf92c9',
    500: '#a264b2',
    950: '#000000',
  },
}
SCSS
$custom: #a264b2;
$custom-light: #bf92c9;
$custom-dark: #000000;
JSON
{
  "hex": "#a264b2",
  "rgb": {
    "r": 162,
    "g": 100,
    "b": 178
  },
  "hsl": {
    "h": 287.692,
    "s": 33.621,
    "l": 54.51
  },
  "oklch": {
    "l": 0.60051,
    "c": 0.13275,
    "h": 319.2
  },
  "luminance": 0.2001
}

Semantic roles & 50–950 ramp

primary
#A264B2
secondary
#AFC9A8
accent
#CA5E74
background
#FBF9FC
surface
#F7F1F8
border
#D0CBD1
text
#120D13
muted
#817E82

Preview Lab

Preview with #A264B2

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

Preview Lab → · Contrast checker → · Palette generator →

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