#8A65DA#8A65DA

#8A65DA is a mid, vivid violet. Relative luminance 0.198; OKLCH L 59.9% C 0.172 H 295.3°. Best body text is #000000 at 4.95:1 contrast (WCAG AA passes).

Color values

HEX#8A65DA
RGBrgb(138, 101, 218)
HSLhsl(259, 61%, 63%)
HSVhsv(259, 54%, 85%)
CMYKcmyk(36.7%, 53.7%, 0%, 14.5%)
CIE-LABlab(51.58, 40.56, -55.00)
CIE-LCHlch(51.58, 68.34, 306.41°)
OKLaboklab(59.94% 0.0737 -0.1558)
OKLCHoklch(59.94% 0.172 295.3)
XYZxyz(27.7865, 19.7721, 68.6685)
Luminance0.1977 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A65DA #B5DA65
analogous
#657BDA #8A65DA #C465DA
triadic
#8A65DA #DA8A65 #65DA8A
tetradic
#8A65DA #DA657B #B5DA65 #65DAC4
square
#8A65DA #DA657B #B5DA65 #65DAC4
split-complementary
#8A65DA #DAC465 #7BDA65
monochromatic
#4C269F #6534CE #8A65DA #AF96E6 #D5C8F2

Accessibility & contrast

On white

4.24
#8A65DA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.95
#8A65DA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A65DA
4.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A65DA#FFFFFF#000000##000000
##8A65DA1.004.244.954.95
#FFFFFF4.241.0021.0021.00
#0000004.9521.001.001.00
##0000004.9521.001.001.00

Color blindness preview

Protanopia (red-blind)
#327CDE
Deuteranopia (green-blind)
#3C79D7
Tritanopia (blue-blind)
#777D96
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #8a65da;
/* rgb */ color: rgb(138, 101, 218);
/* oklch */ color: oklch(59.9% 0.172 295.3);
Tailwind
colors: {
  custom: {
    50: '#b092e6',
    500: '#8a65da',
    950: '#000000',
  },
}
SCSS
$custom: #8a65da;
$custom-light: #b092e6;
$custom-dark: #000000;
JSON
{
  "hex": "#8a65da",
  "rgb": {
    "r": 138,
    "g": 101,
    "b": 218
  },
  "hsl": {
    "h": 258.974,
    "s": 61.257,
    "l": 62.549
  },
  "oklch": {
    "l": 0.59943,
    "c": 0.17238,
    "h": 295.3
  },
  "luminance": 0.19773
}

Semantic roles & 50–950 ramp

primary
#8A65DA
secondary
#D5E3B8
accent
#C91D92
background
#FBF9FE
surface
#F6F1FC
border
#D0CBD5
text
#110D16
muted
#807E84

Preview Lab

Preview with #8A65DA

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

Preview Lab → · Contrast checker → · Palette generator →

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