#8A61FE#8A61FE

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

Color values

HEX#8A61FE
RGBrgb(138, 97, 254)
HSLhsl(256, 99%, 69%)
HSVhsv(256, 62%, 100%)
CMYKcmyk(45.7%, 61.8%, 0%, 0.4%)
CIE-LABlab(53.07, 52.44, -72.77)
CIE-LCHlch(53.07, 89.69, 305.78°)
OKLaboklab(61.78% 0.0775 -0.2081)
OKLCHoklch(61.78% 0.222 290.4)
XYZxyz(32.6403, 21.1072, 96.1010)
Luminance0.2111 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A61FE #D5FE61
analogous
#6187FE #8A61FE #D961FE
triadic
#8A61FE #FE8A61 #61FE8A
tetradic
#8A61FE #FE6187 #D5FE61 #61FED9
square
#8A61FE #FE6187 #D5FE61 #61FED9
split-complementary
#8A61FE #FED961 #87FE61
monochromatic
#3C01E3 #5D24FE #8A61FE #B79EFE #E4DBFF

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##8A61FE#FFFFFF#000000##000000
##8A61FE1.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)
#0082FF
Deuteranopia (green-blind)
#007BFB
Tritanopia (blue-blind)
#6686A7
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #8a61fe;
/* rgb */ color: rgb(138, 97, 254);
/* oklch */ color: oklch(61.8% 0.222 290.4);
Tailwind
colors: {
  custom: {
    50: '#b490ff',
    500: '#8a61fe',
    950: '#000000',
  },
}
SCSS
$custom: #8a61fe;
$custom-light: #b490ff;
$custom-dark: #000000;
JSON
{
  "hex": "#8a61fe",
  "rgb": {
    "r": 138,
    "g": 97,
    "b": 254
  },
  "hsl": {
    "h": 255.669,
    "s": 98.742,
    "l": 68.824
  },
  "oklch": {
    "l": 0.61777,
    "c": 0.22203,
    "h": 290.4
  },
  "luminance": 0.21108
}

Semantic roles & 50–950 ramp

primary
#8A61FE
secondary
#E8F5C6
accent
#E600AA
background
#FBF8FF
surface
#F6F0FF
border
#D0CBD7
text
#120D18
muted
#817D86

Preview Lab

Preview with #8A61FE

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

Preview Lab → · Contrast checker → · Palette generator →

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