#A26DF7#A26DF7

#A26DF7 is a light, vivid violet. Relative luminance 0.253; OKLCH L 65.3% C 0.199 H 298.4°. Best body text is #000000 at 6.07:1 contrast (WCAG AA passes).

Color values

HEX#A26DF7
RGBrgb(162, 109, 247)
HSLhsl(263, 90%, 70%)
HSVhsv(263, 56%, 97%)
CMYKcmyk(34.4%, 55.9%, 0%, 3.1%)
CIE-LABlab(57.40, 49.21, -61.78)
CIE-LCHlch(57.40, 78.98, 308.54°)
OKLaboklab(65.35% 0.0948 -0.1751)
OKLCHoklch(65.35% 0.199 298.4)
XYZxyz(37.1533, 25.3336, 90.9101)
Luminance0.2533 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A26DF7 #C2F76D
analogous
#6D7DF7 #A26DF7 #E76DF7
triadic
#A26DF7 #F7A26D #6DF7A2
tetradic
#A26DF7 #F76D7D #C2F76D #6DF7E7
square
#A26DF7 #F76D7D #C2F76D #6DF7E7
split-complementary
#A26DF7 #F7E76D #7DF76D
monochromatic
#5D0CDD #7D33F4 #A26DF7 #C7A7FA #ECE1FD

Accessibility & contrast

On white

3.46
#A26DF7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.07
#A26DF7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A26DF7
6.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A26DF7#FFFFFF#000000##000000
##A26DF71.003.466.076.07
#FFFFFF3.461.0021.0021.00
#0000006.0721.001.001.00
##0000006.0721.001.001.00

Color blindness preview

Protanopia (red-blind)
#2C8AFC
Deuteranopia (green-blind)
#4188F4
Tritanopia (blue-blind)
#8F89A8
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #a26df7;
/* rgb */ color: rgb(162, 109, 247);
/* oklch */ color: oklch(65.3% 0.199 298.4);
Tailwind
colors: {
  custom: {
    50: '#c299fb',
    500: '#a26df7',
    950: '#000000',
  },
}
SCSS
$custom: #a26df7;
$custom-light: #c299fb;
$custom-dark: #000000;
JSON
{
  "hex": "#a26df7",
  "rgb": {
    "r": 162,
    "g": 109,
    "b": 247
  },
  "hsl": {
    "h": 263.043,
    "s": 89.61,
    "l": 69.804
  },
  "oklch": {
    "l": 0.65347,
    "c": 0.1991,
    "h": 298.4
  },
  "luminance": 0.25334
}

Semantic roles & 50–950 ramp

primary
#A26DF7
secondary
#E4F3CC
accent
#E6008D
background
#FCF9FF
surface
#F8F2FF
border
#D1CCD7
text
#130E17
muted
#827E85

Preview Lab

Preview with #A26DF7

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

Preview Lab → · Contrast checker → · Palette generator →

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