#8A65CC#8A65CC

#8A65CC is a mid, vivid violet. Relative luminance 0.191; OKLCH L 59.1% C 0.155 H 298.1°. Best body text is #000000 at 4.81:1 contrast (WCAG AA passes).

Color values

HEX#8A65CC
RGBrgb(138, 101, 204)
HSLhsl(262, 50%, 60%)
HSVhsv(262, 50%, 80%)
CMYKcmyk(32.4%, 50.5%, 0%, 20%)
CIE-LABlab(50.77, 36.91, -48.32)
CIE-LCHlch(50.77, 60.81, 307.37°)
OKLaboklab(59.08% 0.0728 -0.1363)
OKLCHoklch(59.08% 0.155 298.1)
XYZxyz(26.0313, 19.0700, 59.4245)
Luminance0.1907 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A65CC #A7CC65
analogous
#6574CC #8A65CC #BD65CC
triadic
#8A65CC #CC8A65 #65CC8A
tetradic
#8A65CC #CC6574 #A7CC65 #65CCBD
square
#8A65CC #CC6574 #A7CC65 #65CCBD
split-complementary
#8A65CC #CCBD65 #74CC65
monochromatic
#4E2D89 #693DB7 #8A65CC #AD93DB #D0C1EA

Accessibility & contrast

On white

4.36
#8A65CC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.81
#8A65CC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A65CC
4.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A65CC#FFFFFF#000000##000000
##8A65CC1.004.364.814.81
#FFFFFF4.361.0021.0021.00
#0000004.8121.001.001.00
##0000004.8121.001.001.00

Color blindness preview

Protanopia (red-blind)
#4079D0
Deuteranopia (green-blind)
#4A78CA
Tritanopia (blue-blind)
#7C798F
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #8a65cc;
/* rgb */ color: rgb(138, 101, 204);
/* oklch */ color: oklch(59.1% 0.155 298.1);
Tailwind
colors: {
  custom: {
    50: '#af92dc',
    500: '#8a65cc',
    950: '#000000',
  },
}
SCSS
$custom: #8a65cc;
$custom-light: #af92dc;
$custom-dark: #000000;
JSON
{
  "hex": "#8a65cc",
  "rgb": {
    "r": 138,
    "g": 101,
    "b": 204
  },
  "hsl": {
    "h": 261.553,
    "s": 50.244,
    "l": 59.804
  },
  "oklch": {
    "l": 0.5908,
    "c": 0.15451,
    "h": 298.1
  },
  "luminance": 0.1907
}

Semantic roles & 50–950 ramp

primary
#8A65CC
secondary
#CCDAB2
accent
#DA4EA8
background
#FBF9FD
surface
#F6F1FB
border
#D0CBD4
text
#110D15
muted
#807E83

Preview Lab

Preview with #8A65CC

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

Preview Lab → · Contrast checker → · Palette generator →

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