#8B45CF#8B45CF

#8B45CF is a mid, highly saturated violet. Relative luminance 0.142; OKLCH L 54.6% C 0.204 H 303.6°. Best body text is #FFFFFF at 5.45:1 contrast (WCAG AA passes).

Color values

HEX#8B45CF
RGBrgb(139, 69, 207)
HSLhsl(270, 59%, 54%)
HSVhsv(270, 67%, 81%)
CMYKcmyk(32.9%, 66.7%, 0%, 18.8%)
CIE-LABlab(44.59, 55.02, -59.96)
CIE-LCHlch(44.59, 81.38, 312.54°)
OKLaboklab(54.64% 0.113 -0.1703)
OKLCHoklch(54.64% 0.204 303.6)
XYZxyz(24.0355, 14.2502, 60.5037)
Luminance0.1425 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B45CF #89CF45
analogous
#4645CF #8B45CF #CF45CE
triadic
#8B45CF #CF8B45 #45CF8B
tetradic
#8B45CF #CF4645 #89CF45 #45CECF
square
#8B45CF #CF4645 #89CF45 #45CECF
split-complementary
#8B45CF #CECF45 #45CF46
monochromatic
#4D207A #6C2CAB #8B45CF #A976DC #C8A6E8

Accessibility & contrast

On white

5.45
#8B45CF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.85
#8B45CF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8B45CF
5.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B45CF#FFFFFF#000000##FFFFFF
##8B45CF1.005.453.855.45
#FFFFFF5.451.0021.001.00
#0000003.8521.001.0021.00
##FFFFFF5.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0068D3
Deuteranopia (green-blind)
#0C69CC
Tritanopia (blue-blind)
#7E6484
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #8b45cf;
/* rgb */ color: rgb(139, 69, 207);
/* oklch */ color: oklch(54.6% 0.204 303.6);
Tailwind
colors: {
  custom: {
    50: '#b27dde',
    500: '#8b45cf',
    950: '#000000',
  },
}
SCSS
$custom: #8b45cf;
$custom-light: #b27dde;
$custom-dark: #000000;
JSON
{
  "hex": "#8b45cf",
  "rgb": {
    "r": 139,
    "g": 69,
    "b": 207
  },
  "hsl": {
    "h": 270.435,
    "s": 58.974,
    "l": 54.118
  },
  "oklch": {
    "l": 0.54644,
    "c": 0.20439,
    "h": 303.6
  },
  "luminance": 0.1425
}

Semantic roles & 50–950 ramp

primary
#8B45CF
secondary
#B7D59B
accent
#E24693
background
#FBF7FD
surface
#F6EEFB
border
#D0C9D4
text
#110A15
muted
#807C83

Preview Lab

Preview with #8B45CF

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

Preview Lab → · Contrast checker → · Palette generator →

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