#8261EA#8261EA

#8261EA is a mid, vivid violet. Relative luminance 0.192; OKLCH L 59.6% C 0.198 H 290.2°. Best body text is #000000 at 4.85:1 contrast (WCAG AA passes).

Color values

HEX#8261EA
RGBrgb(130, 97, 234)
HSLhsl(254, 77%, 65%)
HSVhsv(254, 59%, 92%)
CMYKcmyk(44.4%, 58.5%, 0%, 8.2%)
CIE-LABlab(50.96, 45.36, -65.06)
CIE-LCHlch(50.96, 79.31, 304.89°)
OKLaboklab(59.63% 0.0683 -0.1856)
OKLCHoklch(59.63% 0.198 290.2)
XYZxyz(28.3277, 19.2347, 80.0461)
Luminance0.1924 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8261EA #C9EA61
analogous
#6184EA #8261EA #C761EA
triadic
#8261EA #EA8261 #61EA82
tetradic
#8261EA #EA6184 #C9EA61 #61EAC7
square
#8261EA #EA6184 #C9EA61 #61EAC7
split-complementary
#8261EA #EAC761 #84EA61
monochromatic
#3F18B8 #572BE3 #8261EA #AD97F1 #D7CDF8

Accessibility & contrast

On white

4.33
#8261EA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.85
#8261EA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8261EA
4.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8261EA#FFFFFF#000000##000000
##8261EA1.004.334.854.85
#FFFFFF4.331.0021.0021.00
#0000004.8521.001.001.00
##0000004.8521.001.001.00

Color blindness preview

Protanopia (red-blind)
#007CEE
Deuteranopia (green-blind)
#0076E7
Tritanopia (blue-blind)
#63809C
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #8261ea;
/* rgb */ color: rgb(130, 97, 234);
/* oklch */ color: oklch(59.6% 0.198 290.2);
Tailwind
colors: {
  custom: {
    50: '#ad8ff2',
    500: '#8261ea',
    950: '#000000',
  },
}
SCSS
$custom: #8261ea;
$custom-light: #ad8ff2;
$custom-dark: #000000;
JSON
{
  "hex": "#8261ea",
  "rgb": {
    "r": 130,
    "g": 97,
    "b": 234
  },
  "hsl": {
    "h": 254.453,
    "s": 76.536,
    "l": 64.902
  },
  "oklch": {
    "l": 0.59631,
    "c": 0.1978,
    "h": 290.2
  },
  "luminance": 0.19236
}

Semantic roles & 50–950 ramp

primary
#8261EA
secondary
#E0EBBC
accent
#D90DA8
background
#FBF8FE
surface
#F6F0FD
border
#D0CBD5
text
#110C17
muted
#807D85

Preview Lab

Preview with #8261EA

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

Preview Lab → · Contrast checker → · Palette generator →

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