#8262E8#8262E8

#8262E8 is a mid, vivid violet. Relative luminance 0.193; OKLCH L 59.7% C 0.194 H 290.3°. Best body text is #000000 at 4.86:1 contrast (WCAG AA passes).

Color values

HEX#8262E8
RGBrgb(130, 98, 232)
HSLhsl(254, 74%, 65%)
HSVhsv(254, 58%, 91%)
CMYKcmyk(44%, 57.8%, 0%, 9%)
CIE-LABlab(51.04, 44.24, -63.80)
CIE-LCHlch(51.04, 77.64, 304.74°)
OKLaboklab(59.65% 0.0672 -0.1819)
OKLCHoklch(59.65% 0.194 290.3)
XYZxyz(28.1350, 19.3064, 78.5724)
Luminance0.1931 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8262E8 #C8E862
analogous
#6285E8 #8262E8 #C562E8
triadic
#8262E8 #E88262 #62E882
tetradic
#8262E8 #E86285 #C8E862 #62E8C5
square
#8262E8 #E86285 #C8E862 #62E8C5
split-complementary
#8262E8 #E8C562 #85E862
monochromatic
#3F1BB5 #572DE0 #8262E8 #AD97F0 #D7CDF8

Accessibility & contrast

On white

4.32
#8262E8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.86
#8262E8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8262E8
4.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8262E8#FFFFFF#000000##000000
##8262E81.004.324.864.86
#FFFFFF4.321.0021.0021.00
#0000004.8621.001.001.00
##0000004.8621.001.001.00

Color blindness preview

Protanopia (red-blind)
#007CEC
Deuteranopia (green-blind)
#0A77E5
Tritanopia (blue-blind)
#64809C
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #8262e8;
/* rgb */ color: rgb(130, 98, 232);
/* oklch */ color: oklch(59.7% 0.194 290.3);
Tailwind
colors: {
  custom: {
    50: '#ad90f0',
    500: '#8262e8',
    950: '#000000',
  },
}
SCSS
$custom: #8262e8;
$custom-light: #ad90f0;
$custom-dark: #000000;
JSON
{
  "hex": "#8262e8",
  "rgb": {
    "r": 130,
    "g": 98,
    "b": 232
  },
  "hsl": {
    "h": 254.328,
    "s": 74.444,
    "l": 64.706
  },
  "oklch": {
    "l": 0.5965,
    "c": 0.19396,
    "h": 290.3
  },
  "luminance": 0.19307
}

Semantic roles & 50–950 ramp

primary
#8262E8
secondary
#DFEABC
accent
#D70FA7
background
#FBF8FE
surface
#F6F0FD
border
#D0CBD5
text
#110C17
muted
#807D85

Preview Lab

Preview with #8262E8

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

Preview Lab → · Contrast checker → · Palette generator →

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