#8A65C2#8A65C2

#8A65C2 is a mid, vivid violet. Relative luminance 0.186; OKLCH L 58.5% C 0.142 H 300.5°. Best body text is #000000 at 4.72:1 contrast (WCAG AA passes).

Color values

HEX#8A65C2
RGBrgb(138, 101, 194)
HSLhsl(264, 43%, 58%)
HSVhsv(264, 48%, 76%)
CMYKcmyk(28.9%, 47.9%, 0%, 23.9%)
CIE-LABlab(50.22, 34.36, -43.46)
CIE-LCHlch(50.22, 55.40, 308.34°)
OKLaboklab(58.5% 0.0718 -0.1221)
OKLCHoklch(58.5% 0.142 300.5)
XYZxyz(24.8703, 18.6056, 53.3095)
Luminance0.1861 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A65C2 #9DC265
analogous
#656EC2 #8A65C2 #B865C2
triadic
#8A65C2 #C28A65 #65C28A
tetradic
#8A65C2 #C2656E #9DC265 #65C2B8
square
#8A65C2 #C2656E #9DC265 #65C2B8
split-complementary
#8A65C2 #C2B865 #6EC265
monochromatic
#4F317C #6B42A7 #8A65C2 #AB91D3 #CDBDE5

Accessibility & contrast

On white

4.45
#8A65C2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.72
#8A65C2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A65C2
4.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A65C2#FFFFFF#000000##000000
##8A65C21.004.454.724.72
#FFFFFF4.451.0021.0021.00
#0000004.7221.001.001.00
##0000004.7221.001.001.00

Color blindness preview

Protanopia (red-blind)
#4877C5
Deuteranopia (green-blind)
#5177C0
Tritanopia (blue-blind)
#7F768A
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #8a65c2;
/* rgb */ color: rgb(138, 101, 194);
/* oklch */ color: oklch(58.5% 0.142 300.5);
Tailwind
colors: {
  custom: {
    50: '#ae91d5',
    500: '#8a65c2',
    950: '#000000',
  },
}
SCSS
$custom: #8a65c2;
$custom-light: #ae91d5;
$custom-dark: #000000;
JSON
{
  "hex": "#8a65c2",
  "rgb": {
    "r": 138,
    "g": 101,
    "b": 194
  },
  "hsl": {
    "h": 263.871,
    "s": 43.256,
    "l": 57.843
  },
  "oklch": {
    "l": 0.58495,
    "c": 0.14159,
    "h": 300.5
  },
  "luminance": 0.18606
}

Semantic roles & 50–950 ramp

primary
#8A65C2
secondary
#C5D4AF
accent
#D355A1
background
#FAF9FD
surface
#F5F1FA
border
#CFCBD3
text
#110D14
muted
#807E83

Preview Lab

Preview with #8A65C2

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

Preview Lab → · Contrast checker → · Palette generator →

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