#8A65C8#8A65C8

#8A65C8 is a mid, vivid violet. Relative luminance 0.189; OKLCH L 58.8% C 0.149 H 299.0°. Best body text is #000000 at 4.78:1 contrast (WCAG AA passes).

Color values

HEX#8A65C8
RGBrgb(138, 101, 200)
HSLhsl(262, 47%, 59%)
HSVhsv(262, 50%, 78%)
CMYKcmyk(31%, 49.5%, 0%, 21.6%)
CIE-LABlab(50.55, 35.88, -46.39)
CIE-LCHlch(50.55, 58.65, 307.72°)
OKLaboklab(58.84% 0.0724 -0.1306)
OKLCHoklch(58.84% 0.149 299)
XYZxyz(25.5578, 18.8806, 56.9302)
Luminance0.1888 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A65C8 #A3C865
analogous
#6572C8 #8A65C8 #BB65C8
triadic
#8A65C8 #C88A65 #65C88A
tetradic
#8A65C8 #C86572 #A3C865 #65C8BB
square
#8A65C8 #C86572 #A3C865 #65C8BB
split-complementary
#8A65C8 #C8BB65 #72C865
monochromatic
#4F2F84 #6A3FB1 #8A65C8 #AC92D8 #CFBFE8

Accessibility & contrast

On white

4.40
#8A65C8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.78
#8A65C8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A65C8
4.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A65C8#FFFFFF#000000##000000
##8A65C81.004.404.784.78
#FFFFFF4.401.0021.0021.00
#0000004.7821.001.001.00
##0000004.7821.001.001.00

Color blindness preview

Protanopia (red-blind)
#4478CB
Deuteranopia (green-blind)
#4D77C6
Tritanopia (blue-blind)
#7D788D
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #8a65c8;
/* rgb */ color: rgb(138, 101, 200);
/* oklch */ color: oklch(58.8% 0.149 299.0);
Tailwind
colors: {
  custom: {
    50: '#af92d9',
    500: '#8a65c8',
    950: '#000000',
  },
}
SCSS
$custom: #8a65c8;
$custom-light: #af92d9;
$custom-dark: #000000;
JSON
{
  "hex": "#8a65c8",
  "rgb": {
    "r": 138,
    "g": 101,
    "b": 200
  },
  "hsl": {
    "h": 262.424,
    "s": 47.368,
    "l": 59.02
  },
  "oklch": {
    "l": 0.58843,
    "c": 0.14935,
    "h": 299
  },
  "luminance": 0.18881
}

Semantic roles & 50–950 ramp

primary
#8A65C8
secondary
#C9D8B1
accent
#D751A5
background
#FBF9FD
surface
#F6F1FA
border
#D0CBD3
text
#110D15
muted
#807E83

Preview Lab

Preview with #8A65C8

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

Preview Lab → · Contrast checker → · Palette generator →

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