#A26FD5#A26FD5

#A26FD5 is a light, vivid violet. Relative luminance 0.239; OKLCH L 63.7% C 0.155 H 305.5°. Best body text is #000000 at 5.77:1 contrast (WCAG AA passes).

Color values

HEX#A26FD5
RGBrgb(162, 111, 213)
HSLhsl(270, 55%, 64%)
HSVhsv(270, 48%, 84%)
CMYKcmyk(23.9%, 47.9%, 0%, 16.5%)
CIE-LABlab(55.94, 39.87, -45.07)
CIE-LCHlch(55.94, 60.18, 311.50°)
OKLaboklab(63.66% 0.0901 -0.1262)
OKLCHoklch(63.66% 0.155 305.5)
XYZxyz(32.5925, 23.8546, 65.8253)
Luminance0.2385 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A26FD5 #A2D56F
analogous
#6F6FD5 #A26FD5 #D56FD5
triadic
#A26FD5 #D5A26F #6FD5A2
tetradic
#A26FD5 #D56F6F #A2D56F #6FD5D5
square
#A26FD5 #D56F6F #A2D56F #6FD5D5
split-complementary
#A26FD5 #D5D56F #6FD56F
monochromatic
#652E9C #8340C7 #A26FD5 #C19EE3 #DFCEF1

Accessibility & contrast

On white

3.64
#A26FD5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.77
#A26FD5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A26FD5
5.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A26FD5#FFFFFF#000000##000000
##A26FD51.003.645.775.77
#FFFFFF3.641.0021.0021.00
#0000005.7721.001.001.00
##0000005.7721.001.001.00

Color blindness preview

Protanopia (red-blind)
#5384D9
Deuteranopia (green-blind)
#6086D2
Tritanopia (blue-blind)
#9A8198
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #a26fd5;
/* rgb */ color: rgb(162, 111, 213);
/* oklch */ color: oklch(63.7% 0.155 305.5);
Tailwind
colors: {
  custom: {
    50: '#c099e2',
    500: '#a26fd5',
    950: '#000000',
  },
}
SCSS
$custom: #a26fd5;
$custom-light: #c099e2;
$custom-dark: #000000;
JSON
{
  "hex": "#a26fd5",
  "rgb": {
    "r": 162,
    "g": 111,
    "b": 213
  },
  "hsl": {
    "h": 270,
    "s": 54.839,
    "l": 63.529
  },
  "oklch": {
    "l": 0.6366,
    "c": 0.15504,
    "h": 305.5
  },
  "luminance": 0.23854
}

Semantic roles & 50–950 ramp

primary
#A26FD5
secondary
#D0E2BE
accent
#C22373
background
#FCF9FD
surface
#F8F2FB
border
#D1CCD4
text
#120E15
muted
#817E83

Preview Lab

Preview with #A26FD5

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

Preview Lab → · Contrast checker → · Palette generator →

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