#A26CE4#A26CE4

#A26CE4 is a light, vivid violet. Relative luminance 0.240; OKLCH L 64.0% C 0.178 H 302.4°. Best body text is #000000 at 5.80:1 contrast (WCAG AA passes).

Color values

HEX#A26CE4
RGBrgb(162, 108, 228)
HSLhsl(267, 69%, 66%)
HSVhsv(267, 53%, 89%)
CMYKcmyk(28.9%, 52.6%, 0%, 10.6%)
CIE-LABlab(56.10, 45.09, -53.27)
CIE-LCHlch(56.10, 69.80, 310.25°)
OKLaboklab(64.03% 0.0954 -0.1501)
OKLCHoklch(64.03% 0.178 302.4)
XYZxyz(34.2633, 24.0079, 76.2127)
Luminance0.2401 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A26CE4 #AEE46C
analogous
#6C72E4 #A26CE4 #DE6CE4
triadic
#A26CE4 #E4A26C #6CE4A2
tetradic
#A26CE4 #E46C72 #AEE46C #6CE4DE
square
#A26CE4 #E46C72 #AEE46C #6CE4DE
split-complementary
#A26CE4 #E4DE6C #72E46C
monochromatic
#6321B4 #8138DB #A26CE4 #C3A0ED #E3D3F7

Accessibility & contrast

On white

3.62
#A26CE4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.80
#A26CE4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A26CE4
5.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A26CE4#FFFFFF#000000##000000
##A26CE41.003.625.805.80
#FFFFFF3.621.0021.0021.00
#0000005.8021.001.001.00
##0000005.8021.001.001.00

Color blindness preview

Protanopia (red-blind)
#4285E8
Deuteranopia (green-blind)
#5286E1
Tritanopia (blue-blind)
#96839E
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #a26ce4;
/* rgb */ color: rgb(162, 108, 228);
/* oklch */ color: oklch(64.0% 0.178 302.4);
Tailwind
colors: {
  custom: {
    50: '#c198ed',
    500: '#a26ce4',
    950: '#000000',
  },
}
SCSS
$custom: #a26ce4;
$custom-light: #c198ed;
$custom-dark: #000000;
JSON
{
  "hex": "#a26ce4",
  "rgb": {
    "r": 162,
    "g": 108,
    "b": 228
  },
  "hsl": {
    "h": 267,
    "s": 68.966,
    "l": 65.882
  },
  "oklch": {
    "l": 0.64034,
    "c": 0.17787,
    "h": 302.4
  },
  "luminance": 0.24008
}

Semantic roles & 50–950 ramp

primary
#A26CE4
secondary
#D8EAC2
accent
#D1157C
background
#FCF9FE
surface
#F8F2FD
border
#D1CCD5
text
#130E16
muted
#827E84

Preview Lab

Preview with #A26CE4

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

Preview Lab → · Contrast checker → · Palette generator →

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