#A26BF2#A26BF2

#A26BF2 is a light, vivid violet. Relative luminance 0.246; OKLCH L 64.7% C 0.196 H 299.7°. Best body text is #000000 at 5.92:1 contrast (WCAG AA passes).

Color values

HEX#A26BF2
RGBrgb(162, 107, 242)
HSLhsl(264, 84%, 68%)
HSVhsv(264, 56%, 95%)
CMYKcmyk(33.1%, 55.8%, 0%, 5.1%)
CIE-LABlab(56.69, 49.05, -60.14)
CIE-LCHlch(56.69, 77.60, 309.20°)
OKLaboklab(64.73% 0.0972 -0.1702)
OKLCHoklch(64.73% 0.196 299.7)
XYZxyz(36.1811, 24.6073, 86.8307)
Luminance0.2461 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A26BF2 #BBF26B
analogous
#6B77F2 #A26BF2 #E56BF2
triadic
#A26BF2 #F2A26B #6BF2A2
tetradic
#A26BF2 #F26B77 #BBF26B #6BF2E5
square
#A26BF2 #F26B77 #BBF26B #6BF2E5
split-complementary
#A26BF2 #F2E56B #77F26B
monochromatic
#6012D0 #7F33ED #A26BF2 #C5A3F7 #E9DCFC

Accessibility & contrast

On white

3.55
#A26BF2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.92
#A26BF2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A26BF2
5.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A26BF2#FFFFFF#000000##000000
##A26BF21.003.555.925.92
#FFFFFF3.551.0021.0021.00
#0000005.9221.001.001.00
##0000005.9221.001.001.00

Color blindness preview

Protanopia (red-blind)
#2F88F6
Deuteranopia (green-blind)
#4387EF
Tritanopia (blue-blind)
#9186A4
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #a26bf2;
/* rgb */ color: rgb(162, 107, 242);
/* oklch */ color: oklch(64.7% 0.196 299.7);
Tailwind
colors: {
  custom: {
    50: '#c297f7',
    500: '#a26bf2',
    950: '#000000',
  },
}
SCSS
$custom: #a26bf2;
$custom-light: #c297f7;
$custom-dark: #000000;
JSON
{
  "hex": "#a26bf2",
  "rgb": {
    "r": 162,
    "g": 107,
    "b": 242
  },
  "hsl": {
    "h": 264.444,
    "s": 83.851,
    "l": 68.431
  },
  "oklch": {
    "l": 0.64731,
    "c": 0.19602,
    "h": 299.7
  },
  "luminance": 0.24608
}

Semantic roles & 50–950 ramp

primary
#A26BF2
secondary
#E0F1C8
accent
#E00587
background
#FCF9FF
surface
#F8F2FF
border
#D1CCD7
text
#130E17
muted
#827E85

Preview Lab

Preview with #A26BF2

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

Preview Lab → · Contrast checker → · Palette generator →

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