#8A65D1#8A65D1

#8A65D1 is a mid, vivid violet. Relative luminance 0.193; OKLCH L 59.4% C 0.161 H 297.0°. Best body text is #000000 at 4.86:1 contrast (WCAG AA passes).

Color values

HEX#8A65D1
RGBrgb(138, 101, 209)
HSLhsl(261, 54%, 61%)
HSVhsv(261, 52%, 82%)
CMYKcmyk(34%, 51.7%, 0%, 18%)
CIE-LABlab(51.05, 38.20, -50.73)
CIE-LCHlch(51.05, 63.50, 306.98°)
OKLaboklab(59.38% 0.0732 -0.1433)
OKLCHoklch(59.38% 0.161 297)
XYZxyz(26.6407, 19.3137, 62.6336)
Luminance0.1931 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A65D1 #ACD165
analogous
#6576D1 #8A65D1 #C065D1
triadic
#8A65D1 #D18A65 #65D18A
tetradic
#8A65D1 #D16576 #ACD165 #65D1C0
square
#8A65D1 #D16576 #ACD165 #65D1C0
split-complementary
#8A65D1 #D1C065 #76D165
monochromatic
#4E2B90 #6739C0 #8A65D1 #AE94DF #D2C3ED

Accessibility & contrast

On white

4.32
#8A65D1 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.86
#8A65D1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A65D1
4.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A65D1#FFFFFF#000000##000000
##8A65D11.004.324.864.86
#FFFFFF4.321.0021.0021.00
#0000004.8621.001.001.00
##0000004.8621.001.001.00

Color blindness preview

Protanopia (red-blind)
#3C7AD5
Deuteranopia (green-blind)
#4578CE
Tritanopia (blue-blind)
#7A7A91
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #8a65d1;
/* rgb */ color: rgb(138, 101, 209);
/* oklch */ color: oklch(59.4% 0.161 297.0);
Tailwind
colors: {
  custom: {
    50: '#b092e0',
    500: '#8a65d1',
    950: '#000000',
  },
}
SCSS
$custom: #8a65d1;
$custom-light: #b092e0;
$custom-dark: #000000;
JSON
{
  "hex": "#8a65d1",
  "rgb": {
    "r": 138,
    "g": 101,
    "b": 209
  },
  "hsl": {
    "h": 260.556,
    "s": 54,
    "l": 60.784
  },
  "oklch": {
    "l": 0.59383,
    "c": 0.16092,
    "h": 297
  },
  "luminance": 0.19314
}

Semantic roles & 50–950 ramp

primary
#8A65D1
secondary
#CFDDB4
accent
#C1248C
background
#FBF9FD
surface
#F6F1FB
border
#D0CBD4
text
#110D15
muted
#807E83

Preview Lab

Preview with #8A65D1

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

Preview Lab → · Contrast checker → · Palette generator →

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