#8A65CA#8A65CA

#8A65CA is a mid, vivid violet. Relative luminance 0.190; OKLCH L 59.0% C 0.152 H 298.5°. Best body text is #000000 at 4.80:1 contrast (WCAG AA passes).

Color values

HEX#8A65CA
RGBrgb(138, 101, 202)
HSLhsl(262, 49%, 59%)
HSVhsv(262, 50%, 79%)
CMYKcmyk(31.7%, 50%, 0%, 20.8%)
CIE-LABlab(50.66, 36.39, -47.36)
CIE-LCHlch(50.66, 59.73, 307.54°)
OKLaboklab(58.96% 0.0726 -0.1335)
OKLCHoklch(58.96% 0.152 298.5)
XYZxyz(25.7930, 18.9747, 58.1692)
Luminance0.1898 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A65CA #A5CA65
analogous
#6573CA #8A65CA #BC65CA
triadic
#8A65CA #CA8A65 #65CA8A
tetradic
#8A65CA #CA6573 #A5CA65 #65CABC
square
#8A65CA #CA6573 #A5CA65 #65CABC
split-complementary
#8A65CA #CABC65 #73CA65
monochromatic
#4F2E86 #693EB4 #8A65CA #AD93DA #CFC0E9

Accessibility & contrast

On white

4.38
#8A65CA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.80
#8A65CA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A65CA
4.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A65CA#FFFFFF#000000##000000
##8A65CA1.004.384.804.80
#FFFFFF4.381.0021.0021.00
#0000004.8021.001.001.00
##0000004.8021.001.001.00

Color blindness preview

Protanopia (red-blind)
#4279CE
Deuteranopia (green-blind)
#4B78C8
Tritanopia (blue-blind)
#7D788E
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #8a65ca;
/* rgb */ color: rgb(138, 101, 202);
/* oklch */ color: oklch(59.0% 0.152 298.5);
Tailwind
colors: {
  custom: {
    50: '#af92db',
    500: '#8a65ca',
    950: '#000000',
  },
}
SCSS
$custom: #8a65ca;
$custom-light: #af92db;
$custom-dark: #000000;
JSON
{
  "hex": "#8a65ca",
  "rgb": {
    "r": 138,
    "g": 101,
    "b": 202
  },
  "hsl": {
    "h": 261.98,
    "s": 48.792,
    "l": 59.412
  },
  "oklch": {
    "l": 0.58961,
    "c": 0.15193,
    "h": 298.5
  },
  "luminance": 0.18975
}

Semantic roles & 50–950 ramp

primary
#8A65CA
secondary
#CBD9B2
accent
#D84FA6
background
#FBF9FD
surface
#F6F1FB
border
#D0CBD4
text
#110D15
muted
#807E83

Preview Lab

Preview with #8A65CA

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

Preview Lab → · Contrast checker → · Palette generator →

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