#A26BEC#A26BEC

#A26BEC is a light, vivid violet. Relative luminance 0.243; OKLCH L 64.4% C 0.189 H 300.9°. Best body text is #000000 at 5.85:1 contrast (WCAG AA passes).

Color values

HEX#A26BEC
RGBrgb(162, 107, 236)
HSLhsl(266, 77%, 67%)
HSVhsv(266, 55%, 93%)
CMYKcmyk(31.4%, 54.7%, 0%, 7.5%)
CIE-LABlab(56.34, 47.58, -57.36)
CIE-LCHlch(56.34, 74.52, 309.67°)
OKLaboklab(64.36% 0.097 -0.1621)
OKLCHoklch(64.36% 0.189 300.9)
XYZxyz(35.2948, 24.2527, 82.1624)
Luminance0.2425 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A26BEC #B5EC6B
analogous
#6B75EC #A26BEC #E26BEC
triadic
#A26BEC #ECA26B #6BECA2
tetradic
#A26BEC #EC6B75 #B5EC6B #6BECE2
square
#A26BEC #EC6B75 #B5EC6B #6BECE2
split-complementary
#A26BEC #ECE26B #75EC6B
monochromatic
#6219C4 #8035E5 #A26BEC #C4A1F3 #E6D7FA

Accessibility & contrast

On white

3.59
#A26BEC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.85
#A26BEC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A26BEC
5.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A26BEC#FFFFFF#000000##000000
##A26BEC1.003.595.855.85
#FFFFFF3.591.0021.0021.00
#0000005.8521.001.001.00
##0000005.8521.001.001.00

Color blindness preview

Protanopia (red-blind)
#3786F0
Deuteranopia (green-blind)
#4A86E9
Tritanopia (blue-blind)
#9384A1
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #a26bec;
/* rgb */ color: rgb(162, 107, 236);
/* oklch */ color: oklch(64.4% 0.189 300.9);
Tailwind
colors: {
  custom: {
    50: '#c197f3',
    500: '#a26bec',
    950: '#000000',
  },
}
SCSS
$custom: #a26bec;
$custom-light: #c197f3;
$custom-dark: #000000;
JSON
{
  "hex": "#a26bec",
  "rgb": {
    "r": 162,
    "g": 107,
    "b": 236
  },
  "hsl": {
    "h": 265.581,
    "s": 77.246,
    "l": 67.255
  },
  "oklch": {
    "l": 0.6436,
    "c": 0.18892,
    "h": 300.9
  },
  "luminance": 0.24253
}

Semantic roles & 50–950 ramp

primary
#A26BEC
secondary
#DCEEC5
accent
#D90C82
background
#FCF9FE
surface
#F8F2FD
border
#D1CCD5
text
#130E17
muted
#827E85

Preview Lab

Preview with #A26BEC

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

Preview Lab → · Contrast checker → · Palette generator →

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