#8A65BD#8A65BD

#8A65BD is a mid, vivid violet. Relative luminance 0.184; OKLCH L 58.2% C 0.135 H 301.8°. Best body text is #000000 at 4.68:1 contrast (WCAG AA passes).

Color values

HEX#8A65BD
RGBrgb(138, 101, 189)
HSLhsl(265, 40%, 57%)
HSVhsv(265, 47%, 74%)
CMYKcmyk(27%, 46.6%, 0%, 25.9%)
CIE-LABlab(49.96, 33.11, -40.99)
CIE-LCHlch(49.96, 52.69, 308.93°)
OKLaboklab(58.21% 0.0711 -0.1149)
OKLCHoklch(58.21% 0.135 301.8)
XYZxyz(24.3182, 18.3847, 50.4017)
Luminance0.1839 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A65BD #98BD65
analogous
#656CBD #8A65BD #B665BD
triadic
#8A65BD #BD8A65 #65BD8A
tetradic
#8A65BD #BD656C #98BD65 #65BDB6
square
#8A65BD #BD656C #98BD65 #65BDB6
split-complementary
#8A65BD #BDB665 #6CBD65
monochromatic
#4E3275 #6B45A0 #8A65BD #AB90CF #CBBBE2

Accessibility & contrast

On white

4.49
#8A65BD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.68
#8A65BD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A65BD
4.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A65BD#FFFFFF#000000##000000
##8A65BD1.004.494.684.68
#FFFFFF4.491.0021.0021.00
#0000004.6821.001.001.00
##0000004.6821.001.001.00

Color blindness preview

Protanopia (red-blind)
#4C76C0
Deuteranopia (green-blind)
#5477BB
Tritanopia (blue-blind)
#817588
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #8a65bd;
/* rgb */ color: rgb(138, 101, 189);
/* oklch */ color: oklch(58.2% 0.135 301.8);
Tailwind
colors: {
  custom: {
    50: '#ae91d1',
    500: '#8a65bd',
    950: '#000000',
  },
}
SCSS
$custom: #8a65bd;
$custom-light: #ae91d1;
$custom-dark: #000000;
JSON
{
  "hex": "#8a65bd",
  "rgb": {
    "r": 138,
    "g": 101,
    "b": 189
  },
  "hsl": {
    "h": 265.227,
    "s": 40,
    "l": 56.863
  },
  "oklch": {
    "l": 0.58213,
    "c": 0.1351,
    "h": 301.8
  },
  "luminance": 0.18385
}

Semantic roles & 50–950 ramp

primary
#8A65BD
secondary
#C2D1AD
accent
#D0589D
background
#FAF9FC
surface
#F5F1F9
border
#CFCBD2
text
#100D14
muted
#7F7E82

Preview Lab

Preview with #8A65BD

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

Preview Lab → · Contrast checker → · Palette generator →

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