#8462F2#8462F2

#8462F2 is a mid, highly saturated violet. Relative luminance 0.201; OKLCH L 60.5% C 0.206 H 289.7°. Best body text is #000000 at 5.01:1 contrast (WCAG AA passes).

Color values

HEX#8462F2
RGBrgb(132, 98, 242)
HSLhsl(254, 85%, 67%)
HSVhsv(254, 60%, 95%)
CMYKcmyk(45.5%, 59.5%, 0%, 5.1%)
CIE-LABlab(51.89, 47.43, -68.02)
CIE-LCHlch(51.89, 82.92, 304.89°)
OKLaboklab(60.53% 0.0694 -0.1943)
OKLCHoklch(60.53% 0.206 289.7)
XYZxyz(29.9059, 20.0506, 86.2816)
Luminance0.2005 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8462F2 #D0F262
analogous
#6288F2 #8462F2 #CC62F2
triadic
#8462F2 #F28462 #62F284
tetradic
#8462F2 #F26288 #D0F262 #62F2CC
square
#8462F2 #F26288 #D0F262 #62F2CC
split-complementary
#8462F2 #F2CC62 #88F262
monochromatic
#3C11C9 #5829ED #8462F2 #B09BF7 #DDD3FB

Accessibility & contrast

On white

4.19
#8462F2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.01
#8462F2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8462F2
5.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8462F2#FFFFFF#000000##000000
##8462F21.004.195.015.01
#FFFFFF4.191.0021.0021.00
#0000005.0121.001.001.00
##0000005.0121.001.001.00

Color blindness preview

Protanopia (red-blind)
#007FF7
Deuteranopia (green-blind)
#0078EF
Tritanopia (blue-blind)
#6283A1
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #8462f2;
/* rgb */ color: rgb(132, 98, 242);
/* oklch */ color: oklch(60.5% 0.206 289.7);
Tailwind
colors: {
  custom: {
    50: '#af90f7',
    500: '#8462f2',
    950: '#000000',
  },
}
SCSS
$custom: #8462f2;
$custom-light: #af90f7;
$custom-dark: #000000;
JSON
{
  "hex": "#8462f2",
  "rgb": {
    "r": 132,
    "g": 98,
    "b": 242
  },
  "hsl": {
    "h": 254.167,
    "s": 84.706,
    "l": 66.667
  },
  "oklch": {
    "l": 0.60529,
    "c": 0.20634,
    "h": 289.7
  },
  "luminance": 0.20052
}

Semantic roles & 50–950 ramp

primary
#8462F2
secondary
#E4EFC1
accent
#E104AD
background
#FBF8FF
surface
#F6F0FF
border
#D0CBD7
text
#110D17
muted
#807D85

Preview Lab

Preview with #8462F2

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

Preview Lab → · Contrast checker → · Palette generator →

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