#8E65CD#8E65CD

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

Color values

HEX#8E65CD
RGBrgb(142, 101, 205)
HSLhsl(264, 51%, 60%)
HSVhsv(264, 51%, 80%)
CMYKcmyk(30.7%, 50.7%, 0%, 19.6%)
CIE-LABlab(51.23, 38.20, -48.14)
CIE-LCHlch(51.23, 61.46, 308.43°)
OKLaboklab(59.53% 0.0779 -0.1356)
OKLCHoklch(59.53% 0.156 299.9)
XYZxyz(26.8259, 19.4657, 60.0897)
Luminance0.1947 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E65CD #A4CD65
analogous
#6570CD #8E65CD #C265CD
triadic
#8E65CD #CD8E65 #65CD8E
tetradic
#8E65CD #CD6570 #A4CD65 #65CDC2
square
#8E65CD #CD6570 #A4CD65 #65CDC2
split-complementary
#8E65CD #CDC265 #70CD65
monochromatic
#522D8B #6D3CB9 #8E65CD #B093DC #D2C1EB

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##8E65CD#FFFFFF#000000##000000
##8E65CD1.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)
#417AD1
Deuteranopia (green-blind)
#4C79CA
Tritanopia (blue-blind)
#817990
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #8e65cd;
/* rgb */ color: rgb(142, 101, 205);
/* oklch */ color: oklch(59.5% 0.156 299.9);
Tailwind
colors: {
  custom: {
    50: '#b292dd',
    500: '#8e65cd',
    950: '#000000',
  },
}
SCSS
$custom: #8e65cd;
$custom-light: #b292dd;
$custom-dark: #000000;
JSON
{
  "hex": "#8e65cd",
  "rgb": {
    "r": 142,
    "g": 101,
    "b": 205
  },
  "hsl": {
    "h": 263.654,
    "s": 50.98,
    "l": 60
  },
  "oklch": {
    "l": 0.59534,
    "c": 0.15642,
    "h": 299.9
  },
  "luminance": 0.19466
}

Semantic roles & 50–950 ramp

primary
#8E65CD
secondary
#CBDBB3
accent
#DA4DA3
background
#FBF9FD
surface
#F6F1FB
border
#D0CBD4
text
#110D15
muted
#807E83

Preview Lab

Preview with #8E65CD

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

Preview Lab → · Contrast checker → · Palette generator →

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