#8A65D4#8A65D4

#8A65D4 is a mid, vivid violet. Relative luminance 0.195; OKLCH L 59.6% C 0.165 H 296.4°. Best body text is #000000 at 4.89:1 contrast (WCAG AA passes).

Color values

HEX#8A65D4
RGBrgb(138, 101, 212)
HSLhsl(260, 56%, 61%)
HSVhsv(260, 52%, 83%)
CMYKcmyk(34.9%, 52.4%, 0%, 16.9%)
CIE-LABlab(51.23, 38.98, -52.16)
CIE-LCHlch(51.23, 65.12, 306.77°)
OKLaboklab(59.57% 0.0734 -0.1475)
OKLCHoklch(59.57% 0.165 296.4)
XYZxyz(27.0156, 19.4637, 64.6081)
Luminance0.1946 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A65D4 #AFD465
analogous
#6578D4 #8A65D4 #C265D4
triadic
#8A65D4 #D48A65 #65D48A
tetradic
#8A65D4 #D46578 #AFD465 #65D4C2
square
#8A65D4 #D46578 #AFD465 #65D4C2
split-complementary
#8A65D4 #D4C265 #78D465
monochromatic
#4D2A95 #6637C5 #8A65D4 #AE95E1 #D3C5EF

Accessibility & contrast

On white

4.29
#8A65D4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.89
#8A65D4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A65D4
4.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A65D4#FFFFFF#000000##000000
##8A65D41.004.294.894.89
#FFFFFF4.291.0021.0021.00
#0000004.8921.001.001.00
##0000004.8921.001.001.00

Color blindness preview

Protanopia (red-blind)
#397BD8
Deuteranopia (green-blind)
#4279D1
Tritanopia (blue-blind)
#797B93
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #8a65d4;
/* rgb */ color: rgb(138, 101, 212);
/* oklch */ color: oklch(59.6% 0.165 296.4);
Tailwind
colors: {
  custom: {
    50: '#b092e2',
    500: '#8a65d4',
    950: '#000000',
  },
}
SCSS
$custom: #8a65d4;
$custom-light: #b092e2;
$custom-dark: #000000;
JSON
{
  "hex": "#8a65d4",
  "rgb": {
    "r": 138,
    "g": 101,
    "b": 212
  },
  "hsl": {
    "h": 260,
    "s": 56.345,
    "l": 61.373
  },
  "oklch": {
    "l": 0.59567,
    "c": 0.16475,
    "h": 296.4
  },
  "luminance": 0.19464
}

Semantic roles & 50–950 ramp

primary
#8A65D4
secondary
#D1DFB6
accent
#C4228E
background
#FBF9FD
surface
#F6F1FB
border
#D0CBD4
text
#110D15
muted
#807E83

Preview Lab

Preview with #8A65D4

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

Preview Lab → · Contrast checker → · Palette generator →

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