#8261E2#8261E2

#8261E2 is a mid, vivid violet. Relative luminance 0.188; OKLCH L 59.1% C 0.188 H 291.4°. Best body text is #000000 at 4.76:1 contrast (WCAG AA passes).

Color values

HEX#8261E2
RGBrgb(130, 97, 226)
HSLhsl(255, 69%, 63%)
HSVhsv(255, 57%, 89%)
CMYKcmyk(42.5%, 57.1%, 0%, 11.4%)
CIE-LABlab(50.44, 43.15, -61.40)
CIE-LCHlch(50.44, 75.05, 305.10°)
OKLaboklab(59.08% 0.0684 -0.1749)
OKLCHoklch(59.08% 0.188 291.4)
XYZxyz(27.2043, 18.7854, 74.1293)
Luminance0.1879 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8261E2 #C1E261
analogous
#6180E2 #8261E2 #C261E2
triadic
#8261E2 #E28261 #61E282
tetradic
#8261E2 #E26180 #C1E261 #61E2C2
square
#8261E2 #E26180 #C1E261 #61E2C2
split-complementary
#8261E2 #E2C261 #80E261
monochromatic
#431FA9 #592DD9 #8261E2 #AB95EB #D4C8F5

Accessibility & contrast

On white

4.41
#8261E2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.76
#8261E2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8261E2
4.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8261E2#FFFFFF#000000##000000
##8261E21.004.414.764.76
#FFFFFF4.411.0021.0021.00
#0000004.7621.001.001.00
##0000004.7621.001.001.00

Color blindness preview

Protanopia (red-blind)
#0D7AE6
Deuteranopia (green-blind)
#1C75DF
Tritanopia (blue-blind)
#677D98
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #8261e2;
/* rgb */ color: rgb(130, 97, 226);
/* oklch */ color: oklch(59.1% 0.188 291.4);
Tailwind
colors: {
  custom: {
    50: '#ac8fec',
    500: '#8261e2',
    950: '#000000',
  },
}
SCSS
$custom: #8261e2;
$custom-light: #ac8fec;
$custom-dark: #000000;
JSON
{
  "hex": "#8261e2",
  "rgb": {
    "r": 130,
    "g": 97,
    "b": 226
  },
  "hsl": {
    "h": 255.349,
    "s": 68.984,
    "l": 63.333
  },
  "oklch": {
    "l": 0.59078,
    "c": 0.1878,
    "h": 291.4
  },
  "luminance": 0.18786
}

Semantic roles & 50–950 ramp

primary
#8261E2
secondary
#DBE6B8
accent
#D115A1
background
#FBF8FE
surface
#F6F0FD
border
#D0CBD5
text
#110C16
muted
#807D84

Preview Lab

Preview with #8261E2

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

Preview Lab → · Contrast checker → · Palette generator →

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