#8A5CF3#8A5CF3

#8A5CF3 is a mid, highly saturated violet. Relative luminance 0.195; OKLCH L 60.3% C 0.215 H 292.8°. Best body text is #000000 at 4.91:1 contrast (WCAG AA passes).

Color values

HEX#8A5CF3
RGBrgb(138, 92, 243)
HSLhsl(258, 86%, 66%)
HSVhsv(258, 62%, 95%)
CMYKcmyk(43.2%, 62.1%, 0%, 4.7%)
CIE-LABlab(51.30, 52.16, -69.51)
CIE-LCHlch(51.30, 86.91, 306.88°)
OKLaboklab(60.25% 0.0835 -0.1985)
OKLCHoklch(60.25% 0.215 292.8)
XYZxyz(30.4816, 19.5277, 86.9398)
Luminance0.1953 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A5CF3 #C5F35C
analogous
#5C79F3 #8A5CF3 #D55CF3
triadic
#8A5CF3 #F38A5C #5CF38A
tetradic
#8A5CF3 #F35C79 #C5F35C #5CF3D5
square
#8A5CF3 #F35C79 #C5F35C #5CF3D5
split-complementary
#8A5CF3 #F3D55C #79F35C
monochromatic
#460FC6 #6123EF #8A5CF3 #B395F7 #DCCEFB

Accessibility & contrast

On white

4.28
#8A5CF3 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.91
#8A5CF3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A5CF3
4.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A5CF3#FFFFFF#000000##000000
##8A5CF31.004.284.914.91
#FFFFFF4.281.0021.0021.00
#0000004.9121.001.001.00
##0000004.9121.001.001.00

Color blindness preview

Protanopia (red-blind)
#007CF8
Deuteranopia (green-blind)
#0077F0
Tritanopia (blue-blind)
#6C7F9F
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #8a5cf3;
/* rgb */ color: rgb(138, 92, 243);
/* oklch */ color: oklch(60.3% 0.215 292.8);
Tailwind
colors: {
  custom: {
    50: '#b38cf8',
    500: '#8a5cf3',
    950: '#000000',
  },
}
SCSS
$custom: #8a5cf3;
$custom-light: #b38cf8;
$custom-dark: #000000;
JSON
{
  "hex": "#8a5cf3",
  "rgb": {
    "r": 138,
    "g": 92,
    "b": 243
  },
  "hsl": {
    "h": 258.278,
    "s": 86.286,
    "l": 65.686
  },
  "oklch": {
    "l": 0.60252,
    "c": 0.21536,
    "h": 292.8
  },
  "luminance": 0.19529
}

Semantic roles & 50–950 ramp

primary
#8A5CF3
secondary
#DFEFBC
accent
#E3039F
background
#FBF8FF
surface
#F6F0FF
border
#D0CBD7
text
#120C17
muted
#817D85

Preview Lab

Preview with #8A5CF3

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

Preview Lab → · Contrast checker → · Palette generator →

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