#8261CF#8261CF

#8261CF is a mid, vivid violet. Relative luminance 0.178; OKLCH L 57.8% C 0.164 H 294.6°. Best body text is #FFFFFF at 4.61:1 contrast (WCAG AA passes).

Color values

HEX#8261CF
RGBrgb(130, 97, 207)
HSLhsl(258, 53%, 60%)
HSVhsv(258, 53%, 81%)
CMYKcmyk(37.2%, 53.1%, 0%, 18.8%)
CIE-LABlab(49.25, 37.99, -52.51)
CIE-LCHlch(49.25, 64.81, 305.88°)
OKLaboklab(57.83% 0.068 -0.1488)
OKLCHoklch(57.83% 0.164 294.6)
XYZxyz(24.7402, 17.7997, 61.1516)
Luminance0.1780 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8261CF #AECF61
analogous
#6177CF #8261CF #B961CF
triadic
#8261CF #CF8261 #61CF82
tetradic
#8261CF #CF6177 #AECF61 #61CFB9
square
#8261CF #CF6177 #AECF61 #61CFB9
split-complementary
#8261CF #CFB961 #77CF61
monochromatic
#472A8B #5F39BA #8261CF #A790DD #CCBFEC

Accessibility & contrast

On white

4.61
#8261CF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.56
#8261CF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #8261CF
4.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8261CF#FFFFFF#000000##FFFFFF
##8261CF1.004.614.564.61
#FFFFFF4.611.0021.001.00
#0000004.5621.001.0021.00
##FFFFFF4.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3276D3
Deuteranopia (green-blind)
#3A73CC
Tritanopia (blue-blind)
#6F778F
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #8261cf;
/* rgb */ color: rgb(130, 97, 207);
/* oklch */ color: oklch(57.8% 0.164 294.6);
Tailwind
colors: {
  custom: {
    50: '#aa8fde',
    500: '#8261cf',
    950: '#000000',
  },
}
SCSS
$custom: #8261cf;
$custom-light: #aa8fde;
$custom-dark: #000000;
JSON
{
  "hex": "#8261cf",
  "rgb": {
    "r": 130,
    "g": 97,
    "b": 207
  },
  "hsl": {
    "h": 258,
    "s": 53.398,
    "l": 59.608
  },
  "oklch": {
    "l": 0.57825,
    "c": 0.16358,
    "h": 294.6
  },
  "luminance": 0.178
}

Semantic roles & 50–950 ramp

primary
#8261CF
secondary
#CEDBB1
accent
#DD4BB1
background
#FAF8FD
surface
#F4F0FB
border
#CECBD4
text
#100C15
muted
#7F7D83

Preview Lab

Preview with #8261CF

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

Preview Lab → · Contrast checker → · Palette generator →

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