#A264F2#A264F2

#A264F2 is a light, highly saturated violet. Relative luminance 0.232; OKLCH L 63.7% C 0.206 H 300.8°. Best body text is #000000 at 5.64:1 contrast (WCAG AA passes).

Color values

HEX#A264F2
RGBrgb(162, 100, 242)
HSLhsl(266, 85%, 67%)
HSVhsv(266, 59%, 95%)
CMYKcmyk(33.1%, 58.7%, 0%, 5.1%)
CIE-LABlab(55.28, 52.76, -62.40)
CIE-LCHlch(55.28, 81.71, 310.21°)
OKLaboklab(63.7% 0.1055 -0.1769)
OKLCHoklch(63.7% 0.206 300.8)
XYZxyz(35.4807, 23.2063, 86.5972)
Luminance0.2321 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A264F2 #B4F264
analogous
#646DF2 #A264F2 #E964F2
triadic
#A264F2 #F2A264 #64F2A2
tetradic
#A264F2 #F2646D #B4F264 #64F2E9
square
#A264F2 #F2646D #B4F264 #64F2E9
split-complementary
#A264F2 #F2E964 #6DF264
monochromatic
#6211CB #802CED #A264F2 #C49CF7 #E6D5FB

Accessibility & contrast

On white

3.72
#A264F2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.64
#A264F2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A264F2
5.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A264F2#FFFFFF#000000##000000
##A264F21.003.725.645.64
#FFFFFF3.721.0021.0021.00
#0000005.6421.001.001.00
##0000005.6421.001.001.00

Color blindness preview

Protanopia (red-blind)
#1584F7
Deuteranopia (green-blind)
#3884EF
Tritanopia (blue-blind)
#9181A2
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #a264f2;
/* rgb */ color: rgb(162, 100, 242);
/* oklch */ color: oklch(63.7% 0.206 300.8);
Tailwind
colors: {
  custom: {
    50: '#c293f7',
    500: '#a264f2',
    950: '#000000',
  },
}
SCSS
$custom: #a264f2;
$custom-light: #c293f7;
$custom-dark: #000000;
JSON
{
  "hex": "#a264f2",
  "rgb": {
    "r": 162,
    "g": 100,
    "b": 242
  },
  "hsl": {
    "h": 266.197,
    "s": 84.524,
    "l": 67.059
  },
  "oklch": {
    "l": 0.63701,
    "c": 0.20596,
    "h": 300.8
  },
  "luminance": 0.23207
}

Semantic roles & 50–950 ramp

primary
#A264F2
secondary
#DCEFC2
accent
#E10581
background
#FCF9FF
surface
#F8F1FF
border
#D1CBD7
text
#130D17
muted
#827E85

Preview Lab

Preview with #A264F2

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

Preview Lab → · Contrast checker → · Palette generator →

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