#A26FF2#A26FF2

#A26FF2 is a light, vivid violet. Relative luminance 0.255; OKLCH L 65.3% C 0.190 H 299.0°. Best body text is #000000 at 6.09:1 contrast (WCAG AA passes).

Color values

HEX#A26FF2
RGBrgb(162, 111, 242)
HSLhsl(263, 83%, 69%)
HSVhsv(263, 54%, 95%)
CMYKcmyk(33.1%, 54.1%, 0%, 5.1%)
CIE-LABlab(57.52, 46.88, -58.81)
CIE-LCHlch(57.52, 75.21, 308.56°)
OKLaboklab(65.34% 0.0923 -0.1663)
OKLCHoklch(65.34% 0.19 299)
XYZxyz(36.6079, 25.4607, 86.9729)
Luminance0.2546 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A26FF2 #BFF26F
analogous
#6F7EF2 #A26FF2 #E46FF2
triadic
#A26FF2 #F2A26F #6FF2A2
tetradic
#A26FF2 #F26F7E #BFF26F #6FF2E4
square
#A26FF2 #F26F7E #BFF26F #6FF2E4
split-complementary
#A26FF2 #F2E46F #7EF26F
monochromatic
#5E13D4 #7E37ED #A26FF2 #C6A7F7 #EBDFFC

Accessibility & contrast

On white

3.45
#A26FF2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.09
#A26FF2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A26FF2
6.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A26FF2#FFFFFF#000000##000000
##A26FF21.003.456.096.09
#FFFFFF3.451.0021.0021.00
#0000006.0921.001.001.00
##0000006.0921.001.001.00

Color blindness preview

Protanopia (red-blind)
#398AF6
Deuteranopia (green-blind)
#4989EF
Tritanopia (blue-blind)
#9189A6
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #a26ff2;
/* rgb */ color: rgb(162, 111, 242);
/* oklch */ color: oklch(65.3% 0.190 299.0);
Tailwind
colors: {
  custom: {
    50: '#c19af7',
    500: '#a26ff2',
    950: '#000000',
  },
}
SCSS
$custom: #a26ff2;
$custom-light: #c19af7;
$custom-dark: #000000;
JSON
{
  "hex": "#a26ff2",
  "rgb": {
    "r": 162,
    "g": 111,
    "b": 242
  },
  "hsl": {
    "h": 263.359,
    "s": 83.439,
    "l": 69.216
  },
  "oklch": {
    "l": 0.65343,
    "c": 0.19023,
    "h": 299
  },
  "luminance": 0.25461
}

Semantic roles & 50–950 ramp

primary
#A26FF2
secondary
#E3F1CB
accent
#E0068B
background
#FCF9FF
surface
#F8F2FF
border
#D1CCD7
text
#130E17
muted
#827E85

Preview Lab

Preview with #A26FF2

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

Preview Lab → · Contrast checker → · Palette generator →

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