#8A58DE#8A58DE

#8A58DE is a mid, vivid violet. Relative luminance 0.177; OKLCH L 58.2% C 0.196 H 297.1°. Best body text is #FFFFFF at 4.63:1 contrast (WCAG AA passes).

Color values

HEX#8A58DE
RGBrgb(138, 88, 222)
HSLhsl(262, 67%, 61%)
HSVhsv(262, 60%, 87%)
CMYKcmyk(37.8%, 60.4%, 0%, 12.9%)
CIE-LABlab(49.08, 48.80, -61.29)
CIE-LCHlch(49.08, 78.34, 308.53°)
OKLaboklab(58.18% 0.0892 -0.1743)
OKLCHoklch(58.18% 0.196 297.1)
XYZxyz(27.1524, 17.6562, 71.0705)
Luminance0.1766 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A58DE #ACDE58
analogous
#5869DE #8A58DE #CD58DE
triadic
#8A58DE #DE8A58 #58DE8A
tetradic
#8A58DE #DE5869 #ACDE58 #58DECD
square
#8A58DE #DE5869 #ACDE58 #58DECD
split-complementary
#8A58DE #DECD58 #69DE58
monochromatic
#4E1F9D #6729D0 #8A58DE #AE8BE8 #D2BEF2

Accessibility & contrast

On white

4.63
#8A58DE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.53
#8A58DE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #8A58DE
4.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A58DE#FFFFFF#000000##FFFFFF
##8A58DE1.004.634.534.63
#FFFFFF4.631.0021.001.00
#0000004.5321.001.0021.00
##FFFFFF4.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0075E2
Deuteranopia (green-blind)
#1B73DB
Tritanopia (blue-blind)
#767593
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #8a58de;
/* rgb */ color: rgb(138, 88, 222);
/* oklch */ color: oklch(58.2% 0.196 297.1);
Tailwind
colors: {
  custom: {
    50: '#b189e9',
    500: '#8a58de',
    950: '#000000',
  },
}
SCSS
$custom: #8a58de;
$custom-light: #b189e9;
$custom-dark: #000000;
JSON
{
  "hex": "#8a58de",
  "rgb": {
    "r": 138,
    "g": 88,
    "b": 222
  },
  "hsl": {
    "h": 262.388,
    "s": 67,
    "l": 60.784
  },
  "oklch": {
    "l": 0.58185,
    "c": 0.19582,
    "h": 297.1
  },
  "luminance": 0.17657
}

Semantic roles & 50–950 ramp

primary
#8A58DE
secondary
#CFE2B0
accent
#CF178A
background
#FBF8FE
surface
#F6F0FD
border
#D0CBD5
text
#110C16
muted
#807D84

Preview Lab

Preview with #8A58DE

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

Preview Lab → · Contrast checker → · Palette generator →

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