#A26CD9#A26CD9

#A26CD9 is a light, vivid violet. Relative luminance 0.234; OKLCH L 63.4% C 0.165 H 305.0°. Best body text is #000000 at 5.68:1 contrast (WCAG AA passes).

Color values

HEX#A26CD9
RGBrgb(162, 108, 217)
HSLhsl(270, 59%, 64%)
HSVhsv(270, 50%, 85%)
CMYKcmyk(25.3%, 50.2%, 0%, 14.9%)
CIE-LABlab(55.50, 42.47, -48.04)
CIE-LCHlch(55.50, 64.12, 311.48°)
OKLaboklab(63.4% 0.0946 -0.1348)
OKLCHoklch(63.4% 0.165 305)
XYZxyz(32.7846, 23.4164, 68.4249)
Luminance0.2342 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A26CD9 #A3D96C
analogous
#6C6CD9 #A26CD9 #D86CD9
triadic
#A26CD9 #D9A26C #6CD9A2
tetradic
#A26CD9 #D96C6C #A3D96C #6CD9D8
square
#A26CD9 #D96C6C #A3D96C #6CD9D8
split-complementary
#A26CD9 #D9D86C #6CD96C
monochromatic
#652AA1 #833BCC #A26CD9 #C19DE6 #E0CDF2

Accessibility & contrast

On white

3.70
#A26CD9 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.68
#A26CD9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A26CD9
5.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A26CD9#FFFFFF#000000##000000
##A26CD91.003.705.685.68
#FFFFFF3.701.0021.0021.00
#0000005.6821.001.001.00
##0000005.6821.001.001.00

Color blindness preview

Protanopia (red-blind)
#4B83DD
Deuteranopia (green-blind)
#5B85D6
Tritanopia (blue-blind)
#997F98
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #a26cd9;
/* rgb */ color: rgb(162, 108, 217);
/* oklch */ color: oklch(63.4% 0.165 305.0);
Tailwind
colors: {
  custom: {
    50: '#c097e5',
    500: '#a26cd9',
    950: '#000000',
  },
}
SCSS
$custom: #a26cd9;
$custom-light: #c097e5;
$custom-dark: #000000;
JSON
{
  "hex": "#a26cd9",
  "rgb": {
    "r": 162,
    "g": 108,
    "b": 217
  },
  "hsl": {
    "h": 269.725,
    "s": 58.919,
    "l": 63.725
  },
  "oklch": {
    "l": 0.63398,
    "c": 0.16467,
    "h": 305
  },
  "luminance": 0.23416
}

Semantic roles & 50–950 ramp

primary
#A26CD9
secondary
#D1E4BD
accent
#C71F74
background
#FCF9FE
surface
#F8F2FC
border
#D1CCD5
text
#120E16
muted
#817E84

Preview Lab

Preview with #A26CD9

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

Preview Lab → · Contrast checker → · Palette generator →

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