#8262AA#8262AA

#8262AA is a mid, moderate violet. Relative luminance 0.164; OKLCH L 55.8% C 0.113 H 303.4°. Best body text is #FFFFFF at 4.91:1 contrast (WCAG AA passes).

Color values

HEX#8262AA
RGBrgb(130, 98, 170)
HSLhsl(267, 30%, 53%)
HSVhsv(267, 42%, 67%)
CMYKcmyk(23.5%, 42.4%, 0%, 33.3%)
CIE-LABlab(47.47, 27.85, -33.91)
CIE-LCHlch(47.47, 43.88, 309.40°)
OKLaboklab(55.84% 0.0624 -0.0945)
OKLCHoklch(55.84% 0.113 303.4)
XYZxyz(20.8278, 16.3835, 40.0875)
Luminance0.1638 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8262AA #8AAA62
analogous
#6266AA #8262AA #A662AA
triadic
#8262AA #AA8262 #62AA82
tetradic
#8262AA #AA6266 #8AAA62 #62AAA6
square
#8262AA #AA6266 #8AAA62 #62AAA6
split-complementary
#8262AA #AAA662 #66AA62
monochromatic
#46335E #644986 #8262AA #A28ABF #C1B1D5

Accessibility & contrast

On white

4.91
#8262AA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.28
#8262AA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8262AA
4.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8262AA#FFFFFF#000000##FFFFFF
##8262AA1.004.914.284.91
#FFFFFF4.911.0021.001.00
#0000004.2821.001.0021.00
##FFFFFF4.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5070AD
Deuteranopia (green-blind)
#5771A8
Tritanopia (blue-blind)
#7B6E7E
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #8262aa;
/* rgb */ color: rgb(130, 98, 170);
/* oklch */ color: oklch(55.8% 0.113 303.4);
Tailwind
colors: {
  custom: {
    50: '#a88fc3',
    500: '#8262aa',
    950: '#000000',
  },
}
SCSS
$custom: #8262aa;
$custom-light: #a88fc3;
$custom-dark: #000000;
JSON
{
  "hex": "#8262aa",
  "rgb": {
    "r": 130,
    "g": 98,
    "b": 170
  },
  "hsl": {
    "h": 266.667,
    "s": 29.752,
    "l": 52.549
  },
  "oklch": {
    "l": 0.55841,
    "c": 0.11321,
    "h": 303.4
  },
  "luminance": 0.16383
}

Semantic roles & 50–950 ramp

primary
#8262AA
secondary
#B6C4A4
accent
#C66299
background
#FAF8FC
surface
#F4F0F8
border
#CECBD1
text
#100C12
muted
#7F7D81

Preview Lab

Preview with #8262AA

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

Preview Lab → · Contrast checker → · Palette generator →

#8262AA Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva