#8261E7#8261E7

#8261E7 is a mid, vivid violet. Relative luminance 0.191; OKLCH L 59.4% C 0.194 H 290.6°. Best body text is #000000 at 4.81:1 contrast (WCAG AA passes).

Color values

HEX#8261E7
RGBrgb(130, 97, 231)
HSLhsl(255, 74%, 64%)
HSVhsv(255, 58%, 91%)
CMYKcmyk(43.7%, 58%, 0%, 9.4%)
CIE-LABlab(50.76, 44.53, -63.69)
CIE-LCHlch(50.76, 77.71, 304.96°)
OKLaboklab(59.42% 0.0683 -0.1816)
OKLCHoklch(59.42% 0.194 290.6)
XYZxyz(27.9004, 19.0638, 77.7954)
Luminance0.1906 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8261E7 #C6E761
analogous
#6183E7 #8261E7 #C561E7
triadic
#8261E7 #E78261 #61E782
tetradic
#8261E7 #E76183 #C6E761 #61E7C5
square
#8261E7 #E76183 #C6E761 #61E7C5
split-complementary
#8261E7 #E7C561 #83E761
monochromatic
#401BB2 #582CDF #8261E7 #AC96EF #D6CBF7

Accessibility & contrast

On white

4.36
#8261E7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.81
#8261E7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8261E7
4.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8261E7#FFFFFF#000000##000000
##8261E71.004.364.814.81
#FFFFFF4.361.0021.0021.00
#0000004.8121.001.001.00
##0000004.8121.001.001.00

Color blindness preview

Protanopia (red-blind)
#007BEB
Deuteranopia (green-blind)
#0976E4
Tritanopia (blue-blind)
#647F9B
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #8261e7;
/* rgb */ color: rgb(130, 97, 231);
/* oklch */ color: oklch(59.4% 0.194 290.6);
Tailwind
colors: {
  custom: {
    50: '#ad8fef',
    500: '#8261e7',
    950: '#000000',
  },
}
SCSS
$custom: #8261e7;
$custom-light: #ad8fef;
$custom-dark: #000000;
JSON
{
  "hex": "#8261e7",
  "rgb": {
    "r": 130,
    "g": 97,
    "b": 231
  },
  "hsl": {
    "h": 254.776,
    "s": 73.626,
    "l": 64.314
  },
  "oklch": {
    "l": 0.59422,
    "c": 0.19407,
    "h": 290.6
  },
  "luminance": 0.19065
}

Semantic roles & 50–950 ramp

primary
#8261E7
secondary
#DEE9BB
accent
#D610A5
background
#FBF8FE
surface
#F6F0FD
border
#D0CBD5
text
#110C17
muted
#807D85

Preview Lab

Preview with #8261E7

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

Preview Lab → · Contrast checker → · Palette generator →

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