#8A65EB#8A65EB

#8A65EB is a mid, vivid violet. Relative luminance 0.207; OKLCH L 61.1% C 0.194 H 292.4°. Best body text is #000000 at 5.14:1 contrast (WCAG AA passes).

Color values

HEX#8A65EB
RGBrgb(138, 101, 235)
HSLhsl(257, 77%, 66%)
HSVhsv(257, 57%, 92%)
CMYKcmyk(41.3%, 57%, 0%, 7.8%)
CIE-LABlab(52.63, 45.10, -62.89)
CIE-LCHlch(52.63, 77.39, 305.64°)
OKLaboklab(61.05% 0.0739 -0.179)
OKLCHoklch(61.05% 0.194 292.4)
XYZxyz(30.1262, 20.7079, 80.9909)
Luminance0.2071 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A65EB #C6EB65
analogous
#6583EB #8A65EB #CD65EB
triadic
#8A65EB #EB8A65 #65EB8A
tetradic
#8A65EB #EB6583 #C6EB65 #65EBCD
square
#8A65EB #EB6583 #C6EB65 #65EBCD
split-complementary
#8A65EB #EBCD65 #83EB65
monochromatic
#4619BD #612FE4 #8A65EB #B39BF2 #DCD1F9

Accessibility & contrast

On white

4.08
#8A65EB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.14
#8A65EB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A65EB
5.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A65EB#FFFFFF#000000##000000
##8A65EB1.004.085.145.14
#FFFFFF4.081.0021.0021.00
#0000005.1421.001.001.00
##0000005.1421.001.001.00

Color blindness preview

Protanopia (red-blind)
#117FEF
Deuteranopia (green-blind)
#227BE8
Tritanopia (blue-blind)
#70829E
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #8a65eb;
/* rgb */ color: rgb(138, 101, 235);
/* oklch */ color: oklch(61.1% 0.194 292.4);
Tailwind
colors: {
  custom: {
    50: '#b292f2',
    500: '#8a65eb',
    950: '#000000',
  },
}
SCSS
$custom: #8a65eb;
$custom-light: #b292f2;
$custom-dark: #000000;
JSON
{
  "hex": "#8a65eb",
  "rgb": {
    "r": 138,
    "g": 101,
    "b": 235
  },
  "hsl": {
    "h": 256.567,
    "s": 77.011,
    "l": 65.882
  },
  "oklch": {
    "l": 0.61054,
    "c": 0.19369,
    "h": 292.4
  },
  "luminance": 0.20709
}

Semantic roles & 50–950 ramp

primary
#8A65EB
secondary
#E0ECC0
accent
#D90CA1
background
#FBF9FE
surface
#F6F1FD
border
#D0CBD5
text
#110D17
muted
#807E85

Preview Lab

Preview with #8A65EB

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

Preview Lab → · Contrast checker → · Palette generator →

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