#A26CFE#A26CFE

#A26CFE is a light, highly saturated violet. Relative luminance 0.256; OKLCH L 65.6% C 0.209 H 297.4°. Best body text is #000000 at 6.11:1 contrast (WCAG AA passes).

Color values

HEX#A26CFE
RGBrgb(162, 108, 254)
HSLhsl(262, 99%, 71%)
HSVhsv(262, 57%, 100%)
CMYKcmyk(36.2%, 57.5%, 0%, 0.4%)
CIE-LABlab(57.62, 51.50, -65.30)
CIE-LCHlch(57.62, 83.16, 308.26°)
OKLaboklab(65.64% 0.096 -0.1854)
OKLCHoklch(65.64% 0.209 297.4)
XYZxyz(38.1477, 25.5617, 96.6708)
Luminance0.2556 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A26CFE #C8FE6C
analogous
#6C7FFE #A26CFE #EB6CFE
triadic
#A26CFE #FEA26C #6CFEA2
tetradic
#A26CFE #FE6C7F #C8FE6C #6CFEEB
square
#A26CFE #FE6C7F #C8FE6C #6CFEEB
split-complementary
#A26CFE #FEEB6C #7FFE6C
monochromatic
#5902EE #7C2FFE #A26CFE #C8A9FE #ECE1FF

Accessibility & contrast

On white

3.44
#A26CFE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.11
#A26CFE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A26CFE
6.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A26CFE#FFFFFF#000000##000000
##A26CFE1.003.446.116.11
#FFFFFF3.441.0021.0021.00
#0000006.1121.001.001.00
##0000006.1121.001.001.00

Color blindness preview

Protanopia (red-blind)
#198BFF
Deuteranopia (green-blind)
#3589FB
Tritanopia (blue-blind)
#8D8BAB
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #a26cfe;
/* rgb */ color: rgb(162, 108, 254);
/* oklch */ color: oklch(65.6% 0.209 297.4);
Tailwind
colors: {
  custom: {
    50: '#c298ff',
    500: '#a26cfe',
    950: '#000000',
  },
}
SCSS
$custom: #a26cfe;
$custom-light: #c298ff;
$custom-dark: #000000;
JSON
{
  "hex": "#a26cfe",
  "rgb": {
    "r": 162,
    "g": 108,
    "b": 254
  },
  "hsl": {
    "h": 262.192,
    "s": 98.649,
    "l": 70.98
  },
  "oklch": {
    "l": 0.65644,
    "c": 0.20878,
    "h": 297.4
  },
  "luminance": 0.25562
}

Semantic roles & 50–950 ramp

primary
#A26CFE
secondary
#E8F6CF
accent
#E60091
background
#FCF9FF
surface
#F8F2FF
border
#D1CCD7
text
#130E18
muted
#827E86

Preview Lab

Preview with #A26CFE

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

Preview Lab → · Contrast checker → · Palette generator →

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