#8A65F5#8A65F5

#8A65F5 is a mid, highly saturated violet. Relative luminance 0.213; OKLCH L 61.7% C 0.206 H 291.0°. Best body text is #000000 at 5.26:1 contrast (WCAG AA passes).

Color values

HEX#8A65F5
RGBrgb(138, 101, 245)
HSLhsl(255, 88%, 68%)
HSVhsv(255, 59%, 96%)
CMYKcmyk(43.7%, 58.8%, 0%, 3.9%)
CIE-LABlab(53.28, 47.81, -67.42)
CIE-LCHlch(53.28, 82.65, 305.34°)
OKLaboklab(61.74% 0.0737 -0.1924)
OKLCHoklch(61.74% 0.206 291)
XYZxyz(31.6118, 21.3022, 88.8146)
Luminance0.2130 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A65F5 #D0F565
analogous
#6588F5 #8A65F5 #D265F5
triadic
#8A65F5 #F58A65 #65F58A
tetradic
#8A65F5 #F56588 #D0F565 #65F5D2
square
#8A65F5 #F56588 #D0F565 #65F5D2
split-complementary
#8A65F5 #F5D265 #88F565
monochromatic
#400ED2 #5E2CF1 #8A65F5 #B69EF9 #E1D8FC

Accessibility & contrast

On white

3.99
#8A65F5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.26
#8A65F5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A65F5
5.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A65F5#FFFFFF#000000##000000
##8A65F51.003.995.265.26
#FFFFFF3.991.0021.0021.00
#0000005.2621.001.001.00
##0000005.2621.001.001.00

Color blindness preview

Protanopia (red-blind)
#0082FA
Deuteranopia (green-blind)
#007CF2
Tritanopia (blue-blind)
#6B85A3
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #8a65f5;
/* rgb */ color: rgb(138, 101, 245);
/* oklch */ color: oklch(61.7% 0.206 291.0);
Tailwind
colors: {
  custom: {
    50: '#b392f9',
    500: '#8a65f5',
    950: '#000000',
  },
}
SCSS
$custom: #8a65f5;
$custom-light: #b392f9;
$custom-dark: #000000;
JSON
{
  "hex": "#8a65f5",
  "rgb": {
    "r": 138,
    "g": 101,
    "b": 245
  },
  "hsl": {
    "h": 255.417,
    "s": 87.805,
    "l": 67.843
  },
  "oklch": {
    "l": 0.61738,
    "c": 0.20601,
    "h": 291
  },
  "luminance": 0.21303
}

Semantic roles & 50–950 ramp

primary
#8A65F5
secondary
#E6F1C5
accent
#E401AA
background
#FBF9FF
surface
#F6F1FF
border
#D0CBD7
text
#120D17
muted
#817E85

Preview Lab

Preview with #8A65F5

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

Preview Lab → · Contrast checker → · Palette generator →

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