#A26CD7#A26CD7

#A26CD7 is a light, vivid violet. Relative luminance 0.233; OKLCH L 63.3% C 0.162 H 305.6°. Best body text is #000000 at 5.66:1 contrast (WCAG AA passes).

Color values

HEX#A26CD7
RGBrgb(162, 108, 215)
HSLhsl(270, 57%, 63%)
HSVhsv(270, 50%, 84%)
CMYKcmyk(24.7%, 49.8%, 0%, 15.7%)
CIE-LABlab(55.39, 42.00, -47.07)
CIE-LCHlch(55.39, 63.09, 311.74°)
OKLaboklab(63.29% 0.0944 -0.132)
OKLCHoklch(63.29% 0.162 305.6)
XYZxyz(32.5260, 23.3130, 67.0631)
Luminance0.2331 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A26CD7 #A1D76C
analogous
#6C6CD7 #A26CD7 #D76CD7
triadic
#A26CD7 #D7A26C #6CD7A2
tetradic
#A26CD7 #D76C6C #A1D76C #6CD7D7
square
#A26CD7 #D76C6C #A1D76C #6CD7D7
split-complementary
#A26CD7 #D7D76C #6CD76C
monochromatic
#652B9E #843CCA #A26CD7 #C09CE4 #DFCCF1

Accessibility & contrast

On white

3.71
#A26CD7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.66
#A26CD7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A26CD7
5.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A26CD7#FFFFFF#000000##000000
##A26CD71.003.715.665.66
#FFFFFF3.711.0021.0021.00
#0000005.6621.001.001.00
##0000005.6621.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #a26cd7;
/* rgb */ color: rgb(162, 108, 215);
/* oklch */ color: oklch(63.3% 0.162 305.6);
Tailwind
colors: {
  custom: {
    50: '#c097e4',
    500: '#a26cd7',
    950: '#000000',
  },
}
SCSS
$custom: #a26cd7;
$custom-light: #c097e4;
$custom-dark: #000000;
JSON
{
  "hex": "#a26cd7",
  "rgb": {
    "r": 162,
    "g": 108,
    "b": 215
  },
  "hsl": {
    "h": 270.28,
    "s": 57.219,
    "l": 63.333
  },
  "oklch": {
    "l": 0.63285,
    "c": 0.16227,
    "h": 305.6
  },
  "luminance": 0.23313
}

Semantic roles & 50–950 ramp

primary
#A26CD7
secondary
#CFE2BC
accent
#C52172
background
#FCF9FE
surface
#F8F2FC
border
#D1CCD5
text
#120E15
muted
#817E84

Preview Lab

Preview with #A26CD7

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

Preview Lab → · Contrast checker → · Palette generator →

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