#A26FDF#A26FDF

#A26FDF is a light, vivid violet. Relative luminance 0.244; OKLCH L 64.2% C 0.167 H 303.0°. Best body text is #000000 at 5.88:1 contrast (WCAG AA passes).

Color values

HEX#A26FDF
RGBrgb(162, 111, 223)
HSLhsl(267, 64%, 65%)
HSVhsv(267, 50%, 87%)
CMYKcmyk(27.4%, 50.2%, 0%, 12.5%)
CIE-LABlab(56.46, 42.25, -49.88)
CIE-LCHlch(56.46, 65.37, 310.26°)
OKLaboklab(64.22% 0.0911 -0.1402)
OKLCHoklch(64.22% 0.167 303)
XYZxyz(33.9011, 24.3780, 72.7172)
Luminance0.2438 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A26FDF #ACDF6F
analogous
#6F74DF #A26FDF #DA6FDF
triadic
#A26FDF #DFA26F #6FDFA2
tetradic
#A26FDF #DF6F74 #ACDF6F #6FDFDA
square
#A26FDF #DF6F74 #ACDF6F #6FDFDA
split-complementary
#A26FDF #DFDA6F #74DF6F
monochromatic
#6426AD #823DD4 #A26FDF #C2A1EA #E3D3F5

Accessibility & contrast

On white

3.57
#A26FDF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.88
#A26FDF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A26FDF
5.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A26FDF#FFFFFF#000000##000000
##A26FDF1.003.575.885.88
#FFFFFF3.571.0021.0021.00
#0000005.8821.001.001.00
##0000005.8821.001.001.00

Color blindness preview

Protanopia (red-blind)
#4B86E3
Deuteranopia (green-blind)
#5A87DC
Tritanopia (blue-blind)
#97839D
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #a26fdf;
/* rgb */ color: rgb(162, 111, 223);
/* oklch */ color: oklch(64.2% 0.167 303.0);
Tailwind
colors: {
  custom: {
    50: '#c099e9',
    500: '#a26fdf',
    950: '#000000',
  },
}
SCSS
$custom: #a26fdf;
$custom-light: #c099e9;
$custom-dark: #000000;
JSON
{
  "hex": "#a26fdf",
  "rgb": {
    "r": 162,
    "g": 111,
    "b": 223
  },
  "hsl": {
    "h": 267.321,
    "s": 63.636,
    "l": 65.49
  },
  "oklch": {
    "l": 0.64219,
    "c": 0.16722,
    "h": 303
  },
  "luminance": 0.24378
}

Semantic roles & 50–950 ramp

primary
#A26FDF
secondary
#D7E8C2
accent
#CB1A7B
background
#FCF9FE
surface
#F8F2FD
border
#D1CCD5
text
#130E16
muted
#827E84

Preview Lab

Preview with #A26FDF

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

Preview Lab → · Contrast checker → · Palette generator →

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