#8F65D9#8F65D9

#8F65D9 is a mid, vivid violet. Relative luminance 0.202; OKLCH L 60.4% C 0.172 H 297.8°. Best body text is #000000 at 5.03:1 contrast (WCAG AA passes).

Color values

HEX#8F65D9
RGBrgb(143, 101, 217)
HSLhsl(262, 60%, 62%)
HSVhsv(262, 53%, 85%)
CMYKcmyk(34.1%, 53.5%, 0%, 14.9%)
CIE-LABlab(52.01, 41.51, -53.71)
CIE-LCHlch(52.01, 67.88, 307.70°)
OKLaboklab(60.36% 0.0799 -0.1519)
OKLCHoklch(60.36% 0.172 297.8)
XYZxyz(28.5027, 20.1564, 68.0211)
Luminance0.2016 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F65D9 #AFD965
analogous
#6575D9 #8F65D9 #C965D9
triadic
#8F65D9 #D98F65 #65D98F
tetradic
#8F65D9 #D96575 #AFD965 #65D9C9
square
#8F65D9 #D96575 #AFD965 #65D9C9
split-complementary
#8F65D9 #D9C965 #75D965
monochromatic
#51279D #6B34CD #8F65D9 #B396E5 #D6C7F1

Accessibility & contrast

On white

4.17
#8F65D9 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.03
#8F65D9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8F65D9
5.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F65D9#FFFFFF#000000##000000
##8F65D91.004.175.035.03
#FFFFFF4.171.0021.0021.00
#0000005.0321.001.001.00
##0000005.0321.001.001.00

Color blindness preview

Protanopia (red-blind)
#367CDD
Deuteranopia (green-blind)
#427BD6
Tritanopia (blue-blind)
#7F7C95
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #8f65d9;
/* rgb */ color: rgb(143, 101, 217);
/* oklch */ color: oklch(60.4% 0.172 297.8);
Tailwind
colors: {
  custom: {
    50: '#b392e5',
    500: '#8f65d9',
    950: '#000000',
  },
}
SCSS
$custom: #8f65d9;
$custom-light: #b392e5;
$custom-dark: #000000;
JSON
{
  "hex": "#8f65d9",
  "rgb": {
    "r": 143,
    "g": 101,
    "b": 217
  },
  "hsl": {
    "h": 261.724,
    "s": 60.417,
    "l": 62.353
  },
  "oklch": {
    "l": 0.60361,
    "c": 0.17166,
    "h": 297.8
  },
  "luminance": 0.20157
}

Semantic roles & 50–950 ramp

primary
#8F65D9
secondary
#D3E2B8
accent
#C81D8A
background
#FBF9FE
surface
#F6F1FC
border
#D0CBD5
text
#110D16
muted
#807E84

Preview Lab

Preview with #8F65D9

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

Preview Lab → · Contrast checker → · Palette generator →

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