#8A4BFC#8A4BFC

#8A4BFC is a mid, highly saturated violet. Relative luminance 0.175; OKLCH L 58.7% C 0.246 H 293.7°. Best body text is #FFFFFF at 4.67:1 contrast (WCAG AA passes).

Color values

HEX#8A4BFC
RGBrgb(138, 75, 252)
HSLhsl(261, 97%, 64%)
HSVhsv(261, 70%, 99%)
CMYKcmyk(45.2%, 70.2%, 0%, 1.2%)
CIE-LABlab(48.84, 63.08, -78.54)
CIE-LCHlch(48.84, 100.73, 308.77°)
OKLaboklab(58.69% 0.0987 -0.225)
OKLCHoklch(58.69% 0.246 293.7)
XYZxyz(30.5632, 17.4628, 93.8369)
Luminance0.1746 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A4BFC #BDFC4B
analogous
#4B65FC #8A4BFC #E34BFC
triadic
#8A4BFC #FC8A4B #4BFC8A
tetradic
#8A4BFC #FC4B65 #BDFC4B #4BFCE3
square
#8A4BFC #FC4B65 #BDFC4B #4BFCE3
split-complementary
#8A4BFC #FCE34B #65FC4B
monochromatic
#4A03C9 #630FFB #8A4BFC #B187FD #D8C3FE

Accessibility & contrast

On white

4.67
#8A4BFC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.49
#8A4BFC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8A4BFC
4.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A4BFC#FFFFFF#000000##FFFFFF
##8A4BFC1.004.674.494.67
#FFFFFF4.671.0021.001.00
#0000004.4921.001.0021.00
##FFFFFF4.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0076FF
Deuteranopia (green-blind)
#0071F9
Tritanopia (blue-blind)
#68789F
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #8a4bfc;
/* rgb */ color: rgb(138, 75, 252);
/* oklch */ color: oklch(58.7% 0.246 293.7);
Tailwind
colors: {
  custom: {
    50: '#b582ff',
    500: '#8a4bfc',
    950: '#000000',
  },
}
SCSS
$custom: #8a4bfc;
$custom-light: #b582ff;
$custom-dark: #000000;
JSON
{
  "hex": "#8a4bfc",
  "rgb": {
    "r": 138,
    "g": 75,
    "b": 252
  },
  "hsl": {
    "h": 261.356,
    "s": 96.721,
    "l": 64.118
  },
  "oklch": {
    "l": 0.58693,
    "c": 0.24569,
    "h": 293.7
  },
  "luminance": 0.17464
}

Semantic roles & 50–950 ramp

primary
#8A4BFC
secondary
#DAF0B3
accent
#E60094
background
#FBF8FF
surface
#F7EFFF
border
#D0CAD7
text
#120B18
muted
#817C86

Preview Lab

Preview with #8A4BFC

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

Preview Lab → · Contrast checker → · Palette generator →

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