#8A65CD#8A65CD

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

Color values

HEX#8A65CD
RGBrgb(138, 101, 205)
HSLhsl(261, 51%, 60%)
HSVhsv(261, 51%, 80%)
CMYKcmyk(32.7%, 50.7%, 0%, 19.6%)
CIE-LABlab(50.83, 37.17, -48.81)
CIE-LCHlch(50.83, 61.35, 307.29°)
OKLaboklab(59.14% 0.0729 -0.1377)
OKLCHoklch(59.14% 0.156 297.9)
XYZxyz(26.1517, 19.1181, 60.0581)
Luminance0.1912 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A65CD #A8CD65
analogous
#6574CD #8A65CD #BE65CD
triadic
#8A65CD #CD8A65 #65CD8A
tetradic
#8A65CD #CD6574 #A8CD65 #65CDBE
square
#8A65CD #CD6574 #A8CD65 #65CDBE
split-complementary
#8A65CD #CDBE65 #74CD65
monochromatic
#4E2D8B #683CB9 #8A65CD #AD93DC #D0C1EB

Accessibility & contrast

On white

4.35
#8A65CD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.82
#8A65CD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A65CD
4.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A65CD#FFFFFF#000000##000000
##8A65CD1.004.354.824.82
#FFFFFF4.351.0021.0021.00
#0000004.8221.001.001.00
##0000004.8221.001.001.00

Color blindness preview

Protanopia (red-blind)
#4079D1
Deuteranopia (green-blind)
#4978CB
Tritanopia (blue-blind)
#7C798F
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #8a65cd;
/* rgb */ color: rgb(138, 101, 205);
/* oklch */ color: oklch(59.1% 0.156 297.9);
Tailwind
colors: {
  custom: {
    50: '#af92dd',
    500: '#8a65cd',
    950: '#000000',
  },
}
SCSS
$custom: #8a65cd;
$custom-light: #af92dd;
$custom-dark: #000000;
JSON
{
  "hex": "#8a65cd",
  "rgb": {
    "r": 138,
    "g": 101,
    "b": 205
  },
  "hsl": {
    "h": 261.346,
    "s": 50.98,
    "l": 60
  },
  "oklch": {
    "l": 0.5914,
    "c": 0.15579,
    "h": 297.9
  },
  "luminance": 0.19118
}

Semantic roles & 50–950 ramp

primary
#8A65CD
secondary
#CDDBB3
accent
#DA4DA8
background
#FBF9FD
surface
#F6F1FB
border
#D0CBD4
text
#110D15
muted
#807E83

Preview Lab

Preview with #8A65CD

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

Preview Lab → · Contrast checker → · Palette generator →

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