#8262CE#8262CE

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

Color values

HEX#8262CE
RGBrgb(130, 98, 206)
HSLhsl(258, 52%, 60%)
HSVhsv(258, 52%, 81%)
CMYKcmyk(36.9%, 52.4%, 0%, 19.2%)
CIE-LABlab(49.42, 37.14, -51.67)
CIE-LCHlch(49.42, 63.63, 305.71°)
OKLaboklab(57.93% 0.0667 -0.1463)
OKLCHoklch(57.93% 0.161 294.5)
XYZxyz(24.7113, 17.9369, 60.5408)
Luminance0.1794 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8262CE #AECE62
analogous
#6278CE #8262CE #B862CE
triadic
#8262CE #CE8262 #62CE82
tetradic
#8262CE #CE6278 #AECE62 #62CEB8
square
#8262CE #CE6278 #AECE62 #62CEB8
split-complementary
#8262CE #CEB862 #78CE62
monochromatic
#472B8A #5F3AB9 #8262CE #A791DD #CCBFEB

Accessibility & contrast

On white

4.58
#8262CE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.59
#8262CE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8262CE
4.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8262CE#FFFFFF#000000##000000
##8262CE1.004.584.594.59
#FFFFFF4.581.0021.0021.00
#0000004.5921.001.001.00
##0000004.5921.001.001.00

Color blindness preview

Protanopia (red-blind)
#3577D2
Deuteranopia (green-blind)
#3D74CC
Tritanopia (blue-blind)
#70788F
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #8262ce;
/* rgb */ color: rgb(130, 98, 206);
/* oklch */ color: oklch(57.9% 0.161 294.5);
Tailwind
colors: {
  custom: {
    50: '#aa8fdd',
    500: '#8262ce',
    950: '#000000',
  },
}
SCSS
$custom: #8262ce;
$custom-light: #aa8fdd;
$custom-dark: #000000;
JSON
{
  "hex": "#8262ce",
  "rgb": {
    "r": 130,
    "g": 98,
    "b": 206
  },
  "hsl": {
    "h": 257.778,
    "s": 52.427,
    "l": 59.608
  },
  "oklch": {
    "l": 0.5793,
    "c": 0.1608,
    "h": 294.5
  },
  "luminance": 0.17937
}

Semantic roles & 50–950 ramp

primary
#8262CE
secondary
#CEDBB1
accent
#DC4CB1
background
#FAF8FD
surface
#F4F0FB
border
#CECBD4
text
#100C15
muted
#7F7D83

Preview Lab

Preview with #8262CE

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

Preview Lab → · Contrast checker → · Palette generator →

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