#A26BFB#A26BFB

#A26BFB is a light, highly saturated violet. Relative luminance 0.252; OKLCH L 65.3% C 0.207 H 298.1°. Best body text is #000000 at 6.03:1 contrast (WCAG AA passes).

Color values

HEX#A26BFB
RGBrgb(162, 107, 251)
HSLhsl(263, 95%, 70%)
HSVhsv(263, 57%, 98%)
CMYKcmyk(35.5%, 57.4%, 0%, 1.6%)
CIE-LABlab(57.23, 51.28, -64.26)
CIE-LCHlch(57.23, 82.21, 308.59°)
OKLaboklab(65.3% 0.0972 -0.1823)
OKLCHoklch(65.3% 0.207 298.1)
XYZxyz(37.5662, 25.1613, 94.1255)
Luminance0.2516 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A26BFB #C4FB6B
analogous
#6B7CFB #A26BFB #EA6BFB
triadic
#A26BFB #FBA26B #6BFBA2
tetradic
#A26BFB #FB6B7C #C4FB6B #6BFBEA
square
#A26BFB #FB6B7C #C4FB6B #6BFBEA
split-complementary
#A26BFB #FBEA6B #7CFB6B
monochromatic
#5B06E5 #7D2FF9 #A26BFB #C7A7FD #ECE1FE

Accessibility & contrast

On white

3.48
#A26BFB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.03
#A26BFB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A26BFB
6.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A26BFB#FFFFFF#000000##000000
##A26BFB1.003.486.036.03
#FFFFFF3.481.0021.0021.00
#0000006.0321.001.001.00
##0000006.0321.001.001.00

Color blindness preview

Protanopia (red-blind)
#1D8AFF
Deuteranopia (green-blind)
#3888F8
Tritanopia (blue-blind)
#8E89A9
Achromatopsia (no color)
#898989

Design tokens & code

CSS
--color: #a26bfb;
/* rgb */ color: rgb(162, 107, 251);
/* oklch */ color: oklch(65.3% 0.207 298.1);
Tailwind
colors: {
  custom: {
    50: '#c297fd',
    500: '#a26bfb',
    950: '#000000',
  },
}
SCSS
$custom: #a26bfb;
$custom-light: #c297fd;
$custom-dark: #000000;
JSON
{
  "hex": "#a26bfb",
  "rgb": {
    "r": 162,
    "g": 107,
    "b": 251
  },
  "hsl": {
    "h": 262.917,
    "s": 94.737,
    "l": 70.196
  },
  "oklch": {
    "l": 0.65302,
    "c": 0.20663,
    "h": 298.1
  },
  "luminance": 0.25162
}

Semantic roles & 50–950 ramp

primary
#A26BFB
secondary
#E6F5CD
accent
#E6008E
background
#FCF9FF
surface
#F8F2FF
border
#D1CCD7
text
#130E18
muted
#827E86

Preview Lab

Preview with #A26BFB

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

Preview Lab → · Contrast checker → · Palette generator →

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