#8462EC#8462EC

#8462EC is a mid, vivid violet. Relative luminance 0.197; OKLCH L 60.1% C 0.199 H 290.5°. Best body text is #000000 at 4.94:1 contrast (WCAG AA passes).

Color values

HEX#8462EC
RGBrgb(132, 98, 236)
HSLhsl(255, 78%, 65%)
HSVhsv(255, 58%, 93%)
CMYKcmyk(44.1%, 58.5%, 0%, 7.5%)
CIE-LABlab(51.49, 45.77, -65.31)
CIE-LCHlch(51.49, 79.75, 305.02°)
OKLaboklab(60.11% 0.0697 -0.1863)
OKLCHoklch(60.11% 0.199 290.5)
XYZxyz(29.0195, 19.6960, 81.6133)
Luminance0.1970 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8462EC #CAEC62
analogous
#6285EC #8462EC #C962EC
triadic
#8462EC #EC8462 #62EC84
tetradic
#8462EC #EC6285 #CAEC62 #62ECC9
square
#8462EC #EC6285 #CAEC62 #62ECC9
split-complementary
#8462EC #ECC962 #85EC62
monochromatic
#4017BD #592BE5 #8462EC #AF99F3 #DACFF9

Accessibility & contrast

On white

4.25
#8462EC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.94
#8462EC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8462EC
4.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8462EC#FFFFFF#000000##000000
##8462EC1.004.254.944.94
#FFFFFF4.251.0021.0021.00
#0000004.9421.001.001.00
##0000004.9421.001.001.00

Color blindness preview

Protanopia (red-blind)
#007DF1
Deuteranopia (green-blind)
#0078E9
Tritanopia (blue-blind)
#65819E
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #8462ec;
/* rgb */ color: rgb(132, 98, 236);
/* oklch */ color: oklch(60.1% 0.199 290.5);
Tailwind
colors: {
  custom: {
    50: '#ae90f3',
    500: '#8462ec',
    950: '#000000',
  },
}
SCSS
$custom: #8462ec;
$custom-light: #ae90f3;
$custom-dark: #000000;
JSON
{
  "hex": "#8462ec",
  "rgb": {
    "r": 132,
    "g": 98,
    "b": 236
  },
  "hsl": {
    "h": 254.783,
    "s": 78.409,
    "l": 65.49
  },
  "oklch": {
    "l": 0.60107,
    "c": 0.19893,
    "h": 290.5
  },
  "luminance": 0.19697
}

Semantic roles & 50–950 ramp

primary
#8462EC
secondary
#E1ECBE
accent
#DB0BA7
background
#FBF8FE
surface
#F6F0FD
border
#D0CBD5
text
#110C17
muted
#807D85

Preview Lab

Preview with #8462EC

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

Preview Lab → · Contrast checker → · Palette generator →

#8462EC Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva