#8745CA#8745CA

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

Color values

HEX#8745CA
RGBrgb(135, 69, 202)
HSLhsl(270, 56%, 53%)
HSVhsv(270, 66%, 79%)
CMYKcmyk(33.2%, 65.8%, 0%, 20.8%)
CIE-LABlab(43.76, 52.99, -58.44)
CIE-LCHlch(43.76, 78.89, 312.20°)
OKLaboklab(53.83% 0.1081 -0.166)
OKLCHoklch(53.83% 0.198 303.1)
XYZxyz(22.7780, 13.6714, 57.3045)
Luminance0.1367 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8745CA #88CA45
analogous
#4545CA #8745CA #C945CA
triadic
#8745CA #CA8745 #45CA87
tetradic
#8745CA #CA4545 #88CA45 #45CAC9
square
#8745CA #CA4545 #88CA45 #45CAC9
split-complementary
#8745CA #CAC945 #45CA45
monochromatic
#4A2174 #682FA3 #8745CA #A675D8 #C4A4E5

Accessibility & contrast

On white

5.62
#8745CA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.73
#8745CA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8745CA
5.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8745CA#FFFFFF#000000##FFFFFF
##8745CA1.005.623.735.62
#FFFFFF5.621.0021.001.00
#0000003.7321.001.0021.00
##FFFFFF5.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0066CE
Deuteranopia (green-blind)
#1167C7
Tritanopia (blue-blind)
#7A6382
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #8745ca;
/* rgb */ color: rgb(135, 69, 202);
/* oklch */ color: oklch(53.8% 0.198 303.1);
Tailwind
colors: {
  custom: {
    50: '#af7ddb',
    500: '#8745ca',
    950: '#000000',
  },
}
SCSS
$custom: #8745ca;
$custom-light: #af7ddb;
$custom-dark: #000000;
JSON
{
  "hex": "#8745ca",
  "rgb": {
    "r": 135,
    "g": 69,
    "b": 202
  },
  "hsl": {
    "h": 269.774,
    "s": 55.649,
    "l": 53.137
  },
  "oklch": {
    "l": 0.53831,
    "c": 0.19813,
    "h": 303.1
  },
  "luminance": 0.13671
}

Semantic roles & 50–950 ramp

primary
#8745CA
secondary
#B6D299
accent
#DF4994
background
#FBF7FD
surface
#F6EEFB
border
#D0C9D4
text
#110A15
muted
#807C83

Preview Lab

Preview with #8745CA

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

Preview Lab → · Contrast checker → · Palette generator →

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