#8A65BC#8A65BC

#8A65BC is a mid, vivid violet. Relative luminance 0.183; OKLCH L 58.2% C 0.134 H 302.0°. Best body text is #000000 at 4.67:1 contrast (WCAG AA passes).

Color values

HEX#8A65BC
RGBrgb(138, 101, 188)
HSLhsl(266, 39%, 57%)
HSVhsv(266, 46%, 74%)
CMYKcmyk(26.6%, 46.3%, 0%, 26.3%)
CIE-LABlab(49.91, 32.86, -40.49)
CIE-LCHlch(49.91, 52.15, 309.06°)
OKLaboklab(58.16% 0.071 -0.1134)
OKLCHoklch(58.16% 0.134 302)
XYZxyz(24.2100, 18.3414, 49.8320)
Luminance0.1834 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A65BC #97BC65
analogous
#656CBC #8A65BC #B665BC
triadic
#8A65BC #BC8A65 #65BC8A
tetradic
#8A65BC #BC656C #97BC65 #65BCB6
square
#8A65BC #BC656C #97BC65 #65BCB6
split-complementary
#8A65BC #BCB665 #6CBC65
monochromatic
#4E3374 #6B459F #8A65BC #AA90CF #CBBAE1

Accessibility & contrast

On white

4.50
#8A65BC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.67
#8A65BC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A65BC
4.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A65BC#FFFFFF#000000##000000
##8A65BC1.004.504.674.67
#FFFFFF4.501.0021.0021.00
#0000004.6721.001.001.00
##0000004.6721.001.001.00

Color blindness preview

Protanopia (red-blind)
#4C76BF
Deuteranopia (green-blind)
#5576BA
Tritanopia (blue-blind)
#817487
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #8a65bc;
/* rgb */ color: rgb(138, 101, 188);
/* oklch */ color: oklch(58.2% 0.134 302.0);
Tailwind
colors: {
  custom: {
    50: '#ae91d0',
    500: '#8a65bc',
    950: '#000000',
  },
}
SCSS
$custom: #8a65bc;
$custom-light: #ae91d0;
$custom-dark: #000000;
JSON
{
  "hex": "#8a65bc",
  "rgb": {
    "r": 138,
    "g": 101,
    "b": 188
  },
  "hsl": {
    "h": 265.517,
    "s": 39.367,
    "l": 56.667
  },
  "oklch": {
    "l": 0.58157,
    "c": 0.13381,
    "h": 302
  },
  "luminance": 0.18341
}

Semantic roles & 50–950 ramp

primary
#8A65BC
secondary
#C1D0AD
accent
#CF599D
background
#FAF9FC
surface
#F5F1F9
border
#CFCBD2
text
#100D14
muted
#7F7E82

Preview Lab

Preview with #8A65BC

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

Preview Lab → · Contrast checker → · Palette generator →

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