#A26CDC#A26CDC

#A26CDC is a light, vivid violet. Relative luminance 0.236; OKLCH L 63.6% C 0.168 H 304.3°. Best body text is #000000 at 5.71:1 contrast (WCAG AA passes).

Color values

HEX#A26CDC
RGBrgb(162, 108, 220)
HSLhsl(269, 62%, 64%)
HSVhsv(269, 51%, 86%)
CMYKcmyk(26.4%, 50.9%, 0%, 13.7%)
CIE-LABlab(55.66, 43.18, -49.47)
CIE-LCHlch(55.66, 65.67, 311.11°)
OKLaboklab(63.57% 0.0948 -0.139)
OKLCHoklch(63.57% 0.168 304.3)
XYZxyz(33.1783, 23.5739, 70.4986)
Luminance0.2357 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A26CDC #A6DC6C
analogous
#6C6EDC #A26CDC #DA6CDC
triadic
#A26CDC #DCA26C #6CDCA2
tetradic
#A26CDC #DC6C6E #A6DC6C #6CDCDA
square
#A26CDC #DC6C6E #A6DC6C #6CDCDA
split-complementary
#A26CDC #DCDA6C #6EDC6C
monochromatic
#6528A6 #833BD0 #A26CDC #C19DE8 #E1CFF4

Accessibility & contrast

On white

3.67
#A26CDC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.71
#A26CDC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A26CDC
5.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A26CDC#FFFFFF#000000##000000
##A26CDC1.003.675.715.71
#FFFFFF3.671.0021.0021.00
#0000005.7121.001.001.00
##0000005.7121.001.001.00

Color blindness preview

Protanopia (red-blind)
#4984E0
Deuteranopia (green-blind)
#5885D9
Tritanopia (blue-blind)
#98809A
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #a26cdc;
/* rgb */ color: rgb(162, 108, 220);
/* oklch */ color: oklch(63.6% 0.168 304.3);
Tailwind
colors: {
  custom: {
    50: '#c097e7',
    500: '#a26cdc',
    950: '#000000',
  },
}
SCSS
$custom: #a26cdc;
$custom-light: #c097e7;
$custom-dark: #000000;
JSON
{
  "hex": "#a26cdc",
  "rgb": {
    "r": 162,
    "g": 108,
    "b": 220
  },
  "hsl": {
    "h": 268.929,
    "s": 61.538,
    "l": 64.314
  },
  "oklch": {
    "l": 0.63568,
    "c": 0.16828,
    "h": 304.3
  },
  "luminance": 0.23574
}

Semantic roles & 50–950 ramp

primary
#A26CDC
secondary
#D3E5BE
accent
#C91C76
background
#FCF9FE
surface
#F8F2FC
border
#D1CCD5
text
#130E16
muted
#827E84

Preview Lab

Preview with #A26CDC

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

Preview Lab → · Contrast checker → · Palette generator →

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