#8A65BB#8A65BB

#8A65BB is a mid, vivid violet. Relative luminance 0.183; OKLCH L 58.1% C 0.133 H 302.3°. Best body text is #000000 at 4.66:1 contrast (WCAG AA passes).

Color values

HEX#8A65BB
RGBrgb(138, 101, 187)
HSLhsl(266, 39%, 56%)
HSVhsv(266, 46%, 73%)
CMYKcmyk(26.2%, 46%, 0%, 26.7%)
CIE-LABlab(49.86, 32.62, -40.00)
CIE-LCHlch(49.86, 51.61, 309.20°)
OKLaboklab(58.1% 0.0708 -0.112)
OKLCHoklch(58.1% 0.133 302.3)
XYZxyz(24.1026, 18.2985, 49.2662)
Luminance0.1830 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A65BB #96BB65
analogous
#656BBB #8A65BB #B565BB
triadic
#8A65BB #BB8A65 #65BB8A
tetradic
#8A65BB #BB656B #96BB65 #65BBB5
square
#8A65BB #BB656B #96BB65 #65BBB5
split-complementary
#8A65BB #BBB565 #6BBB65
monochromatic
#4E3373 #6B459D #8A65BB #AA8FCE #CBBAE0

Accessibility & contrast

On white

4.51
#8A65BB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.66
#8A65BB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A65BB
4.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A65BB#FFFFFF#000000##000000
##8A65BB1.004.514.664.66
#FFFFFF4.511.0021.0021.00
#0000004.6621.001.001.00
##0000004.6621.001.001.00

Color blindness preview

Protanopia (red-blind)
#4D76BE
Deuteranopia (green-blind)
#5676B9
Tritanopia (blue-blind)
#817487
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #8a65bb;
/* rgb */ color: rgb(138, 101, 187);
/* oklch */ color: oklch(58.1% 0.133 302.3);
Tailwind
colors: {
  custom: {
    50: '#ae91d0',
    500: '#8a65bb',
    950: '#000000',
  },
}
SCSS
$custom: #8a65bb;
$custom-light: #ae91d0;
$custom-dark: #000000;
JSON
{
  "hex": "#8a65bb",
  "rgb": {
    "r": 138,
    "g": 101,
    "b": 187
  },
  "hsl": {
    "h": 265.814,
    "s": 38.739,
    "l": 56.471
  },
  "oklch": {
    "l": 0.58102,
    "c": 0.13251,
    "h": 302.3
  },
  "luminance": 0.18298
}

Semantic roles & 50–950 ramp

primary
#8A65BB
secondary
#C0D0AC
accent
#CF599C
background
#FAF9FC
surface
#F5F1F9
border
#CFCBD2
text
#100D14
muted
#7F7E82

Preview Lab

Preview with #8A65BB

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

Preview Lab → · Contrast checker → · Palette generator →

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