#A26CDE#A26CDE

#A26CDE is a light, vivid violet. Relative luminance 0.237; OKLCH L 63.7% C 0.171 H 303.8°. Best body text is #000000 at 5.74:1 contrast (WCAG AA passes).

Color values

HEX#A26CDE
RGBrgb(162, 108, 222)
HSLhsl(268, 63%, 65%)
HSVhsv(268, 51%, 87%)
CMYKcmyk(27%, 51.4%, 0%, 12.9%)
CIE-LABlab(55.77, 43.66, -50.43)
CIE-LCHlch(55.77, 66.70, 310.88°)
OKLaboklab(63.68% 0.095 -0.1418)
OKLCHoklch(63.68% 0.171 303.8)
XYZxyz(33.4448, 23.6805, 71.9019)
Luminance0.2368 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A26CDE #A8DE6C
analogous
#6C6FDE #A26CDE #DB6CDE
triadic
#A26CDE #DEA26C #6CDEA2
tetradic
#A26CDE #DE6C6F #A8DE6C #6CDEDB
square
#A26CDE #DE6C6F #A8DE6C #6CDEDB
split-complementary
#A26CDE #DEDB6C #6FDE6C
monochromatic
#6426AA #823AD3 #A26CDE #C29EE9 #E1D0F4

Accessibility & contrast

On white

3.66
#A26CDE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.74
#A26CDE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A26CDE
5.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A26CDE#FFFFFF#000000##000000
##A26CDE1.003.665.745.74
#FFFFFF3.661.0021.0021.00
#0000005.7421.001.001.00
##0000005.7421.001.001.00

Color blindness preview

Protanopia (red-blind)
#4784E2
Deuteranopia (green-blind)
#5786DB
Tritanopia (blue-blind)
#97819B
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #a26cde;
/* rgb */ color: rgb(162, 108, 222);
/* oklch */ color: oklch(63.7% 0.171 303.8);
Tailwind
colors: {
  custom: {
    50: '#c097e9',
    500: '#a26cde',
    950: '#000000',
  },
}
SCSS
$custom: #a26cde;
$custom-light: #c097e9;
$custom-dark: #000000;
JSON
{
  "hex": "#a26cde",
  "rgb": {
    "r": 162,
    "g": 108,
    "b": 222
  },
  "hsl": {
    "h": 268.421,
    "s": 63.333,
    "l": 64.706
  },
  "oklch": {
    "l": 0.63683,
    "c": 0.17068,
    "h": 303.8
  },
  "luminance": 0.2368
}

Semantic roles & 50–950 ramp

primary
#A26CDE
secondary
#D4E6BF
accent
#CB1A77
background
#FCF9FE
surface
#F8F2FD
border
#D1CCD5
text
#130E16
muted
#827E84

Preview Lab

Preview with #A26CDE

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

Preview Lab → · Contrast checker → · Palette generator →

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