#8A65CB#8A65CB

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

Color values

HEX#8A65CB
RGBrgb(138, 101, 203)
HSLhsl(262, 50%, 60%)
HSVhsv(262, 50%, 80%)
CMYKcmyk(32%, 50.2%, 0%, 20.4%)
CIE-LABlab(50.71, 36.65, -47.84)
CIE-LCHlch(50.71, 60.27, 307.46°)
OKLaboklab(59.02% 0.0727 -0.1349)
OKLCHoklch(59.02% 0.153 298.3)
XYZxyz(25.9118, 19.0222, 58.7948)
Luminance0.1902 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A65CB #A6CB65
analogous
#6573CB #8A65CB #BD65CB
triadic
#8A65CB #CB8A65 #65CB8A
tetradic
#8A65CB #CB6573 #A6CB65 #65CBBD
square
#8A65CB #CB6573 #A6CB65 #65CBBD
split-complementary
#8A65CB #CBBD65 #73CB65
monochromatic
#4E2E88 #693DB6 #8A65CB #AD93DA #D0C1EA

Accessibility & contrast

On white

4.37
#8A65CB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##8A65CB#FFFFFF#000000##000000
##8A65CB1.004.374.804.80
#FFFFFF4.371.0021.0021.00
#0000004.8021.001.001.00
##0000004.8021.001.001.00

Color blindness preview

Protanopia (red-blind)
#4179CF
Deuteranopia (green-blind)
#4A78C9
Tritanopia (blue-blind)
#7C788F
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #8a65cb;
/* rgb */ color: rgb(138, 101, 203);
/* oklch */ color: oklch(59.0% 0.153 298.3);
Tailwind
colors: {
  custom: {
    50: '#af92db',
    500: '#8a65cb',
    950: '#000000',
  },
}
SCSS
$custom: #8a65cb;
$custom-light: #af92db;
$custom-dark: #000000;
JSON
{
  "hex": "#8a65cb",
  "rgb": {
    "r": 138,
    "g": 101,
    "b": 203
  },
  "hsl": {
    "h": 261.765,
    "s": 49.515,
    "l": 59.608
  },
  "oklch": {
    "l": 0.59021,
    "c": 0.15321,
    "h": 298.3
  },
  "luminance": 0.19022
}

Semantic roles & 50–950 ramp

primary
#8A65CB
secondary
#CBDAB2
accent
#D94FA7
background
#FBF9FD
surface
#F6F1FB
border
#D0CBD4
text
#110D15
muted
#807E83

Preview Lab

Preview with #8A65CB

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

Preview Lab → · Contrast checker → · Palette generator →

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