#A26CE7#A26CE7

#A26CE7 is a light, vivid violet. Relative luminance 0.242; OKLCH L 64.2% C 0.181 H 301.8°. Best body text is #000000 at 5.84:1 contrast (WCAG AA passes).

Color values

HEX#A26CE7
RGBrgb(162, 108, 231)
HSLhsl(266, 72%, 66%)
HSVhsv(266, 53%, 91%)
CMYKcmyk(29.9%, 53.2%, 0%, 9.4%)
CIE-LABlab(56.26, 45.82, -54.69)
CIE-LCHlch(56.26, 71.34, 309.96°)
OKLaboklab(64.21% 0.0956 -0.1543)
OKLCHoklch(64.21% 0.181 301.8)
XYZxyz(34.6833, 24.1759, 78.4250)
Luminance0.2418 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A26CE7 #B1E76C
analogous
#6C74E7 #A26CE7 #DF6CE7
triadic
#A26CE7 #E7A26C #6CE7A2
tetradic
#A26CE7 #E76C74 #B1E76C #6CE7DF
square
#A26CE7 #E76C74 #B1E76C #6CE7DF
split-complementary
#A26CE7 #E7DF6C #74E76C
monochromatic
#631EBA #8137DE #A26CE7 #C3A1F0 #E5D5F8

Accessibility & contrast

On white

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

On black

5.84
#A26CE7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A26CE7
5.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A26CE7#FFFFFF#000000##000000
##A26CE71.003.605.845.84
#FFFFFF3.601.0021.0021.00
#0000005.8421.001.001.00
##0000005.8421.001.001.00

Color blindness preview

Protanopia (red-blind)
#3F86EB
Deuteranopia (green-blind)
#5086E4
Tritanopia (blue-blind)
#95849F
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #a26ce7;
/* rgb */ color: rgb(162, 108, 231);
/* oklch */ color: oklch(64.2% 0.181 301.8);
Tailwind
colors: {
  custom: {
    50: '#c198ef',
    500: '#a26ce7',
    950: '#000000',
  },
}
SCSS
$custom: #a26ce7;
$custom-light: #c198ef;
$custom-dark: #000000;
JSON
{
  "hex": "#a26ce7",
  "rgb": {
    "r": 162,
    "g": 108,
    "b": 231
  },
  "hsl": {
    "h": 266.341,
    "s": 71.93,
    "l": 66.471
  },
  "oklch": {
    "l": 0.64212,
    "c": 0.18147,
    "h": 301.8
  },
  "luminance": 0.24176
}

Semantic roles & 50–950 ramp

primary
#A26CE7
secondary
#DAEBC3
accent
#D4127F
background
#FCF9FE
surface
#F8F2FD
border
#D1CCD5
text
#130E16
muted
#827E84

Preview Lab

Preview with #A26CE7

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

Preview Lab → · Contrast checker → · Palette generator →

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