#A26BF5#A26BF5

#A26BF5 is a light, vivid violet. Relative luminance 0.248; OKLCH L 64.9% C 0.200 H 299.2°. Best body text is #000000 at 5.96:1 contrast (WCAG AA passes).

Color values

HEX#A26BF5
RGBrgb(162, 107, 245)
HSLhsl(264, 87%, 69%)
HSVhsv(264, 56%, 96%)
CMYKcmyk(33.9%, 56.3%, 0%, 3.9%)
CIE-LABlab(56.87, 49.79, -61.52)
CIE-LCHlch(56.87, 79.14, 308.98°)
OKLaboklab(64.92% 0.0972 -0.1743)
OKLCHoklch(64.92% 0.2 299.2)
XYZxyz(36.6354, 24.7890, 89.2231)
Luminance0.2479 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A26BF5 #BEF56B
analogous
#6B79F5 #A26BF5 #E76BF5
triadic
#A26BF5 #F5A26B #6BF5A2
tetradic
#A26BF5 #F56B79 #BEF56B #6BF5E7
square
#A26BF5 #F56B79 #BEF56B #6BF5E7
split-complementary
#A26BF5 #F5E76B #79F56B
monochromatic
#5E0FD7 #7E32F1 #A26BF5 #C6A4F9 #EADEFD

Accessibility & contrast

On white

3.52
#A26BF5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.96
#A26BF5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A26BF5
5.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A26BF5#FFFFFF#000000##000000
##A26BF51.003.525.965.96
#FFFFFF3.521.0021.0021.00
#0000005.9621.001.001.00
##0000005.9621.001.001.00

Color blindness preview

Protanopia (red-blind)
#2A88FA
Deuteranopia (green-blind)
#4087F2
Tritanopia (blue-blind)
#9087A6
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #a26bf5;
/* rgb */ color: rgb(162, 107, 245);
/* oklch */ color: oklch(64.9% 0.200 299.2);
Tailwind
colors: {
  custom: {
    50: '#c297f9',
    500: '#a26bf5',
    950: '#000000',
  },
}
SCSS
$custom: #a26bf5;
$custom-light: #c297f9;
$custom-dark: #000000;
JSON
{
  "hex": "#a26bf5",
  "rgb": {
    "r": 162,
    "g": 107,
    "b": 245
  },
  "hsl": {
    "h": 263.913,
    "s": 87.342,
    "l": 69.02
  },
  "oklch": {
    "l": 0.6492,
    "c": 0.19957,
    "h": 299.2
  },
  "luminance": 0.24789
}

Semantic roles & 50–950 ramp

primary
#A26BF5
secondary
#E2F2CA
accent
#E4028A
background
#FCF9FF
surface
#F8F2FF
border
#D1CCD7
text
#130E17
muted
#827E85

Preview Lab

Preview with #A26BF5

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

Preview Lab → · Contrast checker → · Palette generator →

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