#8A4FDE#8A4FDE

#8A4FDE is a mid, highly saturated violet. Relative luminance 0.163; OKLCH L 56.9% C 0.208 H 298.5°. Best body text is #FFFFFF at 4.94:1 contrast (WCAG AA passes).

Color values

HEX#8A4FDE
RGBrgb(138, 79, 222)
HSLhsl(265, 68%, 59%)
HSVhsv(265, 64%, 87%)
CMYKcmyk(37.8%, 64.4%, 0%, 12.9%)
CIE-LABlab(47.33, 53.52, -64.12)
CIE-LCHlch(47.33, 83.52, 309.85°)
OKLaboklab(56.92% 0.0992 -0.1826)
OKLCHoklch(56.92% 0.208 298.5)
XYZxyz(26.4587, 16.2688, 70.8393)
Luminance0.1627 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A4FDE #A3DE4F
analogous
#4F5CDE #8A4FDE #D14FDE
triadic
#8A4FDE #DE8A4F #4FDE8A
tetradic
#8A4FDE #DE4F5C #A3DE4F #4FDED1
square
#8A4FDE #DE4F5C #A3DE4F #4FDED1
split-complementary
#8A4FDE #DED14F #5CDE4F
monochromatic
#4F1C96 #6A26CA #8A4FDE #AC83E8 #CFB6F1

Accessibility & contrast

On white

4.94
#8A4FDE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.25
#8A4FDE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8A4FDE
4.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A4FDE#FFFFFF#000000##FFFFFF
##8A4FDE1.004.944.254.94
#FFFFFF4.941.0021.001.00
#0000004.2521.001.0021.00
##FFFFFF4.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0070E2
Deuteranopia (green-blind)
#006FDB
Tritanopia (blue-blind)
#767090
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #8a4fde;
/* rgb */ color: rgb(138, 79, 222);
/* oklch */ color: oklch(56.9% 0.208 298.5);
Tailwind
colors: {
  custom: {
    50: '#b284e9',
    500: '#8a4fde',
    950: '#000000',
  },
}
SCSS
$custom: #8a4fde;
$custom-light: #b284e9;
$custom-dark: #000000;
JSON
{
  "hex": "#8a4fde",
  "rgb": {
    "r": 138,
    "g": 79,
    "b": 222
  },
  "hsl": {
    "h": 264.755,
    "s": 68.421,
    "l": 59.02
  },
  "oklch": {
    "l": 0.56915,
    "c": 0.20785,
    "h": 298.5
  },
  "luminance": 0.16269
}

Semantic roles & 50–950 ramp

primary
#8A4FDE
secondary
#C9E0A8
accent
#EB3DA3
background
#FBF8FE
surface
#F6EFFD
border
#D0CAD5
text
#110B16
muted
#807C84

Preview Lab

Preview with #8A4FDE

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

Preview Lab → · Contrast checker → · Palette generator →

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