#A26BD2#A26BD2

#A26BD2 is a light, vivid violet. Relative luminance 0.229; OKLCH L 62.8% C 0.158 H 307.1°. Best body text is #000000 at 5.57:1 contrast (WCAG AA passes).

Color values

HEX#A26BD2
RGBrgb(162, 107, 210)
HSLhsl(272, 53%, 62%)
HSVhsv(272, 49%, 82%)
CMYKcmyk(22.9%, 49%, 0%, 17.6%)
CIE-LABlab(54.92, 41.39, -45.00)
CIE-LCHlch(54.92, 61.14, 312.61°)
OKLaboklab(62.85% 0.0952 -0.1259)
OKLCHoklch(62.85% 0.158 307.1)
XYZxyz(31.7885, 22.8502, 63.6962)
Luminance0.2285 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A26BD2 #9BD26B
analogous
#6F6BD2 #A26BD2 #D26BCF
triadic
#A26BD2 #D2A26B #6BD2A2
tetradic
#A26BD2 #D26F6B #9BD26B #6BCFD2
square
#A26BD2 #D26F6B #9BD26B #6BCFD2
split-complementary
#A26BD2 #CFD26B #6BD26F
monochromatic
#652D95 #853CC4 #A26BD2 #BF9AE0 #DDC9EF

Accessibility & contrast

On white

3.77
#A26BD2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.57
#A26BD2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A26BD2
5.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A26BD2#FFFFFF#000000##000000
##A26BD21.003.775.575.57
#FFFFFF3.771.0021.0021.00
#0000005.5721.001.001.00
##0000005.5721.001.001.00

Color blindness preview

Protanopia (red-blind)
#4F81D6
Deuteranopia (green-blind)
#5E84CF
Tritanopia (blue-blind)
#9B7D95
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #a26bd2;
/* rgb */ color: rgb(162, 107, 210);
/* oklch */ color: oklch(62.8% 0.158 307.1);
Tailwind
colors: {
  custom: {
    50: '#c097e0',
    500: '#a26bd2',
    950: '#000000',
  },
}
SCSS
$custom: #a26bd2;
$custom-light: #c097e0;
$custom-dark: #000000;
JSON
{
  "hex": "#a26bd2",
  "rgb": {
    "r": 162,
    "g": 107,
    "b": 210
  },
  "hsl": {
    "h": 272.039,
    "s": 53.368,
    "l": 62.157
  },
  "oklch": {
    "l": 0.62847,
    "c": 0.15789,
    "h": 307.1
  },
  "luminance": 0.2285
}

Semantic roles & 50–950 ramp

primary
#A26BD2
secondary
#CBDFB9
accent
#C1256D
background
#FCF9FD
surface
#F8F2FB
border
#D1CCD4
text
#120D15
muted
#817E83

Preview Lab

Preview with #A26BD2

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

Preview Lab → · Contrast checker → · Palette generator →

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