#8A65D2#8A65D2

#8A65D2 is a mid, vivid violet. Relative luminance 0.194; OKLCH L 59.4% C 0.162 H 296.8°. Best body text is #000000 at 4.87:1 contrast (WCAG AA passes).

Color values

HEX#8A65D2
RGBrgb(138, 101, 210)
HSLhsl(260, 55%, 61%)
HSVhsv(260, 52%, 82%)
CMYKcmyk(34.3%, 51.9%, 0%, 17.6%)
CIE-LABlab(51.11, 38.46, -51.20)
CIE-LCHlch(51.11, 64.04, 306.91°)
OKLaboklab(59.44% 0.0732 -0.1447)
OKLCHoklch(59.44% 0.162 296.8)
XYZxyz(26.7649, 19.3634, 63.2877)
Luminance0.1936 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A65D2 #ADD265
analogous
#6576D2 #8A65D2 #C065D2
triadic
#8A65D2 #D28A65 #65D28A
tetradic
#8A65D2 #D26576 #ADD265 #65D2C0
square
#8A65D2 #D26576 #ADD265 #65D2C0
split-complementary
#8A65D2 #D2C065 #76D265
monochromatic
#4E2B92 #6738C1 #8A65D2 #AE94E0 #D2C4EE

Accessibility & contrast

On white

4.31
#8A65D2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.87
#8A65D2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A65D2
4.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A65D2#FFFFFF#000000##000000
##8A65D21.004.314.874.87
#FFFFFF4.311.0021.0021.00
#0000004.8721.001.001.00
##0000004.8721.001.001.00

Color blindness preview

Protanopia (red-blind)
#3B7AD6
Deuteranopia (green-blind)
#4478CF
Tritanopia (blue-blind)
#7A7A92
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #8a65d2;
/* rgb */ color: rgb(138, 101, 210);
/* oklch */ color: oklch(59.4% 0.162 296.8);
Tailwind
colors: {
  custom: {
    50: '#b092e0',
    500: '#8a65d2',
    950: '#000000',
  },
}
SCSS
$custom: #8a65d2;
$custom-light: #b092e0;
$custom-dark: #000000;
JSON
{
  "hex": "#8a65d2",
  "rgb": {
    "r": 138,
    "g": 101,
    "b": 210
  },
  "hsl": {
    "h": 260.367,
    "s": 54.774,
    "l": 60.98
  },
  "oklch": {
    "l": 0.59444,
    "c": 0.16219,
    "h": 296.8
  },
  "luminance": 0.19364
}

Semantic roles & 50–950 ramp

primary
#8A65D2
secondary
#D0DEB5
accent
#C2238C
background
#FBF9FD
surface
#F6F1FB
border
#D0CBD4
text
#110D15
muted
#807E83

Preview Lab

Preview with #8A65D2

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

Preview Lab → · Contrast checker → · Palette generator →

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