#A26FDB#A26FDB

#A26FDB is a light, vivid violet. Relative luminance 0.242; OKLCH L 64.0% C 0.162 H 304.0°. Best body text is #000000 at 5.83:1 contrast (WCAG AA passes).

Color values

HEX#A26FDB
RGBrgb(162, 111, 219)
HSLhsl(268, 60%, 65%)
HSVhsv(268, 49%, 86%)
CMYKcmyk(26%, 49.3%, 0%, 14.1%)
CIE-LABlab(56.25, 41.29, -47.97)
CIE-LCHlch(56.25, 63.29, 310.72°)
OKLaboklab(63.99% 0.0908 -0.1346)
OKLCHoklch(63.99% 0.162 304)
XYZxyz(33.3681, 24.1648, 69.9105)
Luminance0.2417 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A26FDB #A8DB6F
analogous
#6F72DB #A26FDB #D86FDB
triadic
#A26FDB #DBA26F #6FDBA2
tetradic
#A26FDB #DB6F72 #A8DB6F #6FDBD8
square
#A26FDB #DB6F72 #A8DB6F #6FDBD8
split-complementary
#A26FDB #DBD86F #72DB6F
monochromatic
#642AA6 #823ECF #A26FDB #C2A0E7 #E1D1F3

Accessibility & contrast

On white

3.60
#A26FDB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.83
#A26FDB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A26FDB
5.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A26FDB#FFFFFF#000000##000000
##A26FDB1.003.605.835.83
#FFFFFF3.601.0021.0021.00
#0000005.8321.001.001.00
##0000005.8321.001.001.00

Color blindness preview

Protanopia (red-blind)
#4F86DF
Deuteranopia (green-blind)
#5C87D8
Tritanopia (blue-blind)
#98829B
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #a26fdb;
/* rgb */ color: rgb(162, 111, 219);
/* oklch */ color: oklch(64.0% 0.162 304.0);
Tailwind
colors: {
  custom: {
    50: '#c099e7',
    500: '#a26fdb',
    950: '#000000',
  },
}
SCSS
$custom: #a26fdb;
$custom-light: #c099e7;
$custom-dark: #000000;
JSON
{
  "hex": "#a26fdb",
  "rgb": {
    "r": 162,
    "g": 111,
    "b": 219
  },
  "hsl": {
    "h": 268.333,
    "s": 60,
    "l": 64.706
  },
  "oklch": {
    "l": 0.63992,
    "c": 0.16235,
    "h": 304
  },
  "luminance": 0.24165
}

Semantic roles & 50–950 ramp

primary
#A26FDB
secondary
#D4E5C0
accent
#C81E77
background
#FCF9FE
surface
#F8F2FC
border
#D1CCD5
text
#120E16
muted
#817E84

Preview Lab

Preview with #A26FDB

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

Preview Lab → · Contrast checker → · Palette generator →

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