#A26CE3#A26CE3

#A26CE3 is a light, vivid violet. Relative luminance 0.240; OKLCH L 64.0% C 0.177 H 302.7°. Best body text is #000000 at 5.79:1 contrast (WCAG AA passes).

Color values

HEX#A26CE3
RGBrgb(162, 108, 227)
HSLhsl(267, 68%, 66%)
HSVhsv(267, 52%, 89%)
CMYKcmyk(28.6%, 52.4%, 0%, 11%)
CIE-LABlab(56.04, 44.85, -52.80)
CIE-LCHlch(56.04, 69.28, 310.35°)
OKLaboklab(63.98% 0.0954 -0.1487)
OKLCHoklch(63.98% 0.177 302.7)
XYZxyz(34.1249, 23.9526, 75.4837)
Luminance0.2395 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A26CE3 #ADE36C
analogous
#6C71E3 #A26CE3 #DD6CE3
triadic
#A26CE3 #E3A26C #6CE3A2
tetradic
#A26CE3 #E36C71 #ADE36C #6CE3DD
square
#A26CE3 #E36C71 #ADE36C #6CE3DD
split-complementary
#A26CE3 #E3DD6C #71E36C
monochromatic
#6422B3 #8139D9 #A26CE3 #C39FED #E3D3F7

Accessibility & contrast

On white

3.63
#A26CE3 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.79
#A26CE3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A26CE3
5.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A26CE3#FFFFFF#000000##000000
##A26CE31.003.635.795.79
#FFFFFF3.631.0021.0021.00
#0000005.7921.001.001.00
##0000005.7921.001.001.00

Color blindness preview

Protanopia (red-blind)
#4385E7
Deuteranopia (green-blind)
#5386E0
Tritanopia (blue-blind)
#96829D
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #a26ce3;
/* rgb */ color: rgb(162, 108, 227);
/* oklch */ color: oklch(64.0% 0.177 302.7);
Tailwind
colors: {
  custom: {
    50: '#c198ec',
    500: '#a26ce3',
    950: '#000000',
  },
}
SCSS
$custom: #a26ce3;
$custom-light: #c198ec;
$custom-dark: #000000;
JSON
{
  "hex": "#a26ce3",
  "rgb": {
    "r": 162,
    "g": 108,
    "b": 227
  },
  "hsl": {
    "h": 267.227,
    "s": 68,
    "l": 65.686
  },
  "oklch": {
    "l": 0.63975,
    "c": 0.17668,
    "h": 302.7
  },
  "luminance": 0.23953
}

Semantic roles & 50–950 ramp

primary
#A26CE3
secondary
#D7E9C2
accent
#D0167B
background
#FCF9FE
surface
#F8F2FD
border
#D1CCD5
text
#130E16
muted
#827E84

Preview Lab

Preview with #A26CE3

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

Preview Lab → · Contrast checker → · Palette generator →

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