#8262DC#8262DC

#8262DC is a mid, vivid violet. Relative luminance 0.186; OKLCH L 58.8% C 0.179 H 292.1°. Best body text is #000000 at 4.73:1 contrast (WCAG AA passes).

Color values

HEX#8262DC
RGBrgb(130, 98, 220)
HSLhsl(256, 64%, 62%)
HSVhsv(256, 55%, 86%)
CMYKcmyk(40.9%, 55.5%, 0%, 13.7%)
CIE-LABlab(50.27, 40.94, -58.27)
CIE-LCHlch(50.27, 71.21, 305.09°)
OKLaboklab(58.84% 0.0672 -0.1657)
OKLCHoklch(58.84% 0.179 292.1)
XYZxyz(26.4884, 18.6478, 69.9000)
Luminance0.1865 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8262DC #BCDC62
analogous
#627FDC #8262DC #BF62DC
triadic
#8262DC #DC8262 #62DC82
tetradic
#8262DC #DC627F #BCDC62 #62DCBF
square
#8262DC #DC627F #BCDC62 #62DCBF
split-complementary
#8262DC #DCBF62 #7FDC62
monochromatic
#4424A0 #5A30D1 #8262DC #AA94E7 #D2C6F2

Accessibility & contrast

On white

4.44
#8262DC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.73
#8262DC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8262DC
4.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8262DC#FFFFFF#000000##000000
##8262DC1.004.444.734.73
#FFFFFF4.441.0021.0021.00
#0000004.7321.001.001.00
##0000004.7321.001.001.00

Color blindness preview

Protanopia (red-blind)
#2279E0
Deuteranopia (green-blind)
#2B75D9
Tritanopia (blue-blind)
#6A7C96
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #8262dc;
/* rgb */ color: rgb(130, 98, 220);
/* oklch */ color: oklch(58.8% 0.179 292.1);
Tailwind
colors: {
  custom: {
    50: '#ab8fe8',
    500: '#8262dc',
    950: '#000000',
  },
}
SCSS
$custom: #8262dc;
$custom-light: #ab8fe8;
$custom-dark: #000000;
JSON
{
  "hex": "#8262dc",
  "rgb": {
    "r": 130,
    "g": 98,
    "b": 220
  },
  "hsl": {
    "h": 255.738,
    "s": 63.542,
    "l": 62.353
  },
  "oklch": {
    "l": 0.58836,
    "c": 0.17882,
    "h": 292.1
  },
  "luminance": 0.18648
}

Semantic roles & 50–950 ramp

primary
#8262DC
secondary
#D7E3B7
accent
#CB1A9D
background
#FAF8FE
surface
#F5F0FD
border
#CFCBD5
text
#110C16
muted
#807D84

Preview Lab

Preview with #8262DC

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

Preview Lab → · Contrast checker → · Palette generator →

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