#A26AFA#A26AFA

#A26AFA is a light, highly saturated violet. Relative luminance 0.249; OKLCH L 65.1% C 0.207 H 298.4°. Best body text is #000000 at 5.98:1 contrast (WCAG AA passes).

Color values

HEX#A26AFA
RGBrgb(162, 106, 250)
HSLhsl(263, 94%, 70%)
HSVhsv(263, 58%, 98%)
CMYKcmyk(35.2%, 57.6%, 0%, 2%)
CIE-LABlab(56.97, 51.56, -64.13)
CIE-LCHlch(56.97, 82.29, 308.80°)
OKLaboklab(65.09% 0.0984 -0.182)
OKLCHoklch(65.09% 0.207 298.4)
XYZxyz(37.3054, 24.8911, 93.2630)
Luminance0.2489 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A26AFA #C2FA6A
analogous
#6A7AFA #A26AFA #EA6AFA
triadic
#A26AFA #FAA26A #6AFAA2
tetradic
#A26AFA #FA6A7A #C2FA6A #6AFAEA
square
#A26AFA #FA6A7A #C2FA6A #6AFAEA
split-complementary
#A26AFA #FAEA6A #7AFA6A
monochromatic
#5D08E2 #7D2FF8 #A26AFA #C7A5FC #ECE0FE

Accessibility & contrast

On white

3.51
#A26AFA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.98
#A26AFA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A26AFA
5.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A26AFA#FFFFFF#000000##000000
##A26AFA1.003.515.985.98
#FFFFFF3.511.0021.0021.00
#0000005.9821.001.001.00
##0000005.9821.001.001.00

Color blindness preview

Protanopia (red-blind)
#1B89FF
Deuteranopia (green-blind)
#3787F7
Tritanopia (blue-blind)
#8E88A8
Achromatopsia (no color)
#898989

Design tokens & code

CSS
--color: #a26afa;
/* rgb */ color: rgb(162, 106, 250);
/* oklch */ color: oklch(65.1% 0.207 298.4);
Tailwind
colors: {
  custom: {
    50: '#c297fd',
    500: '#a26afa',
    950: '#000000',
  },
}
SCSS
$custom: #a26afa;
$custom-light: #c297fd;
$custom-dark: #000000;
JSON
{
  "hex": "#a26afa",
  "rgb": {
    "r": 162,
    "g": 106,
    "b": 250
  },
  "hsl": {
    "h": 263.333,
    "s": 93.506,
    "l": 69.804
  },
  "oklch": {
    "l": 0.6509,
    "c": 0.20686,
    "h": 298.4
  },
  "luminance": 0.24892
}

Semantic roles & 50–950 ramp

primary
#A26AFA
secondary
#E4F4CC
accent
#E6008C
background
#FCF9FF
surface
#F8F2FF
border
#D1CCD7
text
#130E18
muted
#827E86

Preview Lab

Preview with #A26AFA

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

Preview Lab → · Contrast checker → · Palette generator →

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