#A26CEF#A26CEF

#A26CEF is a light, vivid violet. Relative luminance 0.246; OKLCH L 64.7% C 0.191 H 300.1°. Best body text is #000000 at 5.93:1 contrast (WCAG AA passes).

Color values

HEX#A26CEF
RGBrgb(162, 108, 239)
HSLhsl(265, 80%, 68%)
HSVhsv(265, 55%, 94%)
CMYKcmyk(32.2%, 54.8%, 0%, 6.3%)
CIE-LABlab(56.72, 47.77, -58.42)
CIE-LCHlch(56.72, 75.46, 309.27°)
OKLaboklab(64.7% 0.0959 -0.1652)
OKLCHoklch(64.7% 0.191 300.1)
XYZxyz(35.8391, 24.6383, 84.5121)
Luminance0.2464 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A26CEF #B9EF6C
analogous
#6C77EF #A26CEF #E46CEF
triadic
#A26CEF #EFA26C #6CEFA2
tetradic
#A26CEF #EF6C77 #B9EF6C #6CEFE4
square
#A26CEF #EF6C77 #B9EF6C #6CEFE4
split-complementary
#A26CEF #EFE46C #77EF6C
monochromatic
#6016CB #7F35E9 #A26CEF #C5A3F5 #E8DAFB

Accessibility & contrast

On white

3.54
#A26CEF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.93
#A26CEF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A26CEF
5.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A26CEF#FFFFFF#000000##000000
##A26CEF1.003.545.935.93
#FFFFFF3.541.0021.0021.00
#0000005.9321.001.001.00
##0000005.9321.001.001.00

Color blindness preview

Protanopia (red-blind)
#3588F3
Deuteranopia (green-blind)
#4887EC
Tritanopia (blue-blind)
#9286A3
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #a26cef;
/* rgb */ color: rgb(162, 108, 239);
/* oklch */ color: oklch(64.7% 0.191 300.1);
Tailwind
colors: {
  custom: {
    50: '#c198f5',
    500: '#a26cef',
    950: '#000000',
  },
}
SCSS
$custom: #a26cef;
$custom-light: #c198f5;
$custom-dark: #000000;
JSON
{
  "hex": "#a26cef",
  "rgb": {
    "r": 162,
    "g": 108,
    "b": 239
  },
  "hsl": {
    "h": 264.733,
    "s": 80.368,
    "l": 68.039
  },
  "oklch": {
    "l": 0.64697,
    "c": 0.19101,
    "h": 300.1
  },
  "luminance": 0.24639
}

Semantic roles & 50–950 ramp

primary
#A26CEF
secondary
#DFEFC7
accent
#DD0985
background
#FCF9FF
surface
#F8F2FE
border
#D1CCD6
text
#130E17
muted
#827E85

Preview Lab

Preview with #A26CEF

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

Preview Lab → · Contrast checker → · Palette generator →

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