#8A61F8#8A61F8

#8A61F8 is a mid, highly saturated violet. Relative luminance 0.207; OKLCH L 61.3% C 0.215 H 291.2°. Best body text is #000000 at 5.15:1 contrast (WCAG AA passes).

Color values

HEX#8A61F8
RGBrgb(138, 97, 248)
HSLhsl(256, 92%, 68%)
HSVhsv(256, 61%, 97%)
CMYKcmyk(44.4%, 60.9%, 0%, 2.7%)
CIE-LABlab(52.65, 50.81, -70.11)
CIE-LCHlch(52.65, 86.59, 305.93°)
OKLaboklab(61.34% 0.0779 -0.2003)
OKLCHoklch(61.34% 0.215 291.2)
XYZxyz(31.6945, 20.7289, 91.1199)
Luminance0.2073 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A61F8 #CFF861
analogous
#6184F8 #8A61F8 #D561F8
triadic
#8A61F8 #F88A61 #61F88A
tetradic
#8A61F8 #F86184 #CFF861 #61F8D5
square
#8A61F8 #F86184 #CFF861 #61F8D5
split-complementary
#8A61F8 #F8D561 #84F861
monochromatic
#4109D5 #5F26F5 #8A61F8 #B59CFB #E1D6FD

Accessibility & contrast

On white

4.08
#8A61F8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.15
#8A61F8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A61F8
5.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A61F8#FFFFFF#000000##000000
##8A61F81.004.085.155.15
#FFFFFF4.081.0021.0021.00
#0000005.1521.001.001.00
##0000005.1521.001.001.00

Color blindness preview

Protanopia (red-blind)
#0080FD
Deuteranopia (green-blind)
#007AF5
Tritanopia (blue-blind)
#6984A4
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #8a61f8;
/* rgb */ color: rgb(138, 97, 248);
/* oklch */ color: oklch(61.3% 0.215 291.2);
Tailwind
colors: {
  custom: {
    50: '#b390fb',
    500: '#8a61f8',
    950: '#000000',
  },
}
SCSS
$custom: #8a61f8;
$custom-light: #b390fb;
$custom-dark: #000000;
JSON
{
  "hex": "#8a61f8",
  "rgb": {
    "r": 138,
    "g": 97,
    "b": 248
  },
  "hsl": {
    "h": 256.291,
    "s": 91.515,
    "l": 67.647
  },
  "oklch": {
    "l": 0.61344,
    "c": 0.21488,
    "h": 291.2
  },
  "luminance": 0.2073
}

Semantic roles & 50–950 ramp

primary
#8A61F8
secondary
#E5F2C3
accent
#E600A7
background
#FBF8FF
surface
#F6F0FF
border
#D0CBD7
text
#120D18
muted
#817D86

Preview Lab

Preview with #8A61F8

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

Preview Lab → · Contrast checker → · Palette generator →

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