#8A65EC#8A65EC

#8A65EC is a mid, vivid violet. Relative luminance 0.208; OKLCH L 61.1% C 0.195 H 292.3°. Best body text is #000000 at 5.15:1 contrast (WCAG AA passes).

Color values

HEX#8A65EC
RGBrgb(138, 101, 236)
HSLhsl(256, 78%, 66%)
HSVhsv(256, 57%, 93%)
CMYKcmyk(41.5%, 57.2%, 0%, 7.5%)
CIE-LABlab(52.69, 45.37, -63.34)
CIE-LCHlch(52.69, 77.92, 305.61°)
OKLaboklab(61.12% 0.0739 -0.1804)
OKLCHoklch(61.12% 0.195 292.3)
XYZxyz(30.2711, 20.7659, 81.7539)
Luminance0.2077 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A65EC #C7EC65
analogous
#6583EC #8A65EC #CD65EC
triadic
#8A65EC #EC8A65 #65EC8A
tetradic
#8A65EC #EC6583 #C7EC65 #65ECCD
square
#8A65EC #EC6583 #C7EC65 #65ECCD
split-complementary
#8A65EC #ECCD65 #83EC65
monochromatic
#4518BF #612FE5 #8A65EC #B39BF3 #DDD2F9

Accessibility & contrast

On white

4.07
#8A65EC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.15
#8A65EC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A65EC
5.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A65EC#FFFFFF#000000##000000
##8A65EC1.004.075.155.15
#FFFFFF4.071.0021.0021.00
#0000005.1521.001.001.00
##0000005.1521.001.001.00

Color blindness preview

Protanopia (red-blind)
#0C80F0
Deuteranopia (green-blind)
#207BE9
Tritanopia (blue-blind)
#6F829F
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #8a65ec;
/* rgb */ color: rgb(138, 101, 236);
/* oklch */ color: oklch(61.1% 0.195 292.3);
Tailwind
colors: {
  custom: {
    50: '#b292f3',
    500: '#8a65ec',
    950: '#000000',
  },
}
SCSS
$custom: #8a65ec;
$custom-light: #b292f3;
$custom-dark: #000000;
JSON
{
  "hex": "#8a65ec",
  "rgb": {
    "r": 138,
    "g": 101,
    "b": 236
  },
  "hsl": {
    "h": 256.444,
    "s": 78.035,
    "l": 66.078
  },
  "oklch": {
    "l": 0.61121,
    "c": 0.19494,
    "h": 292.3
  },
  "luminance": 0.20767
}

Semantic roles & 50–950 ramp

primary
#8A65EC
secondary
#E0EDC0
accent
#DA0BA2
background
#FBF9FE
surface
#F6F1FD
border
#D0CBD5
text
#110D17
muted
#807E85

Preview Lab

Preview with #8A65EC

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

Preview Lab → · Contrast checker → · Palette generator →

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