#8A62F5#8A62F5

#8A62F5 is a mid, highly saturated violet. Relative luminance 0.207; OKLCH L 61.3% C 0.210 H 291.5°. Best body text is #000000 at 5.15:1 contrast (WCAG AA passes).

Color values

HEX#8A62F5
RGBrgb(138, 98, 245)
HSLhsl(256, 88%, 67%)
HSVhsv(256, 60%, 96%)
CMYKcmyk(43.7%, 60%, 0%, 3.9%)
CIE-LABlab(52.65, 49.46, -68.44)
CIE-LCHlch(52.65, 84.44, 305.86°)
OKLaboklab(61.28% 0.077 -0.1953)
OKLCHoklch(61.28% 0.21 291.5)
XYZxyz(31.3258, 20.7302, 88.7193)
Luminance0.2073 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A62F5 #CDF562
analogous
#6283F5 #8A62F5 #D462F5
triadic
#8A62F5 #F58A62 #62F58A
tetradic
#8A62F5 #F56283 #CDF562 #62F5D4
square
#8A62F5 #F56283 #CDF562 #62F5D4
split-complementary
#8A62F5 #F5D462 #83F562
monochromatic
#420DCF #5F28F1 #8A62F5 #B59CF9 #E0D5FC

Accessibility & contrast

On white

4.08
#8A62F5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.15
#8A62F5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A62F5
5.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A62F5#FFFFFF#000000##000000
##8A62F51.004.085.155.15
#FFFFFF4.081.0021.0021.00
#0000005.1521.001.001.00
##0000005.1521.001.001.00

Color blindness preview

Protanopia (red-blind)
#0080FA
Deuteranopia (green-blind)
#007BF2
Tritanopia (blue-blind)
#6B83A2
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #8a62f5;
/* rgb */ color: rgb(138, 98, 245);
/* oklch */ color: oklch(61.3% 0.210 291.5);
Tailwind
colors: {
  custom: {
    50: '#b390f9',
    500: '#8a62f5',
    950: '#000000',
  },
}
SCSS
$custom: #8a62f5;
$custom-light: #b390f9;
$custom-dark: #000000;
JSON
{
  "hex": "#8a62f5",
  "rgb": {
    "r": 138,
    "g": 98,
    "b": 245
  },
  "hsl": {
    "h": 256.327,
    "s": 88.024,
    "l": 67.255
  },
  "oklch": {
    "l": 0.6128,
    "c": 0.20997,
    "h": 291.5
  },
  "luminance": 0.20731
}

Semantic roles & 50–950 ramp

primary
#8A62F5
secondary
#E4F1C2
accent
#E501A7
background
#FBF9FF
surface
#F6F1FF
border
#D0CBD7
text
#120D17
muted
#817E85

Preview Lab

Preview with #8A62F5

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

Preview Lab → · Contrast checker → · Palette generator →

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