#8D45FF#8D45FF

#8D45FF is a mid, highly saturated violet. Relative luminance 0.171; OKLCH L 58.6% C 0.255 H 294.8°. Best body text is #FFFFFF at 4.74:1 contrast (WCAG AA passes).

Color values

HEX#8D45FF
RGBrgb(141, 69, 255)
HSLhsl(263, 100%, 64%)
HSVhsv(263, 73%, 100%)
CMYKcmyk(44.7%, 72.9%, 0%, 0%)
CIE-LABlab(48.43, 67.03, -80.86)
CIE-LCHlch(48.43, 105.02, 309.66°)
OKLaboklab(58.55% 0.1073 -0.2317)
OKLCHoklch(58.55% 0.255 294.8)
XYZxyz(31.1577, 17.1381, 96.2547)
Luminance0.1714 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D45FF #B7FF45
analogous
#455AFF #8D45FF #EA45FF
triadic
#8D45FF #FF8D45 #45FF8D
tetradic
#8D45FF #FF455A #B7FF45 #45FFEA
square
#8D45FF #FF455A #B7FF45 #45FFEA
split-complementary
#8D45FF #FFEA45 #5AFF45
monochromatic
#4E00CA #6708FF #8D45FF #B382FF #D8BFFF

Accessibility & contrast

On white

4.74
#8D45FF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.43
#8D45FF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8D45FF
4.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D45FF#FFFFFF#000000##FFFFFF
##8D45FF1.004.744.434.74
#FFFFFF4.741.0021.001.00
#0000004.4321.001.0021.00
##FFFFFF4.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0075FF
Deuteranopia (green-blind)
#0070FB
Tritanopia (blue-blind)
#6C769F
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #8d45ff;
/* rgb */ color: rgb(141, 69, 255);
/* oklch */ color: oklch(58.6% 0.255 294.8);
Tailwind
colors: {
  custom: {
    50: '#b77fff',
    500: '#8d45ff',
    950: '#000000',
  },
}
SCSS
$custom: #8d45ff;
$custom-light: #b77fff;
$custom-dark: #000000;
JSON
{
  "hex": "#8d45ff",
  "rgb": {
    "r": 141,
    "g": 69,
    "b": 255
  },
  "hsl": {
    "h": 263.226,
    "s": 100,
    "l": 63.529
  },
  "oklch": {
    "l": 0.58554,
    "c": 0.25531,
    "h": 294.8
  },
  "luminance": 0.17139
}

Semantic roles & 50–950 ramp

primary
#8D45FF
secondary
#D7F1AF
accent
#E6008D
background
#FCF8FF
surface
#F8EFFF
border
#D1CAD7
text
#120B18
muted
#817C86

Preview Lab

Preview with #8D45FF

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

Preview Lab → · Contrast checker → · Palette generator →

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