#A26CD6#A26CD6

#A26CD6 is a light, vivid violet. Relative luminance 0.233; OKLCH L 63.2% C 0.161 H 305.8°. Best body text is #000000 at 5.65:1 contrast (WCAG AA passes).

Color values

HEX#A26CD6
RGBrgb(162, 108, 214)
HSLhsl(271, 56%, 63%)
HSVhsv(271, 50%, 84%)
CMYKcmyk(24.3%, 49.5%, 0%, 16.1%)
CIE-LABlab(55.34, 41.77, -46.59)
CIE-LCHlch(55.34, 62.57, 311.87°)
OKLaboklab(63.23% 0.0943 -0.1306)
OKLCHoklch(63.23% 0.161 305.8)
XYZxyz(32.3979, 23.2618, 66.3885)
Luminance0.2326 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A26CD6 #A0D66C
analogous
#6D6CD6 #A26CD6 #D66CD5
triadic
#A26CD6 #D6A26C #6CD6A2
tetradic
#A26CD6 #D66D6C #A0D66C #6CD5D6
square
#A26CD6 #D66D6C #A0D66C #6CD5D6
split-complementary
#A26CD6 #D5D66C #6CD66D
monochromatic
#652C9C #843CC9 #A26CD6 #C09CE3 #DFCCF1

Accessibility & contrast

On white

3.72
#A26CD6 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.65
#A26CD6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A26CD6
5.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A26CD6#FFFFFF#000000##000000
##A26CD61.003.725.655.65
#FFFFFF3.721.0021.0021.00
#0000005.6521.001.001.00
##0000005.6521.001.001.00

Color blindness preview

Protanopia (red-blind)
#4D83DA
Deuteranopia (green-blind)
#5D85D3
Tritanopia (blue-blind)
#9A7F97
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #a26cd6;
/* rgb */ color: rgb(162, 108, 214);
/* oklch */ color: oklch(63.2% 0.161 305.8);
Tailwind
colors: {
  custom: {
    50: '#c097e3',
    500: '#a26cd6',
    950: '#000000',
  },
}
SCSS
$custom: #a26cd6;
$custom-light: #c097e3;
$custom-dark: #000000;
JSON
{
  "hex": "#a26cd6",
  "rgb": {
    "r": 162,
    "g": 108,
    "b": 214
  },
  "hsl": {
    "h": 270.566,
    "s": 56.383,
    "l": 63.137
  },
  "oklch": {
    "l": 0.63229,
    "c": 0.16107,
    "h": 305.8
  },
  "luminance": 0.23262
}

Semantic roles & 50–950 ramp

primary
#A26CD6
secondary
#CFE2BC
accent
#C42271
background
#FCF9FD
surface
#F8F2FB
border
#D1CCD4
text
#120E15
muted
#817E83

Preview Lab

Preview with #A26CD6

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

Preview Lab → · Contrast checker → · Palette generator →

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