#8261CB#8261CB

#8261CB is a mid, vivid violet. Relative luminance 0.176; OKLCH L 57.6% C 0.158 H 295.3°. Best body text is #FFFFFF at 4.64:1 contrast (WCAG AA passes).

Color values

HEX#8261CB
RGBrgb(130, 97, 203)
HSLhsl(259, 50%, 59%)
HSVhsv(259, 52%, 80%)
CMYKcmyk(36%, 52.2%, 0%, 20.4%)
CIE-LABlab(49.02, 36.92, -50.60)
CIE-LCHlch(49.02, 62.63, 306.12°)
OKLaboklab(57.57% 0.0678 -0.1432)
OKLCHoklch(57.57% 0.158 295.3)
XYZxyz(24.2573, 17.6066, 58.6087)
Luminance0.1761 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8261CB #AACB61
analogous
#6175CB #8261CB #B761CB
triadic
#8261CB #CB8261 #61CB82
tetradic
#8261CB #CB6175 #AACB61 #61CBB7
square
#8261CB #CB6175 #AACB61 #61CBB7
split-complementary
#8261CB #CBB761 #75CB61
monochromatic
#482C86 #613BB4 #8261CB #A68FDA #CBBDE9

Accessibility & contrast

On white

4.64
#8261CB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.52
#8261CB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #8261CB
4.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8261CB#FFFFFF#000000##FFFFFF
##8261CB1.004.644.524.64
#FFFFFF4.641.0021.001.00
#0000004.5221.001.0021.00
##FFFFFF4.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3675CF
Deuteranopia (green-blind)
#3E73C9
Tritanopia (blue-blind)
#71768D
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #8261cb;
/* rgb */ color: rgb(130, 97, 203);
/* oklch */ color: oklch(57.6% 0.158 295.3);
Tailwind
colors: {
  custom: {
    50: '#aa8fdb',
    500: '#8261cb',
    950: '#000000',
  },
}
SCSS
$custom: #8261cb;
$custom-light: #aa8fdb;
$custom-dark: #000000;
JSON
{
  "hex": "#8261cb",
  "rgb": {
    "r": 130,
    "g": 97,
    "b": 203
  },
  "hsl": {
    "h": 258.679,
    "s": 50.476,
    "l": 58.824
  },
  "oklch": {
    "l": 0.57573,
    "c": 0.15841,
    "h": 295.3
  },
  "luminance": 0.17607
}

Semantic roles & 50–950 ramp

primary
#8261CB
secondary
#CCD9AF
accent
#DA4EAE
background
#FAF8FD
surface
#F4F0FB
border
#CECBD4
text
#100C15
muted
#7F7D83

Preview Lab

Preview with #8261CB

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

Preview Lab → · Contrast checker → · Palette generator →

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