#8262E7#8262E7

#8262E7 is a mid, vivid violet. Relative luminance 0.193; OKLCH L 59.6% C 0.193 H 290.4°. Best body text is #000000 at 4.85:1 contrast (WCAG AA passes).

Color values

HEX#8262E7
RGBrgb(130, 98, 231)
HSLhsl(254, 73%, 65%)
HSVhsv(254, 58%, 91%)
CMYKcmyk(43.7%, 57.6%, 0%, 9.4%)
CIE-LABlab(50.98, 43.97, -63.34)
CIE-LCHlch(50.98, 77.11, 304.77°)
OKLaboklab(59.58% 0.0672 -0.1806)
OKLCHoklch(59.58% 0.193 290.4)
XYZxyz(27.9934, 19.2498, 77.8264)
Luminance0.1925 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8262E7 #C7E762
analogous
#6285E7 #8262E7 #C562E7
triadic
#8262E7 #E78262 #62E782
tetradic
#8262E7 #E76285 #C7E762 #62E7C5
square
#8262E7 #E76285 #C7E762 #62E7C5
split-complementary
#8262E7 #E7C562 #85E762
monochromatic
#401BB3 #582DDF #8262E7 #AC97EF #D7CCF7

Accessibility & contrast

On white

4.33
#8262E7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.85
#8262E7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8262E7
4.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8262E7#FFFFFF#000000##000000
##8262E71.004.334.854.85
#FFFFFF4.331.0021.0021.00
#0000004.8521.001.001.00
##0000004.8521.001.001.00

Color blindness preview

Protanopia (red-blind)
#007CEB
Deuteranopia (green-blind)
#0F76E4
Tritanopia (blue-blind)
#64809B
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #8262e7;
/* rgb */ color: rgb(130, 98, 231);
/* oklch */ color: oklch(59.6% 0.193 290.4);
Tailwind
colors: {
  custom: {
    50: '#ad90ef',
    500: '#8262e7',
    950: '#000000',
  },
}
SCSS
$custom: #8262e7;
$custom-light: #ad90ef;
$custom-dark: #000000;
JSON
{
  "hex": "#8262e7",
  "rgb": {
    "r": 130,
    "g": 98,
    "b": 231
  },
  "hsl": {
    "h": 254.436,
    "s": 73.481,
    "l": 64.51
  },
  "oklch": {
    "l": 0.59581,
    "c": 0.19271,
    "h": 290.4
  },
  "luminance": 0.19251
}

Semantic roles & 50–950 ramp

primary
#8262E7
secondary
#DEE9BB
accent
#D610A6
background
#FBF8FE
surface
#F6F0FD
border
#D0CBD5
text
#110C17
muted
#807D85

Preview Lab

Preview with #8262E7

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

Preview Lab → · Contrast checker → · Palette generator →

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