#8A5AF3#8A5AF3

#8A5AF3 is a mid, highly saturated violet. Relative luminance 0.192; OKLCH L 60.0% C 0.218 H 293.1°. Best body text is #000000 at 4.84:1 contrast (WCAG AA passes).

Color values

HEX#8A5AF3
RGBrgb(138, 90, 243)
HSLhsl(259, 86%, 65%)
HSVhsv(259, 63%, 95%)
CMYKcmyk(43.2%, 63%, 0%, 4.7%)
CIE-LABlab(50.90, 53.22, -70.15)
CIE-LCHlch(50.90, 88.06, 307.19°)
OKLaboklab(59.97% 0.0856 -0.2004)
OKLCHoklch(59.97% 0.218 293.1)
XYZxyz(30.3106, 19.1858, 86.8829)
Luminance0.1919 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A5AF3 #C3F35A
analogous
#5A76F3 #8A5AF3 #D75AF3
triadic
#8A5AF3 #F38A5A #5AF38A
tetradic
#8A5AF3 #F35A76 #C3F35A #5AF3D7
square
#8A5AF3 #F35A76 #C3F35A #5AF3D7
split-complementary
#8A5AF3 #F3D75A #76F35A
monochromatic
#470EC4 #6221EF #8A5AF3 #B293F7 #DBCCFB

Accessibility & contrast

On white

4.34
#8A5AF3 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.84
#8A5AF3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A5AF3
4.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A5AF3#FFFFFF#000000##000000
##8A5AF31.004.344.844.84
#FFFFFF4.341.0021.0021.00
#0000004.8421.001.001.00
##0000004.8421.001.001.00

Color blindness preview

Protanopia (red-blind)
#007BF8
Deuteranopia (green-blind)
#0076F0
Tritanopia (blue-blind)
#6C7E9E
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #8a5af3;
/* rgb */ color: rgb(138, 90, 243);
/* oklch */ color: oklch(60.0% 0.218 293.1);
Tailwind
colors: {
  custom: {
    50: '#b38bf8',
    500: '#8a5af3',
    950: '#000000',
  },
}
SCSS
$custom: #8a5af3;
$custom-light: #b38bf8;
$custom-dark: #000000;
JSON
{
  "hex": "#8a5af3",
  "rgb": {
    "r": 138,
    "g": 90,
    "b": 243
  },
  "hsl": {
    "h": 258.824,
    "s": 86.441,
    "l": 65.294
  },
  "oklch": {
    "l": 0.59965,
    "c": 0.2179,
    "h": 293.1
  },
  "luminance": 0.19187
}

Semantic roles & 50–950 ramp

primary
#8A5AF3
secondary
#DEEEBB
accent
#E3039D
background
#FBF8FF
surface
#F6F0FF
border
#D0CBD7
text
#120C17
muted
#817D85

Preview Lab

Preview with #8A5AF3

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

Preview Lab → · Contrast checker → · Palette generator →

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