#8A62F4#8A62F4

#8A62F4 is a mid, highly saturated violet. Relative luminance 0.207; OKLCH L 61.2% C 0.209 H 291.7°. Best body text is #000000 at 5.13:1 contrast (WCAG AA passes).

Color values

HEX#8A62F4
RGBrgb(138, 98, 244)
HSLhsl(256, 87%, 67%)
HSVhsv(256, 60%, 96%)
CMYKcmyk(43.4%, 59.8%, 0%, 4.3%)
CIE-LABlab(52.59, 49.19, -67.99)
CIE-LCHlch(52.59, 83.91, 305.88°)
OKLaboklab(61.21% 0.077 -0.194)
OKLCHoklch(61.21% 0.209 291.7)
XYZxyz(31.1735, 20.6693, 87.9175)
Luminance0.2067 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A62F4 #CCF462
analogous
#6283F4 #8A62F4 #D362F4
triadic
#8A62F4 #F48A62 #62F48A
tetradic
#8A62F4 #F46283 #CCF462 #62F4D3
square
#8A62F4 #F46283 #CCF462 #62F4D3
split-complementary
#8A62F4 #F4D362 #83F462
monochromatic
#430ECD #5F29F0 #8A62F4 #B59BF8 #DFD4FC

Accessibility & contrast

On white

4.09
#8A62F4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.13
#8A62F4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A62F4
5.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A62F4#FFFFFF#000000##000000
##8A62F41.004.095.135.13
#FFFFFF4.091.0021.0021.00
#0000005.1321.001.001.00
##0000005.1321.001.001.00

Color blindness preview

Protanopia (red-blind)
#0080F9
Deuteranopia (green-blind)
#007AF1
Tritanopia (blue-blind)
#6B83A2
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #8a62f4;
/* rgb */ color: rgb(138, 98, 244);
/* oklch */ color: oklch(61.2% 0.209 291.7);
Tailwind
colors: {
  custom: {
    50: '#b390f9',
    500: '#8a62f4',
    950: '#000000',
  },
}
SCSS
$custom: #8a62f4;
$custom-light: #b390f9;
$custom-dark: #000000;
JSON
{
  "hex": "#8a62f4",
  "rgb": {
    "r": 138,
    "g": 98,
    "b": 244
  },
  "hsl": {
    "h": 256.438,
    "s": 86.905,
    "l": 67.059
  },
  "oklch": {
    "l": 0.6121,
    "c": 0.20876,
    "h": 291.7
  },
  "luminance": 0.2067
}

Semantic roles & 50–950 ramp

primary
#8A62F4
secondary
#E3F0C2
accent
#E302A6
background
#FBF9FF
surface
#F6F1FF
border
#D0CBD7
text
#120D17
muted
#817E85

Preview Lab

Preview with #8A62F4

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

Preview Lab → · Contrast checker → · Palette generator →

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