#8B45FF#8B45FF

#8B45FF is a mid, highly saturated violet. Relative luminance 0.170; OKLCH L 58.4% C 0.255 H 294.2°. Best body text is #FFFFFF at 4.78:1 contrast (WCAG AA passes).

Color values

HEX#8B45FF
RGBrgb(139, 69, 255)
HSLhsl(263, 100%, 64%)
HSVhsv(263, 73%, 100%)
CMYKcmyk(45.5%, 72.9%, 0%, 0%)
CIE-LABlab(48.22, 66.72, -81.22)
CIE-LCHlch(48.22, 105.11, 309.40°)
OKLaboklab(58.35% 0.1045 -0.2328)
OKLCHoklch(58.35% 0.255 294.2)
XYZxyz(30.8206, 16.9643, 96.2389)
Luminance0.1696 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B45FF #B9FF45
analogous
#455CFF #8B45FF #E845FF
triadic
#8B45FF #FF8B45 #45FF8B
tetradic
#8B45FF #FF455C #B9FF45 #45FFE8
square
#8B45FF #FF455C #B9FF45 #45FFE8
split-complementary
#8B45FF #FFE845 #5CFF45
monochromatic
#4C00CA #6508FF #8B45FF #B182FF #D7BFFF

Accessibility & contrast

On white

4.78
#8B45FF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.39
#8B45FF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8B45FF
4.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B45FF#FFFFFF#000000##FFFFFF
##8B45FF1.004.784.394.78
#FFFFFF4.781.0021.001.00
#0000004.3921.001.0021.00
##FFFFFF4.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0074FF
Deuteranopia (green-blind)
#006FFB
Tritanopia (blue-blind)
#69769F
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #8b45ff;
/* rgb */ color: rgb(139, 69, 255);
/* oklch */ color: oklch(58.4% 0.255 294.2);
Tailwind
colors: {
  custom: {
    50: '#b67fff',
    500: '#8b45ff',
    950: '#000000',
  },
}
SCSS
$custom: #8b45ff;
$custom-light: #b67fff;
$custom-dark: #000000;
JSON
{
  "hex": "#8b45ff",
  "rgb": {
    "r": 139,
    "g": 69,
    "b": 255
  },
  "hsl": {
    "h": 262.581,
    "s": 100,
    "l": 63.529
  },
  "oklch": {
    "l": 0.58351,
    "c": 0.2552,
    "h": 294.2
  },
  "luminance": 0.16965
}

Semantic roles & 50–950 ramp

primary
#8B45FF
secondary
#D8F1AF
accent
#E6008F
background
#FCF8FF
surface
#F8EFFF
border
#D1CAD7
text
#120B18
muted
#817C86

Preview Lab

Preview with #8B45FF

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

Preview Lab → · Contrast checker → · Palette generator →

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