#8A65F2#8A65F2

#8A65F2 is a mid, highly saturated violet. Relative luminance 0.211; OKLCH L 61.5% C 0.202 H 291.4°. Best body text is #000000 at 5.22:1 contrast (WCAG AA passes).

Color values

HEX#8A65F2
RGBrgb(138, 101, 242)
HSLhsl(256, 84%, 67%)
HSVhsv(256, 58%, 95%)
CMYKcmyk(43%, 58.3%, 0%, 5.1%)
CIE-LABlab(53.08, 46.99, -66.07)
CIE-LCHlch(53.08, 81.08, 305.42°)
OKLaboklab(61.53% 0.0738 -0.1884)
OKLCHoklch(61.53% 0.202 291.4)
XYZxyz(31.1575, 21.1205, 86.4222)
Luminance0.2112 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A65F2 #CDF265
analogous
#6586F2 #8A65F2 #D165F2
triadic
#8A65F2 #F28A65 #65F28A
tetradic
#8A65F2 #F26586 #CDF265 #65F2D1
square
#8A65F2 #F26586 #CDF265 #65F2D1
split-complementary
#8A65F2 #F2D165 #86F265
monochromatic
#4211CB #5F2DED #8A65F2 #B59DF7 #E0D6FC

Accessibility & contrast

On white

4.02
#8A65F2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.22
#8A65F2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A65F2
5.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A65F2#FFFFFF#000000##000000
##8A65F21.004.025.225.22
#FFFFFF4.021.0021.0021.00
#0000005.2221.001.001.00
##0000005.2221.001.001.00

Color blindness preview

Protanopia (red-blind)
#0081F7
Deuteranopia (green-blind)
#0A7CEF
Tritanopia (blue-blind)
#6C84A2
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #8a65f2;
/* rgb */ color: rgb(138, 101, 242);
/* oklch */ color: oklch(61.5% 0.202 291.4);
Tailwind
colors: {
  custom: {
    50: '#b292f7',
    500: '#8a65f2',
    950: '#000000',
  },
}
SCSS
$custom: #8a65f2;
$custom-light: #b292f7;
$custom-dark: #000000;
JSON
{
  "hex": "#8a65f2",
  "rgb": {
    "r": 138,
    "g": 101,
    "b": 242
  },
  "hsl": {
    "h": 255.745,
    "s": 84.431,
    "l": 67.255
  },
  "oklch": {
    "l": 0.6153,
    "c": 0.20233,
    "h": 291.4
  },
  "luminance": 0.21121
}

Semantic roles & 50–950 ramp

primary
#8A65F2
secondary
#E4F0C3
accent
#E105A7
background
#FBF9FF
surface
#F6F1FF
border
#D0CBD7
text
#120D17
muted
#817E85

Preview Lab

Preview with #8A65F2

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

Preview Lab → · Contrast checker → · Palette generator →

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