#A26CF2#A26CF2

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

Color values

HEX#A26CF2
RGBrgb(162, 108, 242)
HSLhsl(264, 84%, 69%)
HSVhsv(264, 55%, 95%)
CMYKcmyk(33.1%, 55.4%, 0%, 5.1%)
CIE-LABlab(56.90, 48.51, -59.81)
CIE-LCHlch(56.90, 77.01, 309.04°)
OKLaboklab(64.88% 0.096 -0.1693)
OKLCHoklch(64.88% 0.195 299.6)
XYZxyz(36.2860, 24.8170, 86.8656)
Luminance0.2482 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A26CF2 #BCF26C
analogous
#6C79F2 #A26CF2 #E56CF2
triadic
#A26CF2 #F2A26C #6CF2A2
tetradic
#A26CF2 #F26C79 #BCF26C #6CF2E5
square
#A26CF2 #F26C79 #BCF26C #6CF2E5
split-complementary
#A26CF2 #F2E56C #79F26C
monochromatic
#5F12D1 #7E34ED #A26CF2 #C6A4F7 #E9DCFC

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##A26CF2#FFFFFF#000000##000000
##A26CF21.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)
#3188F6
Deuteranopia (green-blind)
#4587EF
Tritanopia (blue-blind)
#9187A5
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #a26cf2;
/* rgb */ color: rgb(162, 108, 242);
/* oklch */ color: oklch(64.9% 0.195 299.6);
Tailwind
colors: {
  custom: {
    50: '#c298f7',
    500: '#a26cf2',
    950: '#000000',
  },
}
SCSS
$custom: #a26cf2;
$custom-light: #c298f7;
$custom-dark: #000000;
JSON
{
  "hex": "#a26cf2",
  "rgb": {
    "r": 162,
    "g": 108,
    "b": 242
  },
  "hsl": {
    "h": 264.179,
    "s": 83.75,
    "l": 68.627
  },
  "oklch": {
    "l": 0.64883,
    "c": 0.19459,
    "h": 299.6
  },
  "luminance": 0.24817
}

Semantic roles & 50–950 ramp

primary
#A26CF2
secondary
#E1F1C9
accent
#E00588
background
#FCF9FF
surface
#F8F2FF
border
#D1CCD7
text
#130E17
muted
#827E85

Preview Lab

Preview with #A26CF2

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

Preview Lab → · Contrast checker → · Palette generator →

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