#8261EB#8261EB

#8261EB is a mid, vivid violet. Relative luminance 0.193; OKLCH L 59.7% C 0.199 H 290.0°. Best body text is #000000 at 4.86:1 contrast (WCAG AA passes).

Color values

HEX#8261EB
RGBrgb(130, 97, 235)
HSLhsl(254, 78%, 65%)
HSVhsv(254, 59%, 92%)
CMYKcmyk(44.7%, 58.7%, 0%, 7.8%)
CIE-LABlab(51.03, 45.64, -65.51)
CIE-LCHlch(51.03, 79.84, 304.86°)
OKLaboklab(59.7% 0.0682 -0.187)
OKLCHoklch(59.7% 0.199 290)
XYZxyz(28.4718, 19.2924, 80.8048)
Luminance0.1929 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8261EB #CAEB61
analogous
#6185EB #8261EB #C761EB
triadic
#8261EB #EB8261 #61EB82
tetradic
#8261EB #EB6185 #CAEB61 #61EBC7
square
#8261EB #EB6185 #CAEB61 #61EBC7
split-complementary
#8261EB #EBC761 #85EB61
monochromatic
#3E18BA #572BE4 #8261EB #AD97F2 #D8CEF9

Accessibility & contrast

On white

4.32
#8261EB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.86
#8261EB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8261EB
4.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8261EB#FFFFFF#000000##000000
##8261EB1.004.324.864.86
#FFFFFF4.321.0021.0021.00
#0000004.8621.001.001.00
##0000004.8621.001.001.00

Color blindness preview

Protanopia (red-blind)
#007CF0
Deuteranopia (green-blind)
#0076E8
Tritanopia (blue-blind)
#62809D
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #8261eb;
/* rgb */ color: rgb(130, 97, 235);
/* oklch */ color: oklch(59.7% 0.199 290.0);
Tailwind
colors: {
  custom: {
    50: '#ad8ff2',
    500: '#8261eb',
    950: '#000000',
  },
}
SCSS
$custom: #8261eb;
$custom-light: #ad8ff2;
$custom-dark: #000000;
JSON
{
  "hex": "#8261eb",
  "rgb": {
    "r": 130,
    "g": 97,
    "b": 235
  },
  "hsl": {
    "h": 254.348,
    "s": 77.528,
    "l": 65.098
  },
  "oklch": {
    "l": 0.59701,
    "c": 0.19905,
    "h": 290
  },
  "luminance": 0.19293
}

Semantic roles & 50–950 ramp

primary
#8261EB
secondary
#E0EBBD
accent
#DA0CA8
background
#FBF8FE
surface
#F6F0FD
border
#D0CBD5
text
#110C17
muted
#807D85

Preview Lab

Preview with #8261EB

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

Preview Lab → · Contrast checker → · Palette generator →

#8261EB Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva