#8A65D9#8A65D9

#8A65D9 is a mid, vivid violet. Relative luminance 0.197; OKLCH L 59.9% C 0.171 H 295.5°. Best body text is #000000 at 4.94:1 contrast (WCAG AA passes).

Color values

HEX#8A65D9
RGBrgb(138, 101, 217)
HSLhsl(259, 60%, 62%)
HSVhsv(259, 53%, 85%)
CMYKcmyk(36.4%, 53.5%, 0%, 14.9%)
CIE-LABlab(51.52, 40.29, -54.53)
CIE-LCHlch(51.52, 67.80, 306.46°)
OKLaboklab(59.88% 0.0736 -0.1545)
OKLCHoklch(59.88% 0.171 295.5)
XYZxyz(27.6561, 19.7199, 67.9814)
Luminance0.1972 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A65D9 #B4D965
analogous
#657AD9 #8A65D9 #C465D9
triadic
#8A65D9 #D98A65 #65D98A
tetradic
#8A65D9 #D9657A #B4D965 #65D9C4
square
#8A65D9 #D9657A #B4D965 #65D9C4
split-complementary
#8A65D9 #D9C465 #7AD965
monochromatic
#4C279D #6534CD #8A65D9 #AF96E5 #D5C7F1

Accessibility & contrast

On white

4.25
#8A65D9 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.94
#8A65D9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A65D9
4.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A65D9#FFFFFF#000000##000000
##8A65D91.004.254.944.94
#FFFFFF4.251.0021.0021.00
#0000004.9421.001.001.00
##0000004.9421.001.001.00

Color blindness preview

Protanopia (red-blind)
#337CDD
Deuteranopia (green-blind)
#3D79D6
Tritanopia (blue-blind)
#777D95
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #8a65d9;
/* rgb */ color: rgb(138, 101, 217);
/* oklch */ color: oklch(59.9% 0.171 295.5);
Tailwind
colors: {
  custom: {
    50: '#b092e5',
    500: '#8a65d9',
    950: '#000000',
  },
}
SCSS
$custom: #8a65d9;
$custom-light: #b092e5;
$custom-dark: #000000;
JSON
{
  "hex": "#8a65d9",
  "rgb": {
    "r": 138,
    "g": 101,
    "b": 217
  },
  "hsl": {
    "h": 259.138,
    "s": 60.417,
    "l": 62.353
  },
  "oklch": {
    "l": 0.59879,
    "c": 0.17112,
    "h": 295.5
  },
  "luminance": 0.1972
}

Semantic roles & 50–950 ramp

primary
#8A65D9
secondary
#D5E2B8
accent
#C81D92
background
#FBF9FE
surface
#F6F1FC
border
#D0CBD5
text
#110D16
muted
#807E84

Preview Lab

Preview with #8A65D9

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

Preview Lab → · Contrast checker → · Palette generator →

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