#A26CD5#A26CD5

#A26CD5 is a light, vivid violet. Relative luminance 0.232; OKLCH L 63.2% C 0.160 H 306.1°. Best body text is #000000 at 5.64:1 contrast (WCAG AA passes).

Color values

HEX#A26CD5
RGBrgb(162, 108, 213)
HSLhsl(271, 56%, 63%)
HSVhsv(271, 49%, 84%)
CMYKcmyk(23.9%, 49.3%, 0%, 16.5%)
CIE-LABlab(55.29, 41.53, -46.11)
CIE-LCHlch(55.29, 62.06, 312.01°)
OKLaboklab(63.17% 0.0942 -0.1292)
OKLCHoklch(63.17% 0.16 306.1)
XYZxyz(32.2706, 23.2109, 65.7180)
Luminance0.2321 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A26CD5 #9FD56C
analogous
#6D6CD5 #A26CD5 #D56CD4
triadic
#A26CD5 #D5A26C #6CD5A2
tetradic
#A26CD5 #D56D6C #9FD56C #6CD4D5
square
#A26CD5 #D56D6C #9FD56C #6CD4D5
split-complementary
#A26CD5 #D4D56C #6CD56D
monochromatic
#652C9A #843CC7 #A26CD5 #C09CE3 #DECBF0

Accessibility & contrast

On white

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

On black

5.64
#A26CD5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A26CD5
5.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A26CD5#FFFFFF#000000##000000
##A26CD51.003.725.645.64
#FFFFFF3.721.0021.0021.00
#0000005.6421.001.001.00
##0000005.6421.001.001.00

Color blindness preview

Protanopia (red-blind)
#4E83D9
Deuteranopia (green-blind)
#5D85D2
Tritanopia (blue-blind)
#9A7E97
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #a26cd5;
/* rgb */ color: rgb(162, 108, 213);
/* oklch */ color: oklch(63.2% 0.160 306.1);
Tailwind
colors: {
  custom: {
    50: '#c097e2',
    500: '#a26cd5',
    950: '#000000',
  },
}
SCSS
$custom: #a26cd5;
$custom-light: #c097e2;
$custom-dark: #000000;
JSON
{
  "hex": "#a26cd5",
  "rgb": {
    "r": 162,
    "g": 108,
    "b": 213
  },
  "hsl": {
    "h": 270.857,
    "s": 55.556,
    "l": 62.941
  },
  "oklch": {
    "l": 0.63174,
    "c": 0.15987,
    "h": 306.1
  },
  "luminance": 0.23211
}

Semantic roles & 50–950 ramp

primary
#A26CD5
secondary
#CEE1BB
accent
#C32270
background
#FCF9FD
surface
#F8F2FB
border
#D1CCD4
text
#120E15
muted
#817E83

Preview Lab

Preview with #A26CD5

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

Preview Lab → · Contrast checker → · Palette generator →

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