#8D45BF#8D45BF

#8D45BF is a mid, vivid violet. Relative luminance 0.137; OKLCH L 53.8% C 0.188 H 308.5°. Best body text is #FFFFFF at 5.62:1 contrast (WCAG AA passes).

Color values

HEX#8D45BF
RGBrgb(141, 69, 191)
HSLhsl(275, 49%, 51%)
HSVhsv(275, 64%, 75%)
CMYKcmyk(26.2%, 63.9%, 0%, 25.1%)
CIE-LABlab(43.77, 51.73, -52.00)
CIE-LCHlch(43.77, 73.35, 314.85°)
OKLaboklab(53.77% 0.1169 -0.1469)
OKLCHoklch(53.77% 0.188 308.5)
XYZxyz(22.5147, 13.6809, 50.7347)
Luminance0.1368 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D45BF #77BF45
analogous
#5045BF #8D45BF #BF45B4
triadic
#8D45BF #BF8D45 #45BF8D
tetradic
#8D45BF #BF5045 #77BF45 #45B4BF
square
#8D45BF #BF5045 #77BF45 #45B4BF
split-complementary
#8D45BF #B4BF45 #45BF50
monochromatic
#4B2366 #6C3394 #8D45BF #A973CF #C5A0DE

Accessibility & contrast

On white

5.62
#8D45BF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.74
#8D45BF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8D45BF
5.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D45BF#FFFFFF#000000##FFFFFF
##8D45BF1.005.623.745.62
#FFFFFF5.621.0021.001.00
#0000003.7421.001.0021.00
##FFFFFF5.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0065C3
Deuteranopia (green-blind)
#3168BC
Tritanopia (blue-blind)
#865E7C
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #8d45bf;
/* rgb */ color: rgb(141, 69, 191);
/* oklch */ color: oklch(53.8% 0.188 308.5);
Tailwind
colors: {
  custom: {
    50: '#b27dd3',
    500: '#8d45bf',
    950: '#000000',
  },
}
SCSS
$custom: #8d45bf;
$custom-light: #b27dd3;
$custom-dark: #000000;
JSON
{
  "hex": "#8d45bf",
  "rgb": {
    "r": 141,
    "g": 69,
    "b": 191
  },
  "hsl": {
    "h": 275.41,
    "s": 48.8,
    "l": 50.98
  },
  "oklch": {
    "l": 0.5377,
    "c": 0.18775,
    "h": 308.5
  },
  "luminance": 0.13681
}

Semantic roles & 50–950 ramp

primary
#8D45BF
secondary
#ABCB95
accent
#D84F88
background
#FBF7FD
surface
#F6EEFA
border
#D0C9D3
text
#110A14
muted
#807C83

Preview Lab

Preview with #8D45BF

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

Preview Lab → · Contrast checker → · Palette generator →

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