#8A62F6#8A62F6

#8A62F6 is a mid, highly saturated violet. Relative luminance 0.208; OKLCH L 61.4% C 0.211 H 291.4°. Best body text is #000000 at 5.16:1 contrast (WCAG AA passes).

Color values

HEX#8A62F6
RGBrgb(138, 98, 246)
HSLhsl(256, 89%, 67%)
HSVhsv(256, 60%, 96%)
CMYKcmyk(43.9%, 60.2%, 0%, 3.5%)
CIE-LABlab(52.72, 49.73, -68.88)
CIE-LCHlch(52.72, 84.96, 305.83°)
OKLaboklab(61.35% 0.0769 -0.1967)
OKLCHoklch(61.35% 0.211 291.4)
XYZxyz(31.4788, 20.7914, 89.5255)
Luminance0.2079 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A62F6 #CEF662
analogous
#6284F6 #8A62F6 #D462F6
triadic
#8A62F6 #F68A62 #62F68A
tetradic
#8A62F6 #F66284 #CEF662 #62F6D4
square
#8A62F6 #F66284 #CEF662 #62F6D4
split-complementary
#8A62F6 #F6D462 #84F662
monochromatic
#410CD2 #5F28F3 #8A62F6 #B59CF9 #E0D6FD

Accessibility & contrast

On white

4.07
#8A62F6 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.16
#8A62F6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A62F6
5.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A62F6#FFFFFF#000000##000000
##8A62F61.004.075.165.16
#FFFFFF4.071.0021.0021.00
#0000005.1621.001.001.00
##0000005.1621.001.001.00

Color blindness preview

Protanopia (red-blind)
#0080FB
Deuteranopia (green-blind)
#007BF3
Tritanopia (blue-blind)
#6A84A3
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #8a62f6;
/* rgb */ color: rgb(138, 98, 246);
/* oklch */ color: oklch(61.4% 0.211 291.4);
Tailwind
colors: {
  custom: {
    50: '#b390fa',
    500: '#8a62f6',
    950: '#000000',
  },
}
SCSS
$custom: #8a62f6;
$custom-light: #b390fa;
$custom-dark: #000000;
JSON
{
  "hex": "#8a62f6",
  "rgb": {
    "r": 138,
    "g": 98,
    "b": 246
  },
  "hsl": {
    "h": 256.216,
    "s": 89.157,
    "l": 67.451
  },
  "oklch": {
    "l": 0.61351,
    "c": 0.21118,
    "h": 291.4
  },
  "luminance": 0.20792
}

Semantic roles & 50–950 ramp

primary
#8A62F6
secondary
#E5F1C3
accent
#E600A7
background
#FBF9FF
surface
#F6F1FF
border
#D0CBD7
text
#120D17
muted
#817E85

Preview Lab

Preview with #8A62F6

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

Preview Lab → · Contrast checker → · Palette generator →

#8A62F6 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva