#A26BE7#A26BE7

#A26BE7 is a light, vivid violet. Relative luminance 0.240; OKLCH L 64.1% C 0.183 H 302.0°. Best body text is #000000 at 5.79:1 contrast (WCAG AA passes).

Color values

HEX#A26BE7
RGBrgb(162, 107, 231)
HSLhsl(267, 72%, 66%)
HSVhsv(267, 54%, 91%)
CMYKcmyk(29.9%, 53.7%, 0%, 9.4%)
CIE-LABlab(56.05, 46.36, -55.02)
CIE-LCHlch(56.05, 71.95, 310.12°)
OKLaboklab(64.06% 0.0969 -0.1552)
OKLCHoklch(64.06% 0.183 302)
XYZxyz(34.5785, 23.9662, 78.3901)
Luminance0.2397 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A26BE7 #B0E76B
analogous
#6B72E7 #A26BE7 #E06BE7
triadic
#A26BE7 #E7A26B #6BE7A2
tetradic
#A26BE7 #E76B72 #B0E76B #6BE7E0
square
#A26BE7 #E76B72 #B0E76B #6BE7E0
split-complementary
#A26BE7 #E7E06B #72E76B
monochromatic
#631EBA #8136DE #A26BE7 #C3A0F0 #E4D4F8

Accessibility & contrast

On white

3.62
#A26BE7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.79
#A26BE7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A26BE7
5.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A26BE7#FFFFFF#000000##000000
##A26BE71.003.625.795.79
#FFFFFF3.621.0021.0021.00
#0000005.7921.001.001.00
##0000005.7921.001.001.00

Color blindness preview

Protanopia (red-blind)
#3D85EB
Deuteranopia (green-blind)
#4E86E4
Tritanopia (blue-blind)
#95839F
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #a26be7;
/* rgb */ color: rgb(162, 107, 231);
/* oklch */ color: oklch(64.1% 0.183 302.0);
Tailwind
colors: {
  custom: {
    50: '#c197ef',
    500: '#a26be7',
    950: '#000000',
  },
}
SCSS
$custom: #a26be7;
$custom-light: #c197ef;
$custom-dark: #000000;
JSON
{
  "hex": "#a26be7",
  "rgb": {
    "r": 162,
    "g": 107,
    "b": 231
  },
  "hsl": {
    "h": 266.613,
    "s": 72.093,
    "l": 66.275
  },
  "oklch": {
    "l": 0.64057,
    "c": 0.18297,
    "h": 302
  },
  "luminance": 0.23966
}

Semantic roles & 50–950 ramp

primary
#A26BE7
secondary
#D9EBC3
accent
#D4117E
background
#FCF9FE
surface
#F8F2FD
border
#D1CCD5
text
#130E16
muted
#827E84

Preview Lab

Preview with #A26BE7

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

Preview Lab → · Contrast checker → · Palette generator →

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