#8262EB#8262EB

#8262EB is a mid, vivid violet. Relative luminance 0.195; OKLCH L 59.9% C 0.198 H 289.8°. Best body text is #000000 at 4.90:1 contrast (WCAG AA passes).

Color values

HEX#8262EB
RGBrgb(130, 98, 235)
HSLhsl(254, 77%, 65%)
HSVhsv(254, 58%, 92%)
CMYKcmyk(44.7%, 58.3%, 0%, 7.8%)
CIE-LABlab(51.24, 45.08, -65.16)
CIE-LCHlch(51.24, 79.23, 304.67°)
OKLaboklab(59.86% 0.0671 -0.186)
OKLCHoklch(59.86% 0.198 289.8)
XYZxyz(28.5648, 19.4783, 80.8358)
Luminance0.1948 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8262EB #CBEB62
analogous
#6286EB #8262EB #C762EB
triadic
#8262EB #EB8262 #62EB82
tetradic
#8262EB #EB6286 #CBEB62 #62EBC7
square
#8262EB #EB6286 #CBEB62 #62EBC7
split-complementary
#8262EB #EBC762 #86EB62
monochromatic
#3E18BB #572CE4 #8262EB #AD98F2 #D8CFF9

Accessibility & contrast

On white

4.29
#8262EB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.90
#8262EB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8262EB
4.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8262EB#FFFFFF#000000##000000
##8262EB1.004.294.904.90
#FFFFFF4.291.0021.0021.00
#0000004.9021.001.001.00
##0000004.9021.001.001.00

Color blindness preview

Protanopia (red-blind)
#007DEF
Deuteranopia (green-blind)
#0077E8
Tritanopia (blue-blind)
#62819D
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #8262eb;
/* rgb */ color: rgb(130, 98, 235);
/* oklch */ color: oklch(59.9% 0.198 289.8);
Tailwind
colors: {
  custom: {
    50: '#ad90f2',
    500: '#8262eb',
    950: '#000000',
  },
}
SCSS
$custom: #8262eb;
$custom-light: #ad90f2;
$custom-dark: #000000;
JSON
{
  "hex": "#8262eb",
  "rgb": {
    "r": 130,
    "g": 98,
    "b": 235
  },
  "hsl": {
    "h": 254.015,
    "s": 77.401,
    "l": 65.294
  },
  "oklch": {
    "l": 0.59859,
    "c": 0.19771,
    "h": 289.8
  },
  "luminance": 0.19479
}

Semantic roles & 50–950 ramp

primary
#8262EB
secondary
#E1EBBD
accent
#DA0CAA
background
#FBF8FE
surface
#F6F0FD
border
#D0CBD5
text
#110C17
muted
#807D85

Preview Lab

Preview with #8262EB

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

Preview Lab → · Contrast checker → · Palette generator →

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