#8A65F0#8A65F0

#8A65F0 is a mid, vivid violet. Relative luminance 0.210; OKLCH L 61.4% C 0.200 H 291.7°. Best body text is #000000 at 5.20:1 contrast (WCAG AA passes).

Color values

HEX#8A65F0
RGBrgb(138, 101, 240)
HSLhsl(256, 82%, 67%)
HSVhsv(256, 58%, 94%)
CMYKcmyk(42.5%, 57.9%, 0%, 5.9%)
CIE-LABlab(52.95, 46.45, -65.17)
CIE-LCHlch(52.95, 80.03, 305.48°)
OKLaboklab(61.39% 0.0739 -0.1857)
OKLCHoklch(61.39% 0.2 291.7)
XYZxyz(30.8588, 21.0010, 84.8489)
Luminance0.2100 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A65F0 #CBF065
analogous
#6586F0 #8A65F0 #D065F0
triadic
#8A65F0 #F08A65 #65F08A
tetradic
#8A65F0 #F06586 #CBF065 #65F0D0
square
#8A65F0 #F06586 #CBF065 #65F0D0
split-complementary
#8A65F0 #F0D065 #86F065
monochromatic
#4313C7 #602DEB #8A65F0 #B49DF5 #DFD5FB

Accessibility & contrast

On white

4.04
#8A65F0 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.20
#8A65F0 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A65F0
5.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A65F0#FFFFFF#000000##000000
##8A65F01.004.045.205.20
#FFFFFF4.041.0021.0021.00
#0000005.2021.001.001.00
##0000005.2021.001.001.00

Color blindness preview

Protanopia (red-blind)
#0081F5
Deuteranopia (green-blind)
#137CED
Tritanopia (blue-blind)
#6D84A1
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #8a65f0;
/* rgb */ color: rgb(138, 101, 240);
/* oklch */ color: oklch(61.4% 0.200 291.7);
Tailwind
colors: {
  custom: {
    50: '#b292f6',
    500: '#8a65f0',
    950: '#000000',
  },
}
SCSS
$custom: #8a65f0;
$custom-light: #b292f6;
$custom-dark: #000000;
JSON
{
  "hex": "#8a65f0",
  "rgb": {
    "r": 138,
    "g": 101,
    "b": 240
  },
  "hsl": {
    "h": 255.971,
    "s": 82.249,
    "l": 66.863
  },
  "oklch": {
    "l": 0.61393,
    "c": 0.19988,
    "h": 291.7
  },
  "luminance": 0.21002
}

Semantic roles & 50–950 ramp

primary
#8A65F0
secondary
#E3EFC2
accent
#DF07A5
background
#FBF9FF
surface
#F6F1FF
border
#D0CBD7
text
#110D17
muted
#807E85

Preview Lab

Preview with #8A65F0

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

Preview Lab → · Contrast checker → · Palette generator →

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