#8A5FFF#8A5FFF

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

Color values

HEX#8A5FFF
RGBrgb(138, 95, 255)
HSLhsl(256, 100%, 69%)
HSVhsv(256, 63%, 100%)
CMYKcmyk(45.9%, 62.7%, 0%, 0%)
CIE-LABlab(52.74, 53.78, -73.85)
CIE-LCHlch(52.74, 91.36, 306.06°)
OKLaboklab(61.56% 0.0794 -0.2113)
OKLCHoklch(61.56% 0.226 290.6)
XYZxyz(32.6184, 20.8065, 96.8858)
Luminance0.2081 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A5FFF #D4FF5F
analogous
#5F84FF #8A5FFF #DA5FFF
triadic
#8A5FFF #FF8A5F #5FFF8A
tetradic
#8A5FFF #FF5F84 #D4FF5F #5FFFDA
square
#8A5FFF #FF5F84 #D4FF5F #5FFFDA
split-complementary
#8A5FFF #FFDA5F #84FF5F
monochromatic
#3D00E4 #5D22FF #8A5FFF #B79CFF #E4D9FF

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##8A5FFF#FFFFFF#000000##000000
##8A5FFF1.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)
#0081FF
Deuteranopia (green-blind)
#007AFC
Tritanopia (blue-blind)
#6685A7
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #8a5fff;
/* rgb */ color: rgb(138, 95, 255);
/* oklch */ color: oklch(61.6% 0.226 290.6);
Tailwind
colors: {
  custom: {
    50: '#b48eff',
    500: '#8a5fff',
    950: '#000000',
  },
}
SCSS
$custom: #8a5fff;
$custom-light: #b48eff;
$custom-dark: #000000;
JSON
{
  "hex": "#8a5fff",
  "rgb": {
    "r": 138,
    "g": 95,
    "b": 255
  },
  "hsl": {
    "h": 256.125,
    "s": 100,
    "l": 68.627
  },
  "oklch": {
    "l": 0.6156,
    "c": 0.22571,
    "h": 290.6
  },
  "luminance": 0.20808
}

Semantic roles & 50–950 ramp

primary
#8A5FFF
secondary
#E8F5C5
accent
#E600A8
background
#FBF8FF
surface
#F6F0FF
border
#D0CBD7
text
#120C18
muted
#817D86

Preview Lab

Preview with #8A5FFF

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

Preview Lab → · Contrast checker → · Palette generator →

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