#8261BB#8261BB

#8261BB is a mid, vivid violet. Relative luminance 0.169; OKLCH L 56.6% C 0.137 H 298.9°. Best body text is #FFFFFF at 4.80:1 contrast (WCAG AA passes).

Color values

HEX#8261BB
RGBrgb(130, 97, 187)
HSLhsl(262, 40%, 56%)
HSVhsv(262, 48%, 73%)
CMYKcmyk(30.5%, 48.1%, 0%, 26.7%)
CIE-LABlab(48.11, 32.72, -42.81)
CIE-LCHlch(48.11, 53.88, 307.39°)
OKLaboklab(56.61% 0.0664 -0.1204)
OKLCHoklch(56.61% 0.137 298.9)
XYZxyz(22.4481, 16.8829, 49.0801)
Luminance0.1688 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8261BB #9ABB61
analogous
#616DBB #8261BB #AF61BB
triadic
#8261BB #BB8261 #61BB82
tetradic
#8261BB #BB616D #9ABB61 #61BBAF
square
#8261BB #BB616D #9ABB61 #61BBAF
split-complementary
#8261BB #BBAF61 #6DBB61
monochromatic
#483171 #64439C #8261BB #A48CCD #C6B7E0

Accessibility & contrast

On white

4.80
#8261BB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.38
#8261BB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8261BB
4.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8261BB#FFFFFF#000000##FFFFFF
##8261BB1.004.804.384.80
#FFFFFF4.801.0021.001.00
#0000004.3821.001.0021.00
##FFFFFF4.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4472BE
Deuteranopia (green-blind)
#4C71B9
Tritanopia (blue-blind)
#767285
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #8261bb;
/* rgb */ color: rgb(130, 97, 187);
/* oklch */ color: oklch(56.6% 0.137 298.9);
Tailwind
colors: {
  custom: {
    50: '#a98ed0',
    500: '#8261bb',
    950: '#000000',
  },
}
SCSS
$custom: #8261bb;
$custom-light: #a98ed0;
$custom-dark: #000000;
JSON
{
  "hex": "#8261bb",
  "rgb": {
    "r": 130,
    "g": 97,
    "b": 187
  },
  "hsl": {
    "h": 262,
    "s": 39.823,
    "l": 55.686
  },
  "oklch": {
    "l": 0.56607,
    "c": 0.13746,
    "h": 298.9
  },
  "luminance": 0.16883
}

Semantic roles & 50–950 ramp

primary
#8261BB
secondary
#C1CFA9
accent
#D058A4
background
#FAF8FC
surface
#F4F0F9
border
#CECBD2
text
#100C14
muted
#7F7D82

Preview Lab

Preview with #8261BB

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

Preview Lab → · Contrast checker → · Palette generator →

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