#A26BFE#A26BFE

#A26BFE is a light, highly saturated violet. Relative luminance 0.254; OKLCH L 65.5% C 0.210 H 297.5°. Best body text is #000000 at 6.07:1 contrast (WCAG AA passes).

Color values

HEX#A26BFE
RGBrgb(162, 107, 254)
HSLhsl(262, 99%, 71%)
HSVhsv(262, 58%, 100%)
CMYKcmyk(36.2%, 57.9%, 0%, 0.4%)
CIE-LABlab(57.42, 52.03, -65.62)
CIE-LCHlch(57.42, 83.74, 308.41°)
OKLaboklab(65.5% 0.0972 -0.1863)
OKLCHoklch(65.5% 0.21 297.5)
XYZxyz(38.0429, 25.3520, 96.6358)
Luminance0.2535 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A26BFE #C7FE6B
analogous
#6B7DFE #A26BFE #EB6BFE
triadic
#A26BFE #FEA26B #6BFEA2
tetradic
#A26BFE #FE6B7D #C7FE6B #6BFEEB
square
#A26BFE #FE6B7D #C7FE6B #6BFEEB
split-complementary
#A26BFE #FEEB6B #7DFE6B
monochromatic
#5A02ED #7C2EFE #A26BFE #C8A8FE #ECE1FF

Accessibility & contrast

On white

3.46
#A26BFE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.07
#A26BFE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A26BFE
6.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A26BFE#FFFFFF#000000##000000
##A26BFE1.003.466.076.07
#FFFFFF3.461.0021.0021.00
#0000006.0721.001.001.00
##0000006.0721.001.001.00

Color blindness preview

Protanopia (red-blind)
#138AFF
Deuteranopia (green-blind)
#3388FB
Tritanopia (blue-blind)
#8D8AAA
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #a26bfe;
/* rgb */ color: rgb(162, 107, 254);
/* oklch */ color: oklch(65.5% 0.210 297.5);
Tailwind
colors: {
  custom: {
    50: '#c297ff',
    500: '#a26bfe',
    950: '#000000',
  },
}
SCSS
$custom: #a26bfe;
$custom-light: #c297ff;
$custom-dark: #000000;
JSON
{
  "hex": "#a26bfe",
  "rgb": {
    "r": 162,
    "g": 107,
    "b": 254
  },
  "hsl": {
    "h": 262.449,
    "s": 98.658,
    "l": 70.784
  },
  "oklch": {
    "l": 0.65497,
    "c": 0.21015,
    "h": 297.5
  },
  "luminance": 0.25353
}

Semantic roles & 50–950 ramp

primary
#A26BFE
secondary
#E7F6CF
accent
#E60090
background
#FCF9FF
surface
#F8F2FF
border
#D1CCD7
text
#130E18
muted
#827E86

Preview Lab

Preview with #A26BFE

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

Preview Lab → · Contrast checker → · Palette generator →

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