#A26ECA#A26ECA

#A26ECA is a light, vivid violet. Relative luminance 0.231; OKLCH L 62.9% C 0.143 H 308.9°. Best body text is #000000 at 5.62:1 contrast (WCAG AA passes).

Color values

HEX#A26ECA
RGBrgb(162, 110, 202)
HSLhsl(274, 46%, 61%)
HSVhsv(274, 46%, 79%)
CMYKcmyk(19.8%, 45.5%, 0%, 20.8%)
CIE-LABlab(55.17, 37.89, -40.05)
CIE-LCHlch(55.17, 55.13, 313.42°)
OKLaboklab(62.91% 0.09 -0.1116)
OKLCHoklch(62.91% 0.143 308.9)
XYZxyz(31.1349, 23.0979, 58.6838)
Luminance0.2310 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A26ECA #96CA6E
analogous
#746ECA #A26ECA #CA6EC4
triadic
#A26ECA #CAA26E #6ECAA2
tetradic
#A26ECA #CA746E #96CA6E #6EC4CA
square
#A26ECA #CA746E #96CA6E #6EC4CA
split-complementary
#A26ECA #C4CA6E #6ECA74
monochromatic
#65338B #8543B8 #A26ECA #BF9BDA #DBC8EB

Accessibility & contrast

On white

3.74
#A26ECA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.62
#A26ECA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A26ECA
5.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A26ECA#FFFFFF#000000##000000
##A26ECA1.003.745.625.62
#FFFFFF3.741.0021.0021.00
#0000005.6221.001.001.00
##0000005.6221.001.001.00

Color blindness preview

Protanopia (red-blind)
#5882CD
Deuteranopia (green-blind)
#6685C8
Tritanopia (blue-blind)
#9D7D92
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #a26eca;
/* rgb */ color: rgb(162, 110, 202);
/* oklch */ color: oklch(62.9% 0.143 308.9);
Tailwind
colors: {
  custom: {
    50: '#bf99da',
    500: '#a26eca',
    950: '#000000',
  },
}
SCSS
$custom: #a26eca;
$custom-light: #bf99da;
$custom-dark: #000000;
JSON
{
  "hex": "#a26eca",
  "rgb": {
    "r": 162,
    "g": 110,
    "b": 202
  },
  "hsl": {
    "h": 273.913,
    "s": 46.465,
    "l": 61.176
  },
  "oklch": {
    "l": 0.62907,
    "c": 0.14335,
    "h": 308.9
  },
  "luminance": 0.23098
}

Semantic roles & 50–950 ramp

primary
#A26ECA
secondary
#C8DBB9
accent
#BA2C69
background
#FBF9FD
surface
#F7F2FB
border
#D0CCD4
text
#120E15
muted
#817E83

Preview Lab

Preview with #A26ECA

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

Preview Lab → · Contrast checker → · Palette generator →

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