#8A65DF#8A65DF

#8A65DF is a mid, vivid violet. Relative luminance 0.200; OKLCH L 60.3% C 0.179 H 294.4°. Best body text is #000000 at 5.01:1 contrast (WCAG AA passes).

Color values

HEX#8A65DF
RGBrgb(138, 101, 223)
HSLhsl(258, 66%, 64%)
HSVhsv(258, 55%, 87%)
CMYKcmyk(38.1%, 54.7%, 0%, 12.5%)
CIE-LABlab(51.88, 41.88, -57.34)
CIE-LCHlch(51.88, 71.01, 306.14°)
OKLaboklab(60.26% 0.0738 -0.1627)
OKLCHoklch(60.26% 0.179 294.4)
XYZxyz(28.4507, 20.0377, 72.1664)
Luminance0.2004 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A65DF #BADF65
analogous
#657DDF #8A65DF #C765DF
triadic
#8A65DF #DF8A65 #65DF8A
tetradic
#8A65DF #DF657D #BADF65 #65DFC7
square
#8A65DF #DF657D #BADF65 #65DFC7
split-complementary
#8A65DF #DFC765 #7DDF65
monochromatic
#4B23A7 #6432D4 #8A65DF #B098EA #D7CAF4

Accessibility & contrast

On white

4.19
#8A65DF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.01
#8A65DF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A65DF
5.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A65DF#FFFFFF#000000##000000
##8A65DF1.004.195.015.01
#FFFFFF4.191.0021.0021.00
#0000005.0121.001.001.00
##0000005.0121.001.001.00

Color blindness preview

Protanopia (red-blind)
#2B7DE3
Deuteranopia (green-blind)
#367ADC
Tritanopia (blue-blind)
#757E98
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #8a65df;
/* rgb */ color: rgb(138, 101, 223);
/* oklch */ color: oklch(60.3% 0.179 294.4);
Tailwind
colors: {
  custom: {
    50: '#b192ea',
    500: '#8a65df',
    950: '#000000',
  },
}
SCSS
$custom: #8a65df;
$custom-light: #b192ea;
$custom-dark: #000000;
JSON
{
  "hex": "#8a65df",
  "rgb": {
    "r": 138,
    "g": 101,
    "b": 223
  },
  "hsl": {
    "h": 258.197,
    "s": 65.591,
    "l": 63.529
  },
  "oklch": {
    "l": 0.60262,
    "c": 0.1787,
    "h": 294.4
  },
  "luminance": 0.20038
}

Semantic roles & 50–950 ramp

primary
#8A65DF
secondary
#D8E6BA
accent
#CD1896
background
#FBF9FE
surface
#F6F1FD
border
#D0CBD5
text
#110D16
muted
#807E84

Preview Lab

Preview with #8A65DF

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

Preview Lab → · Contrast checker → · Palette generator →

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