#8A58CF#8A58CF

#8A58CF is a mid, vivid violet. Relative luminance 0.169; OKLCH L 57.2% C 0.178 H 300.2°. Best body text is #FFFFFF at 4.80:1 contrast (WCAG AA passes).

Color values

HEX#8A58CF
RGBrgb(138, 88, 207)
HSLhsl(265, 55%, 58%)
HSVhsv(265, 57%, 81%)
CMYKcmyk(33.3%, 57.5%, 0%, 18.8%)
CIE-LABlab(48.12, 44.97, -54.28)
CIE-LCHlch(48.12, 70.49, 309.64°)
OKLaboklab(57.18% 0.0895 -0.1537)
OKLCHoklch(57.18% 0.178 300.2)
XYZxyz(25.2307, 16.8875, 60.9498)
Luminance0.1689 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A58CF #9DCF58
analogous
#5861CF #8A58CF #C558CF
triadic
#8A58CF #CF8A58 #58CF8A
tetradic
#8A58CF #CF5861 #9DCF58 #58CFC5
square
#8A58CF #CF5861 #9DCF58 #58CFC5
split-complementary
#8A58CF #CFC558 #61CF58
monochromatic
#4F2786 #6B34B6 #8A58CF #AB88DD #CDB7EA

Accessibility & contrast

On white

4.80
#8A58CF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.38
#8A58CF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8A58CF
4.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A58CF#FFFFFF#000000##FFFFFF
##8A58CF1.004.804.384.80
#FFFFFF4.801.0021.001.00
#0000004.3821.001.0021.00
##FFFFFF4.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1F72D3
Deuteranopia (green-blind)
#3571CC
Tritanopia (blue-blind)
#7C708B
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #8a58cf;
/* rgb */ color: rgb(138, 88, 207);
/* oklch */ color: oklch(57.2% 0.178 300.2);
Tailwind
colors: {
  custom: {
    50: '#b089de',
    500: '#8a58cf',
    950: '#000000',
  },
}
SCSS
$custom: #8a58cf;
$custom-light: #b089de;
$custom-dark: #000000;
JSON
{
  "hex": "#8a58cf",
  "rgb": {
    "r": 138,
    "g": 88,
    "b": 207
  },
  "hsl": {
    "h": 265.21,
    "s": 55.349,
    "l": 57.843
  },
  "oklch": {
    "l": 0.57178,
    "c": 0.17791,
    "h": 300.2
  },
  "luminance": 0.16888
}

Semantic roles & 50–950 ramp

primary
#8A58CF
secondary
#C5D9AA
accent
#DF49A0
background
#FBF8FD
surface
#F6F0FB
border
#D0CBD4
text
#110C15
muted
#807D83

Preview Lab

Preview with #8A58CF

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

Preview Lab → · Contrast checker → · Palette generator →

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