#A26FF7#A26FF7

#A26FF7 is a light, vivid violet. Relative luminance 0.258; OKLCH L 65.7% C 0.196 H 298.1°. Best body text is #000000 at 6.15:1 contrast (WCAG AA passes).

Color values

HEX#A26FF7
RGBrgb(162, 111, 247)
HSLhsl(263, 89%, 70%)
HSVhsv(263, 55%, 97%)
CMYKcmyk(34.4%, 55.1%, 0%, 3.1%)
CIE-LABlab(57.81, 48.13, -61.11)
CIE-LCHlch(57.81, 77.79, 308.22°)
OKLaboklab(65.65% 0.0924 -0.1731)
OKLCHoklch(65.65% 0.196 298.1)
XYZxyz(37.3691, 25.7652, 90.9820)
Luminance0.2577 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A26FF7 #C4F76F
analogous
#6F80F7 #A26FF7 #E66FF7
triadic
#A26FF7 #F7A26F #6FF7A2
tetradic
#A26FF7 #F76F80 #C4F76F #6FF7E6
square
#A26FF7 #F76F80 #C4F76F #6FF7E6
split-complementary
#A26FF7 #F7E66F #80F76F
monochromatic
#5B0CDF #7D35F4 #A26FF7 #C7A9FA #ECE2FD

Accessibility & contrast

On white

3.41
#A26FF7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.15
#A26FF7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A26FF7
6.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A26FF7#FFFFFF#000000##000000
##A26FF71.003.416.156.15
#FFFFFF3.411.0021.0021.00
#0000006.1521.001.001.00
##0000006.1521.001.001.00

Color blindness preview

Protanopia (red-blind)
#328BFC
Deuteranopia (green-blind)
#448AF4
Tritanopia (blue-blind)
#8F8BA9
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #a26ff7;
/* rgb */ color: rgb(162, 111, 247);
/* oklch */ color: oklch(65.7% 0.196 298.1);
Tailwind
colors: {
  custom: {
    50: '#c29afa',
    500: '#a26ff7',
    950: '#000000',
  },
}
SCSS
$custom: #a26ff7;
$custom-light: #c29afa;
$custom-dark: #000000;
JSON
{
  "hex": "#a26ff7",
  "rgb": {
    "r": 162,
    "g": 111,
    "b": 247
  },
  "hsl": {
    "h": 262.5,
    "s": 89.474,
    "l": 70.196
  },
  "oklch": {
    "l": 0.65652,
    "c": 0.19624,
    "h": 298.1
  },
  "luminance": 0.25766
}

Semantic roles & 50–950 ramp

primary
#A26FF7
secondary
#E6F4CE
accent
#E6008F
background
#FCF9FF
surface
#F8F2FF
border
#D1CCD7
text
#130E17
muted
#827E85

Preview Lab

Preview with #A26FF7

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

Preview Lab → · Contrast checker → · Palette generator →

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