#8A65DB#8A65DB

#8A65DB is a mid, vivid violet. Relative luminance 0.198; OKLCH L 60.0% C 0.174 H 295.1°. Best body text is #000000 at 4.97:1 contrast (WCAG AA passes).

Color values

HEX#8A65DB
RGBrgb(138, 101, 219)
HSLhsl(259, 62%, 63%)
HSVhsv(259, 54%, 86%)
CMYKcmyk(37%, 53.9%, 0%, 14.1%)
CIE-LABlab(51.64, 40.82, -55.47)
CIE-LCHlch(51.64, 68.87, 306.35°)
OKLaboklab(60.01% 0.0737 -0.1572)
OKLCHoklch(60.01% 0.174 295.1)
XYZxyz(27.9178, 19.8246, 69.3597)
Luminance0.1983 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A65DB #B6DB65
analogous
#657BDB #8A65DB #C565DB
triadic
#8A65DB #DB8A65 #65DB8A
tetradic
#8A65DB #DB657B #B6DB65 #65DBC5
square
#8A65DB #DB657B #B6DB65 #65DBC5
split-complementary
#8A65DB #DBC565 #7BDB65
monochromatic
#4C25A0 #6433CF #8A65DB #B097E7 #D5C8F2

Accessibility & contrast

On white

4.23
#8A65DB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.97
#8A65DB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A65DB
4.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A65DB#FFFFFF#000000##000000
##8A65DB1.004.234.974.97
#FFFFFF4.231.0021.0021.00
#0000004.9721.001.001.00
##0000004.9721.001.001.00

Color blindness preview

Protanopia (red-blind)
#317CDF
Deuteranopia (green-blind)
#3B79D8
Tritanopia (blue-blind)
#767D96
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #8a65db;
/* rgb */ color: rgb(138, 101, 219);
/* oklch */ color: oklch(60.0% 0.174 295.1);
Tailwind
colors: {
  custom: {
    50: '#b092e7',
    500: '#8a65db',
    950: '#000000',
  },
}
SCSS
$custom: #8a65db;
$custom-light: #b092e7;
$custom-dark: #000000;
JSON
{
  "hex": "#8a65db",
  "rgb": {
    "r": 138,
    "g": 101,
    "b": 219
  },
  "hsl": {
    "h": 258.814,
    "s": 62.105,
    "l": 62.745
  },
  "oklch": {
    "l": 0.60006,
    "c": 0.17365,
    "h": 295.1
  },
  "luminance": 0.19825
}

Semantic roles & 50–950 ramp

primary
#8A65DB
secondary
#D6E3B9
accent
#CA1C93
background
#FBF9FE
surface
#F6F1FC
border
#D0CBD5
text
#110D16
muted
#807E84

Preview Lab

Preview with #8A65DB

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

Preview Lab → · Contrast checker → · Palette generator →

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