#A26CD2#A26CD2

#A26CD2 is a light, vivid violet. Relative luminance 0.231; OKLCH L 63.0% C 0.156 H 306.9°. Best body text is #000000 at 5.61:1 contrast (WCAG AA passes).

Color values

HEX#A26CD2
RGBrgb(162, 108, 210)
HSLhsl(272, 53%, 62%)
HSVhsv(272, 49%, 82%)
CMYKcmyk(22.9%, 48.6%, 0%, 17.6%)
CIE-LABlab(55.13, 40.84, -44.65)
CIE-LCHlch(55.13, 60.51, 312.44°)
OKLaboklab(63.01% 0.0938 -0.1249)
OKLCHoklch(63.01% 0.156 306.9)
XYZxyz(31.8934, 23.0600, 63.7311)
Luminance0.2306 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A26CD2 #9CD26C
analogous
#6F6CD2 #A26CD2 #D26CCF
triadic
#A26CD2 #D2A26C #6CD2A2
tetradic
#A26CD2 #D26F6C #9CD26C #6CCFD2
square
#A26CD2 #D26F6C #9CD26C #6CCFD2
split-complementary
#A26CD2 #CFD26C #6CD26F
monochromatic
#652E96 #843DC4 #A26CD2 #C09BE0 #DDCAEF

Accessibility & contrast

On white

3.74
#A26CD2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.61
#A26CD2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A26CD2
5.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A26CD2#FFFFFF#000000##000000
##A26CD21.003.745.615.61
#FFFFFF3.741.0021.0021.00
#0000005.6121.001.001.00
##0000005.6121.001.001.00

Color blindness preview

Protanopia (red-blind)
#5082D6
Deuteranopia (green-blind)
#5F84CF
Tritanopia (blue-blind)
#9B7D95
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #a26cd2;
/* rgb */ color: rgb(162, 108, 210);
/* oklch */ color: oklch(63.0% 0.156 306.9);
Tailwind
colors: {
  custom: {
    50: '#c097e0',
    500: '#a26cd2',
    950: '#000000',
  },
}
SCSS
$custom: #a26cd2;
$custom-light: #c097e0;
$custom-dark: #000000;
JSON
{
  "hex": "#a26cd2",
  "rgb": {
    "r": 162,
    "g": 108,
    "b": 210
  },
  "hsl": {
    "h": 271.765,
    "s": 53.125,
    "l": 62.353
  },
  "oklch": {
    "l": 0.63008,
    "c": 0.15626,
    "h": 306.9
  },
  "luminance": 0.2306
}

Semantic roles & 50–950 ramp

primary
#A26CD2
secondary
#CCE0BA
accent
#C1256E
background
#FCF9FD
surface
#F8F2FB
border
#D1CCD4
text
#120E15
muted
#817E83

Preview Lab

Preview with #A26CD2

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

Preview Lab → · Contrast checker → · Palette generator →

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