#8262CD#8262CD

#8262CD is a mid, vivid violet. Relative luminance 0.179; OKLCH L 57.9% C 0.160 H 294.7°. Best body text is #FFFFFF at 4.59:1 contrast (WCAG AA passes).

Color values

HEX#8262CD
RGBrgb(130, 98, 205)
HSLhsl(258, 52%, 59%)
HSVhsv(258, 52%, 80%)
CMYKcmyk(36.6%, 52.2%, 0%, 19.6%)
CIE-LABlab(49.36, 36.87, -51.19)
CIE-LCHlch(49.36, 63.09, 305.77°)
OKLaboklab(57.87% 0.0667 -0.1449)
OKLCHoklch(57.87% 0.16 294.7)
XYZxyz(24.5902, 17.8885, 59.9030)
Luminance0.1789 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8262CD #ADCD62
analogous
#6278CD #8262CD #B862CD
triadic
#8262CD #CD8262 #62CD82
tetradic
#8262CD #CD6278 #ADCD62 #62CDB8
square
#8262CD #CD6278 #ADCD62 #62CDB8
split-complementary
#8262CD #CDB862 #78CD62
monochromatic
#482C89 #603AB7 #8262CD #A790DC #CCBFEB

Accessibility & contrast

On white

4.59
#8262CD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.58
#8262CD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #8262CD
4.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8262CD#FFFFFF#000000##FFFFFF
##8262CD1.004.594.584.59
#FFFFFF4.591.0021.001.00
#0000004.5821.001.0021.00
##FFFFFF4.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3676D1
Deuteranopia (green-blind)
#3E74CB
Tritanopia (blue-blind)
#70788E
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #8262cd;
/* rgb */ color: rgb(130, 98, 205);
/* oklch */ color: oklch(57.9% 0.160 294.7);
Tailwind
colors: {
  custom: {
    50: '#aa8fdd',
    500: '#8262cd',
    950: '#000000',
  },
}
SCSS
$custom: #8262cd;
$custom-light: #aa8fdd;
$custom-dark: #000000;
JSON
{
  "hex": "#8262cd",
  "rgb": {
    "r": 130,
    "g": 98,
    "b": 205
  },
  "hsl": {
    "h": 257.944,
    "s": 51.691,
    "l": 59.412
  },
  "oklch": {
    "l": 0.57867,
    "c": 0.1595,
    "h": 294.7
  },
  "luminance": 0.17889
}

Semantic roles & 50–950 ramp

primary
#8262CD
secondary
#CEDAB1
accent
#DB4DB1
background
#FAF8FD
surface
#F4F0FB
border
#CECBD4
text
#100C15
muted
#7F7D83

Preview Lab

Preview with #8262CD

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

Preview Lab → · Contrast checker → · Palette generator →

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