#A26FD4#A26FD4

#A26FD4 is a light, vivid violet. Relative luminance 0.238; OKLCH L 63.6% C 0.154 H 305.8°. Best body text is #000000 at 5.76:1 contrast (WCAG AA passes).

Color values

HEX#A26FD4
RGBrgb(162, 111, 212)
HSLhsl(270, 54%, 63%)
HSVhsv(270, 48%, 83%)
CMYKcmyk(23.6%, 47.6%, 0%, 16.9%)
CIE-LABlab(55.89, 39.64, -44.59)
CIE-LCHlch(55.89, 59.66, 311.64°)
OKLaboklab(63.61% 0.09 -0.1248)
OKLCHoklch(63.61% 0.154 305.8)
XYZxyz(32.4659, 23.8040, 65.1589)
Luminance0.2380 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A26FD4 #A1D46F
analogous
#6F6FD4 #A26FD4 #D46FD3
triadic
#A26FD4 #D4A26F #6FD4A2
tetradic
#A26FD4 #D46F6F #A1D46F #6FD3D4
square
#A26FD4 #D46F6F #A1D46F #6FD3D4
split-complementary
#A26FD4 #D3D46F #6FD46F
monochromatic
#652E9A #8440C6 #A26FD4 #C09EE2 #DFCDF0

Accessibility & contrast

On white

3.65
#A26FD4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.76
#A26FD4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A26FD4
5.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A26FD4#FFFFFF#000000##000000
##A26FD41.003.655.765.76
#FFFFFF3.651.0021.0021.00
#0000005.7621.001.001.00
##0000005.7621.001.001.00

Color blindness preview

Protanopia (red-blind)
#5384D8
Deuteranopia (green-blind)
#6186D1
Tritanopia (blue-blind)
#9A8097
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #a26fd4;
/* rgb */ color: rgb(162, 111, 212);
/* oklch */ color: oklch(63.6% 0.154 305.8);
Tailwind
colors: {
  custom: {
    50: '#c099e1',
    500: '#a26fd4',
    950: '#000000',
  },
}
SCSS
$custom: #a26fd4;
$custom-light: #c099e1;
$custom-dark: #000000;
JSON
{
  "hex": "#a26fd4",
  "rgb": {
    "r": 162,
    "g": 111,
    "b": 212
  },
  "hsl": {
    "h": 270.297,
    "s": 54.011,
    "l": 63.333
  },
  "oklch": {
    "l": 0.63605,
    "c": 0.15383,
    "h": 305.8
  },
  "luminance": 0.23804
}

Semantic roles & 50–950 ramp

primary
#A26FD4
secondary
#CFE1BD
accent
#C12472
background
#FCF9FD
surface
#F8F2FB
border
#D1CCD4
text
#120E15
muted
#817E83

Preview Lab

Preview with #A26FD4

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

Preview Lab → · Contrast checker → · Palette generator →

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