#8A65DC#8A65DC

#8A65DC is a mid, vivid violet. Relative luminance 0.199; OKLCH L 60.1% C 0.175 H 294.9°. Best body text is #000000 at 4.98:1 contrast (WCAG AA passes).

Color values

HEX#8A65DC
RGBrgb(138, 101, 220)
HSLhsl(259, 63%, 63%)
HSVhsv(259, 54%, 86%)
CMYKcmyk(37.3%, 54.1%, 0%, 13.7%)
CIE-LABlab(51.70, 41.09, -55.94)
CIE-LCHlch(51.70, 69.41, 306.30°)
OKLaboklab(60.07% 0.0737 -0.1586)
OKLCHoklch(60.07% 0.175 294.9)
XYZxyz(28.0498, 19.8774, 70.0551)
Luminance0.1988 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A65DC #B7DC65
analogous
#657CDC #8A65DC #C565DC
triadic
#8A65DC #DC8A65 #65DC8A
tetradic
#8A65DC #DC657C #B7DC65 #65DCC5
square
#8A65DC #DC657C #B7DC65 #65DCC5
split-complementary
#8A65DC #DCC565 #7CDC65
monochromatic
#4C25A2 #6433D1 #8A65DC #B097E7 #D6C9F3

Accessibility & contrast

On white

4.22
#8A65DC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.98
#8A65DC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A65DC
4.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A65DC#FFFFFF#000000##000000
##8A65DC1.004.224.984.98
#FFFFFF4.221.0021.0021.00
#0000004.9821.001.001.00
##0000004.9821.001.001.00

Color blindness preview

Protanopia (red-blind)
#307CE0
Deuteranopia (green-blind)
#3A79D9
Tritanopia (blue-blind)
#767D97
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #8a65dc;
/* rgb */ color: rgb(138, 101, 220);
/* oklch */ color: oklch(60.1% 0.175 294.9);
Tailwind
colors: {
  custom: {
    50: '#b092e7',
    500: '#8a65dc',
    950: '#000000',
  },
}
SCSS
$custom: #8a65dc;
$custom-light: #b092e7;
$custom-dark: #000000;
JSON
{
  "hex": "#8a65dc",
  "rgb": {
    "r": 138,
    "g": 101,
    "b": 220
  },
  "hsl": {
    "h": 258.655,
    "s": 62.963,
    "l": 62.941
  },
  "oklch": {
    "l": 0.6007,
    "c": 0.17491,
    "h": 294.9
  },
  "luminance": 0.19878
}

Semantic roles & 50–950 ramp

primary
#8A65DC
secondary
#D6E4B9
accent
#CB1B94
background
#FBF9FE
surface
#F6F1FD
border
#D0CBD5
text
#110D16
muted
#807E84

Preview Lab

Preview with #8A65DC

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

Preview Lab → · Contrast checker → · Palette generator →

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