#8261CD#8261CD

#8261CD is a mid, vivid violet. Relative luminance 0.177; OKLCH L 57.7% C 0.161 H 295.0°. Best body text is #FFFFFF at 4.62:1 contrast (WCAG AA passes).

Color values

HEX#8261CD
RGBrgb(130, 97, 205)
HSLhsl(258, 52%, 59%)
HSVhsv(258, 53%, 80%)
CMYKcmyk(36.6%, 52.7%, 0%, 19.6%)
CIE-LABlab(49.13, 37.45, -51.55)
CIE-LCHlch(49.13, 63.72, 306.00°)
OKLaboklab(57.7% 0.0679 -0.146)
OKLCHoklch(57.7% 0.161 295)
XYZxyz(24.4972, 17.7025, 59.8720)
Luminance0.1770 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8261CD #ACCD61
analogous
#6176CD #8261CD #B861CD
triadic
#8261CD #CD8261 #61CD82
tetradic
#8261CD #CD6176 #ACCD61 #61CDB8
square
#8261CD #CD6176 #ACCD61 #61CDB8
split-complementary
#8261CD #CDB861 #76CD61
monochromatic
#482B88 #603AB7 #8261CD #A78FDC #CCBEEA

Accessibility & contrast

On white

4.62
#8261CD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.54
#8261CD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #8261CD
4.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8261CD#FFFFFF#000000##FFFFFF
##8261CD1.004.624.544.62
#FFFFFF4.621.0021.001.00
#0000004.5421.001.0021.00
##FFFFFF4.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3476D1
Deuteranopia (green-blind)
#3C73CB
Tritanopia (blue-blind)
#70778E
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #8261cd;
/* rgb */ color: rgb(130, 97, 205);
/* oklch */ color: oklch(57.7% 0.161 295.0);
Tailwind
colors: {
  custom: {
    50: '#aa8fdd',
    500: '#8261cd',
    950: '#000000',
  },
}
SCSS
$custom: #8261cd;
$custom-light: #aa8fdd;
$custom-dark: #000000;
JSON
{
  "hex": "#8261cd",
  "rgb": {
    "r": 130,
    "g": 97,
    "b": 205
  },
  "hsl": {
    "h": 258.333,
    "s": 51.923,
    "l": 59.216
  },
  "oklch": {
    "l": 0.57698,
    "c": 0.16101,
    "h": 295
  },
  "luminance": 0.17703
}

Semantic roles & 50–950 ramp

primary
#8261CD
secondary
#CDDAB0
accent
#DB4CB0
background
#FAF8FD
surface
#F4F0FB
border
#CECBD4
text
#100C15
muted
#7F7D83

Preview Lab

Preview with #8261CD

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

Preview Lab → · Contrast checker → · Palette generator →

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