#A26FE6#A26FE6

#A26FE6 is a light, vivid violet. Relative luminance 0.248; OKLCH L 64.6% C 0.176 H 301.4°. Best body text is #000000 at 5.95:1 contrast (WCAG AA passes).

Color values

HEX#A26FE6
RGBrgb(162, 111, 230)
HSLhsl(266, 70%, 67%)
HSVhsv(266, 52%, 90%)
CMYKcmyk(29.6%, 51.7%, 0%, 9.8%)
CIE-LABlab(56.84, 43.94, -53.20)
CIE-LCHlch(56.84, 69.00, 309.55°)
OKLaboklab(64.62% 0.0917 -0.1499)
OKLCHoklch(64.62% 0.176 301.4)
XYZxyz(34.8644, 24.7633, 77.7906)
Luminance0.2476 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A26FE6 #B3E66F
analogous
#6F78E6 #A26FE6 #DD6FE6
triadic
#A26FE6 #E6A26F #6FE6A2
tetradic
#A26FE6 #E66F78 #B3E66F #6FE6DD
square
#A26FE6 #E66F78 #B3E66F #6FE6DD
split-complementary
#A26FE6 #E6DD6F #78E66F
monochromatic
#6220BA #803BDD #A26FE6 #C4A3EF #E5D7F8

Accessibility & contrast

On white

3.53
#A26FE6 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.95
#A26FE6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A26FE6
5.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A26FE6#FFFFFF#000000##000000
##A26FE61.003.535.955.95
#FFFFFF3.531.0021.0021.00
#0000005.9521.001.001.00
##0000005.9521.001.001.00

Color blindness preview

Protanopia (red-blind)
#4588EA
Deuteranopia (green-blind)
#5488E3
Tritanopia (blue-blind)
#9585A0
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #a26fe6;
/* rgb */ color: rgb(162, 111, 230);
/* oklch */ color: oklch(64.6% 0.176 301.4);
Tailwind
colors: {
  custom: {
    50: '#c19aee',
    500: '#a26fe6',
    950: '#000000',
  },
}
SCSS
$custom: #a26fe6;
$custom-light: #c19aee;
$custom-dark: #000000;
JSON
{
  "hex": "#a26fe6",
  "rgb": {
    "r": 162,
    "g": 111,
    "b": 230
  },
  "hsl": {
    "h": 265.714,
    "s": 70.414,
    "l": 66.863
  },
  "oklch": {
    "l": 0.64624,
    "c": 0.17572,
    "h": 301.4
  },
  "luminance": 0.24763
}

Semantic roles & 50–950 ramp

primary
#A26FE6
secondary
#DBEBC5
accent
#D21380
background
#FCF9FE
surface
#F8F2FD
border
#D1CCD5
text
#130E16
muted
#827E84

Preview Lab

Preview with #A26FE6

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

Preview Lab → · Contrast checker → · Palette generator →

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