#8745CB#8745CB

#8745CB is a mid, vivid violet. Relative luminance 0.137; OKLCH L 53.9% C 0.199 H 302.8°. Best body text is #FFFFFF at 5.61:1 contrast (WCAG AA passes).

Color values

HEX#8745CB
RGBrgb(135, 69, 203)
HSLhsl(270, 56%, 53%)
HSVhsv(270, 66%, 80%)
CMYKcmyk(33.5%, 66%, 0%, 20.4%)
CIE-LABlab(43.83, 53.24, -58.91)
CIE-LCHlch(43.83, 79.40, 312.10°)
OKLaboklab(53.9% 0.108 -0.1674)
OKLCHoklch(53.9% 0.199 302.8)
XYZxyz(22.8968, 13.7189, 57.9301)
Luminance0.1372 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8745CB #89CB45
analogous
#4546CB #8745CB #CA45CB
triadic
#8745CB #CB8745 #45CB87
tetradic
#8745CB #CB4546 #89CB45 #45CBCA
square
#8745CB #CB4546 #89CB45 #45CBCA
split-complementary
#8745CB #CBCA45 #46CB45
monochromatic
#4A2175 #692EA5 #8745CB #A675D8 #C5A5E6

Accessibility & contrast

On white

5.61
#8745CB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.74
#8745CB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8745CB
5.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8745CB#FFFFFF#000000##FFFFFF
##8745CB1.005.613.745.61
#FFFFFF5.611.0021.001.00
#0000003.7421.001.0021.00
##FFFFFF5.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0066CF
Deuteranopia (green-blind)
#0D67C8
Tritanopia (blue-blind)
#796382
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #8745cb;
/* rgb */ color: rgb(135, 69, 203);
/* oklch */ color: oklch(53.9% 0.199 302.8);
Tailwind
colors: {
  custom: {
    50: '#af7ddc',
    500: '#8745cb',
    950: '#000000',
  },
}
SCSS
$custom: #8745cb;
$custom-light: #af7ddc;
$custom-dark: #000000;
JSON
{
  "hex": "#8745cb",
  "rgb": {
    "r": 135,
    "g": 69,
    "b": 203
  },
  "hsl": {
    "h": 269.552,
    "s": 56.303,
    "l": 53.333
  },
  "oklch": {
    "l": 0.53902,
    "c": 0.19922,
    "h": 302.8
  },
  "luminance": 0.13719
}

Semantic roles & 50–950 ramp

primary
#8745CB
secondary
#B6D399
accent
#E04895
background
#FBF7FD
surface
#F6EEFB
border
#D0C9D4
text
#110A15
muted
#807C83

Preview Lab

Preview with #8745CB

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

Preview Lab → · Contrast checker → · Palette generator →

#8745CB Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva