#A26FE7#A26FE7

#A26FE7 is a light, vivid violet. Relative luminance 0.248; OKLCH L 64.7% C 0.177 H 301.2°. Best body text is #000000 at 5.96:1 contrast (WCAG AA passes).

Color values

HEX#A26FE7
RGBrgb(162, 111, 231)
HSLhsl(266, 71%, 67%)
HSVhsv(266, 52%, 91%)
CMYKcmyk(29.9%, 51.9%, 0%, 9.4%)
CIE-LABlab(56.90, 44.18, -53.67)
CIE-LCHlch(56.90, 69.52, 309.46°)
OKLaboklab(64.68% 0.0918 -0.1513)
OKLCHoklch(64.68% 0.177 301.2)
XYZxyz(35.0052, 24.8197, 78.5323)
Luminance0.2482 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A26FE7 #B4E76F
analogous
#6F78E7 #A26FE7 #DE6FE7
triadic
#A26FE7 #E7A26F #6FE7A2
tetradic
#A26FE7 #E76F78 #B4E76F #6FE7DE
square
#A26FE7 #E76F78 #B4E76F #6FE7DE
split-complementary
#A26FE7 #E7DE6F #78E76F
monochromatic
#621FBC #803BDE #A26FE7 #C4A3F0 #E6D8F8

Accessibility & contrast

On white

3.52
#A26FE7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.96
#A26FE7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A26FE7
5.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A26FE7#FFFFFF#000000##000000
##A26FE71.003.525.965.96
#FFFFFF3.521.0021.0021.00
#0000005.9621.001.001.00
##0000005.9621.001.001.00

Color blindness preview

Protanopia (red-blind)
#4488EB
Deuteranopia (green-blind)
#5388E4
Tritanopia (blue-blind)
#9586A1
Achromatopsia (no color)
#898989

Design tokens & code

CSS
--color: #a26fe7;
/* rgb */ color: rgb(162, 111, 231);
/* oklch */ color: oklch(64.7% 0.177 301.2);
Tailwind
colors: {
  custom: {
    50: '#c19aef',
    500: '#a26fe7',
    950: '#000000',
  },
}
SCSS
$custom: #a26fe7;
$custom-light: #c19aef;
$custom-dark: #000000;
JSON
{
  "hex": "#a26fe7",
  "rgb": {
    "r": 162,
    "g": 111,
    "b": 231
  },
  "hsl": {
    "h": 265.5,
    "s": 71.429,
    "l": 67.059
  },
  "oklch": {
    "l": 0.64682,
    "c": 0.17694,
    "h": 301.2
  },
  "luminance": 0.2482
}

Semantic roles & 50–950 ramp

primary
#A26FE7
secondary
#DCECC6
accent
#D31281
background
#FCF9FE
surface
#F8F2FD
border
#D1CCD5
text
#130E16
muted
#827E84

Preview Lab

Preview with #A26FE7

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

Preview Lab → · Contrast checker → · Palette generator →

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