#8A65D8#8A65D8

#8A65D8 is a mid, vivid violet. Relative luminance 0.197; OKLCH L 59.8% C 0.170 H 295.7°. Best body text is #000000 at 4.93:1 contrast (WCAG AA passes).

Color values

HEX#8A65D8
RGBrgb(138, 101, 216)
HSLhsl(259, 60%, 62%)
HSVhsv(259, 53%, 85%)
CMYKcmyk(36.1%, 53.2%, 0%, 15.3%)
CIE-LABlab(51.46, 40.03, -54.05)
CIE-LCHlch(51.46, 67.26, 306.52°)
OKLaboklab(59.82% 0.0736 -0.1531)
OKLCHoklch(59.82% 0.17 295.7)
XYZxyz(27.5264, 19.6680, 67.2985)
Luminance0.1967 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A65D8 #B3D865
analogous
#657AD8 #8A65D8 #C365D8
triadic
#8A65D8 #D88A65 #65D88A
tetradic
#8A65D8 #D8657A #B3D865 #65D8C3
square
#8A65D8 #D8657A #B3D865 #65D8C3
split-complementary
#8A65D8 #D8C365 #7AD865
monochromatic
#4D279B #6534CC #8A65D8 #AF96E4 #D4C7F1

Accessibility & contrast

On white

4.26
#8A65D8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.93
#8A65D8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A65D8
4.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A65D8#FFFFFF#000000##000000
##8A65D81.004.264.934.93
#FFFFFF4.261.0021.0021.00
#0000004.9321.001.001.00
##0000004.9321.001.001.00

Color blindness preview

Protanopia (red-blind)
#357BDC
Deuteranopia (green-blind)
#3E79D5
Tritanopia (blue-blind)
#787C95
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #8a65d8;
/* rgb */ color: rgb(138, 101, 216);
/* oklch */ color: oklch(59.8% 0.170 295.7);
Tailwind
colors: {
  custom: {
    50: '#b092e5',
    500: '#8a65d8',
    950: '#000000',
  },
}
SCSS
$custom: #8a65d8;
$custom-light: #b092e5;
$custom-dark: #000000;
JSON
{
  "hex": "#8a65d8",
  "rgb": {
    "r": 138,
    "g": 101,
    "b": 216
  },
  "hsl": {
    "h": 259.304,
    "s": 59.585,
    "l": 62.157
  },
  "oklch": {
    "l": 0.59817,
    "c": 0.16984,
    "h": 295.7
  },
  "luminance": 0.19669
}

Semantic roles & 50–950 ramp

primary
#8A65D8
secondary
#D4E2B7
accent
#C71E91
background
#FBF9FE
surface
#F6F1FC
border
#D0CBD5
text
#110D16
muted
#807E84

Preview Lab

Preview with #8A65D8

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

Preview Lab → · Contrast checker → · Palette generator →

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