#A26DEC#A26DEC

#A26DEC is a light, vivid violet. Relative luminance 0.247; OKLCH L 64.7% C 0.186 H 300.6°. Best body text is #000000 at 5.94:1 contrast (WCAG AA passes).

Color values

HEX#A26DEC
RGBrgb(162, 109, 236)
HSLhsl(265, 77%, 68%)
HSVhsv(265, 54%, 93%)
CMYKcmyk(31.4%, 53.8%, 0%, 7.5%)
CIE-LABlab(56.76, 46.49, -56.69)
CIE-LCHlch(56.76, 73.32, 309.36°)
OKLaboklab(64.67% 0.0946 -0.1601)
OKLCHoklch(64.67% 0.186 300.6)
XYZxyz(35.5057, 24.6746, 82.2327)
Luminance0.2467 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A26DEC #B7EC6D
analogous
#6D78EC #A26DEC #E16DEC
triadic
#A26DEC #ECA26D #6DECA2
tetradic
#A26DEC #EC6D78 #B7EC6D #6DECE1
square
#A26DEC #EC6D78 #B7EC6D #6DECE1
split-complementary
#A26DEC #ECE16D #78EC6D
monochromatic
#611AC5 #8037E5 #A26DEC #C4A3F3 #E7D9FA

Accessibility & contrast

On white

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

On black

5.94
#A26DEC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A26DEC
5.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A26DEC#FFFFFF#000000##000000
##A26DEC1.003.545.945.94
#FFFFFF3.541.0021.0021.00
#0000005.9421.001.001.00
##0000005.9421.001.001.00

Color blindness preview

Protanopia (red-blind)
#3B88F0
Deuteranopia (green-blind)
#4C87E9
Tritanopia (blue-blind)
#9386A2
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #a26dec;
/* rgb */ color: rgb(162, 109, 236);
/* oklch */ color: oklch(64.7% 0.186 300.6);
Tailwind
colors: {
  custom: {
    50: '#c198f3',
    500: '#a26dec',
    950: '#000000',
  },
}
SCSS
$custom: #a26dec;
$custom-light: #c198f3;
$custom-dark: #000000;
JSON
{
  "hex": "#a26dec",
  "rgb": {
    "r": 162,
    "g": 109,
    "b": 236
  },
  "hsl": {
    "h": 265.039,
    "s": 76.97,
    "l": 67.647
  },
  "oklch": {
    "l": 0.64668,
    "c": 0.18596,
    "h": 300.6
  },
  "luminance": 0.24675
}

Semantic roles & 50–950 ramp

primary
#A26DEC
secondary
#DEEEC7
accent
#D90C84
background
#FCF9FE
surface
#F8F2FD
border
#D1CCD5
text
#130E17
muted
#827E85

Preview Lab

Preview with #A26DEC

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

Preview Lab → · Contrast checker → · Palette generator →

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