#8A5FF3#8A5FF3

#8A5FF3 is a mid, highly saturated violet. Relative luminance 0.201; OKLCH L 60.7% C 0.211 H 292.3°. Best body text is #000000 at 5.01:1 contrast (WCAG AA passes).

Color values

HEX#8A5FF3
RGBrgb(138, 95, 243)
HSLhsl(257, 86%, 66%)
HSVhsv(257, 61%, 95%)
CMYKcmyk(43.2%, 60.9%, 0%, 4.7%)
CIE-LABlab(51.90, 50.55, -68.53)
CIE-LCHlch(51.90, 85.16, 306.41°)
OKLaboklab(60.69% 0.0803 -0.1956)
OKLCHoklch(60.69% 0.211 292.3)
XYZxyz(30.7467, 20.0578, 87.0282)
Luminance0.2006 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A5FF3 #C8F35F
analogous
#5F7EF3 #8A5FF3 #D45FF3
triadic
#8A5FF3 #F38A5F #5FF38A
tetradic
#8A5FF3 #F35F7E #C8F35F #5FF3D4
square
#8A5FF3 #F35F7E #C8F35F #5FF3D4
split-complementary
#8A5FF3 #F3D45F #7EF35F
monochromatic
#450FC9 #6026EF #8A5FF3 #B498F7 #DDD1FC

Accessibility & contrast

On white

4.19
#8A5FF3 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.01
#8A5FF3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A5FF3
5.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A5FF3#FFFFFF#000000##000000
##8A5FF31.004.195.015.01
#FFFFFF4.191.0021.0021.00
#0000005.0121.001.001.00
##0000005.0121.001.001.00

Color blindness preview

Protanopia (red-blind)
#007EF8
Deuteranopia (green-blind)
#0079F0
Tritanopia (blue-blind)
#6C81A0
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #8a5ff3;
/* rgb */ color: rgb(138, 95, 243);
/* oklch */ color: oklch(60.7% 0.211 292.3);
Tailwind
colors: {
  custom: {
    50: '#b38ef8',
    500: '#8a5ff3',
    950: '#000000',
  },
}
SCSS
$custom: #8a5ff3;
$custom-light: #b38ef8;
$custom-dark: #000000;
JSON
{
  "hex": "#8a5ff3",
  "rgb": {
    "r": 138,
    "g": 95,
    "b": 243
  },
  "hsl": {
    "h": 257.432,
    "s": 86.047,
    "l": 66.275
  },
  "oklch": {
    "l": 0.6069,
    "c": 0.21148,
    "h": 292.3
  },
  "luminance": 0.20059
}

Semantic roles & 50–950 ramp

primary
#8A5FF3
secondary
#E1EFBF
accent
#E303A2
background
#FBF8FF
surface
#F6F0FF
border
#D0CBD7
text
#120C17
muted
#817D85

Preview Lab

Preview with #8A5FF3

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

Preview Lab → · Contrast checker → · Palette generator →

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