#8A65DD#8A65DD

#8A65DD is a mid, vivid violet. Relative luminance 0.199; OKLCH L 60.1% C 0.176 H 294.8°. Best body text is #000000 at 4.99:1 contrast (WCAG AA passes).

Color values

HEX#8A65DD
RGBrgb(138, 101, 221)
HSLhsl(259, 64%, 63%)
HSVhsv(259, 54%, 87%)
CMYKcmyk(37.6%, 54.3%, 0%, 13.3%)
CIE-LABlab(51.76, 41.35, -56.41)
CIE-LCHlch(51.76, 69.94, 306.25°)
OKLaboklab(60.13% 0.0738 -0.16)
OKLCHoklch(60.13% 0.176 294.8)
XYZxyz(28.1827, 19.9305, 70.7547)
Luminance0.1993 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A65DD #B8DD65
analogous
#657CDD #8A65DD #C665DD
triadic
#8A65DD #DD8A65 #65DD8A
tetradic
#8A65DD #DD657C #B8DD65 #65DDC6
square
#8A65DD #DD657C #B8DD65 #65DDC6
split-complementary
#8A65DD #DDC665 #7CDD65
monochromatic
#4B24A4 #6433D2 #8A65DD #B097E8 #D6C9F3

Accessibility & contrast

On white

4.21
#8A65DD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.99
#8A65DD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A65DD
4.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A65DD#FFFFFF#000000##000000
##8A65DD1.004.214.994.99
#FFFFFF4.211.0021.0021.00
#0000004.9921.001.001.00
##0000004.9921.001.001.00

Color blindness preview

Protanopia (red-blind)
#2E7CE1
Deuteranopia (green-blind)
#397ADA
Tritanopia (blue-blind)
#767E97
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #8a65dd;
/* rgb */ color: rgb(138, 101, 221);
/* oklch */ color: oklch(60.1% 0.176 294.8);
Tailwind
colors: {
  custom: {
    50: '#b092e8',
    500: '#8a65dd',
    950: '#000000',
  },
}
SCSS
$custom: #8a65dd;
$custom-light: #b092e8;
$custom-dark: #000000;
JSON
{
  "hex": "#8a65dd",
  "rgb": {
    "r": 138,
    "g": 101,
    "b": 221
  },
  "hsl": {
    "h": 258.5,
    "s": 63.83,
    "l": 63.137
  },
  "oklch": {
    "l": 0.60134,
    "c": 0.17618,
    "h": 294.8
  },
  "luminance": 0.19931
}

Semantic roles & 50–950 ramp

primary
#8A65DD
secondary
#D7E4B9
accent
#CC1A95
background
#FBF9FE
surface
#F6F1FD
border
#D0CBD5
text
#110D16
muted
#807E84

Preview Lab

Preview with #8A65DD

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

Preview Lab → · Contrast checker → · Palette generator →

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