#8262BA#8262BA

#8262BA is a mid, vivid violet. Relative luminance 0.170; OKLCH L 56.7% C 0.135 H 298.8°. Best body text is #FFFFFF at 4.77:1 contrast (WCAG AA passes).

Color values

HEX#8262BA
RGBrgb(130, 98, 186)
HSLhsl(262, 39%, 56%)
HSVhsv(262, 47%, 73%)
CMYKcmyk(30.1%, 47.3%, 0%, 27.1%)
CIE-LABlab(48.29, 31.88, -41.94)
CIE-LCHlch(48.29, 52.68, 307.24°)
OKLaboklab(56.73% 0.0649 -0.1178)
OKLCHoklch(56.73% 0.135 298.8)
XYZxyz(22.4344, 17.0262, 48.5493)
Luminance0.1703 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8262BA #9ABA62
analogous
#626EBA #8262BA #AE62BA
triadic
#8262BA #BA8262 #62BA82
tetradic
#8262BA #BA626E #9ABA62 #62BAAE
square
#8262BA #BA626E #9ABA62 #62BAAE
split-complementary
#8262BA #BAAE62 #6EBA62
monochromatic
#483170 #64449B #8262BA #A48DCD #C6B7DF

Accessibility & contrast

On white

4.77
#8262BA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.41
#8262BA on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##8262BA#FFFFFF#000000##FFFFFF
##8262BA1.004.774.414.77
#FFFFFF4.771.0021.001.00
#0000004.4121.001.0021.00
##FFFFFF4.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4673BD
Deuteranopia (green-blind)
#4D72B8
Tritanopia (blue-blind)
#777285
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #8262ba;
/* rgb */ color: rgb(130, 98, 186);
/* oklch */ color: oklch(56.7% 0.135 298.8);
Tailwind
colors: {
  custom: {
    50: '#a98fcf',
    500: '#8262ba',
    950: '#000000',
  },
}
SCSS
$custom: #8262ba;
$custom-light: #a98fcf;
$custom-dark: #000000;
JSON
{
  "hex": "#8262ba",
  "rgb": {
    "r": 130,
    "g": 98,
    "b": 186
  },
  "hsl": {
    "h": 261.818,
    "s": 38.938,
    "l": 55.686
  },
  "oklch": {
    "l": 0.56725,
    "c": 0.13452,
    "h": 298.8
  },
  "luminance": 0.17026
}

Semantic roles & 50–950 ramp

primary
#8262BA
secondary
#C1CEAA
accent
#CF59A4
background
#FAF8FC
surface
#F4F0F9
border
#CECBD2
text
#100C14
muted
#7F7D82

Preview Lab

Preview with #8262BA

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

Preview Lab → · Contrast checker → · Palette generator →

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