#A26BC2#A26BC2

#A26BC2 is a mid, vivid violet. Relative luminance 0.221; OKLCH L 62.0% C 0.139 H 312.1°. Best body text is #000000 at 5.42:1 contrast (WCAG AA passes).

Color values

HEX#A26BC2
RGBrgb(162, 107, 194)
HSLhsl(278, 42%, 59%)
HSVhsv(278, 45%, 76%)
CMYKcmyk(16.5%, 44.8%, 0%, 23.9%)
CIE-LABlab(54.12, 37.77, -37.13)
CIE-LCHlch(54.12, 52.96, 315.49°)
OKLaboklab(62% 0.093 -0.1031)
OKLCHoklch(62% 0.139 312.1)
XYZxyz(29.8939, 22.0924, 53.7180)
Luminance0.2209 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A26BC2 #8BC26B
analogous
#776BC2 #A26BC2 #C26BB7
triadic
#A26BC2 #C2A26B #6BC2A2
tetradic
#A26BC2 #C2776B #8BC26B #6BB7C2
square
#A26BC2 #C2776B #8BC26B #6BB7C2
split-complementary
#A26BC2 #B7C26B #6BC277
monochromatic
#63347E #8546AA #A26BC2 #BD96D4 #D8C2E6

Accessibility & contrast

On white

3.88
#A26BC2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.42
#A26BC2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A26BC2
5.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A26BC2#FFFFFF#000000##000000
##A26BC21.003.885.425.42
#FFFFFF3.881.0021.0021.00
#0000005.4221.001.001.00
##0000005.4221.001.001.00

Color blindness preview

Protanopia (red-blind)
#597FC5
Deuteranopia (green-blind)
#6783C0
Tritanopia (blue-blind)
#9F788D
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #a26bc2;
/* rgb */ color: rgb(162, 107, 194);
/* oklch */ color: oklch(62.0% 0.139 312.1);
Tailwind
colors: {
  custom: {
    50: '#bf96d5',
    500: '#a26bc2',
    950: '#000000',
  },
}
SCSS
$custom: #a26bc2;
$custom-light: #bf96d5;
$custom-dark: #000000;
JSON
{
  "hex": "#a26bc2",
  "rgb": {
    "r": 162,
    "g": 107,
    "b": 194
  },
  "hsl": {
    "h": 277.931,
    "s": 41.627,
    "l": 59.02
  },
  "oklch": {
    "l": 0.61997,
    "c": 0.13887,
    "h": 312.1
  },
  "luminance": 0.22092
}

Semantic roles & 50–950 ramp

primary
#A26BC2
secondary
#C0D5B3
accent
#D15684
background
#FBF9FD
surface
#F7F2FA
border
#D0CCD3
text
#120D14
muted
#817E83

Preview Lab

Preview with #A26BC2

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

Preview Lab → · Contrast checker → · Palette generator →

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