#8A65E6#8A65E6

#8A65E6 is a mid, vivid violet. Relative luminance 0.204; OKLCH L 60.7% C 0.187 H 293.2°. Best body text is #000000 at 5.08:1 contrast (WCAG AA passes).

Color values

HEX#8A65E6
RGBrgb(138, 101, 230)
HSLhsl(257, 72%, 65%)
HSVhsv(257, 56%, 90%)
CMYKcmyk(40%, 56.1%, 0%, 9.8%)
CIE-LABlab(52.31, 43.75, -60.59)
CIE-LCHlch(52.31, 74.74, 305.83°)
OKLaboklab(60.72% 0.0739 -0.1723)
OKLCHoklch(60.72% 0.187 293.2)
XYZxyz(29.4140, 20.4231, 77.2399)
Luminance0.2042 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A65E6 #C1E665
analogous
#6581E6 #8A65E6 #CA65E6
triadic
#8A65E6 #E68A65 #65E68A
tetradic
#8A65E6 #E66581 #C1E665 #65E6CA
square
#8A65E6 #E66581 #C1E665 #65E6CA
split-complementary
#8A65E6 #E6CA65 #81E665
monochromatic
#481DB3 #6230DD #8A65E6 #B29AEF #DACEF7

Accessibility & contrast

On white

4.13
#8A65E6 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.08
#8A65E6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A65E6
5.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A65E6#FFFFFF#000000##000000
##8A65E61.004.135.085.08
#FFFFFF4.131.0021.0021.00
#0000005.0821.001.001.00
##0000005.0821.001.001.00

Color blindness preview

Protanopia (red-blind)
#1F7EEA
Deuteranopia (green-blind)
#2C7AE3
Tritanopia (blue-blind)
#72819C
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #8a65e6;
/* rgb */ color: rgb(138, 101, 230);
/* oklch */ color: oklch(60.7% 0.187 293.2);
Tailwind
colors: {
  custom: {
    50: '#b192ef',
    500: '#8a65e6',
    950: '#000000',
  },
}
SCSS
$custom: #8a65e6;
$custom-light: #b192ef;
$custom-dark: #000000;
JSON
{
  "hex": "#8a65e6",
  "rgb": {
    "r": 138,
    "g": 101,
    "b": 230
  },
  "hsl": {
    "h": 257.209,
    "s": 72.067,
    "l": 64.902
  },
  "oklch": {
    "l": 0.6072,
    "c": 0.18748,
    "h": 293.2
  },
  "luminance": 0.20424
}

Semantic roles & 50–950 ramp

primary
#8A65E6
secondary
#DDE9BD
accent
#D4119C
background
#FBF9FE
surface
#F6F1FD
border
#D0CBD5
text
#110D16
muted
#807E84

Preview Lab

Preview with #8A65E6

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

Preview Lab → · Contrast checker → · Palette generator →

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