#8745CD#8745CD

#8745CD is a mid, highly saturated violet. Relative luminance 0.138; OKLCH L 54.0% C 0.201 H 302.4°. Best body text is #FFFFFF at 5.58:1 contrast (WCAG AA passes).

Color values

HEX#8745CD
RGBrgb(135, 69, 205)
HSLhsl(269, 58%, 54%)
HSVhsv(269, 66%, 80%)
CMYKcmyk(34.1%, 66.3%, 0%, 19.6%)
CIE-LABlab(43.97, 53.72, -59.84)
CIE-LCHlch(43.97, 80.41, 311.91°)
OKLaboklab(54.05% 0.1078 -0.1701)
OKLCHoklch(54.05% 0.201 302.4)
XYZxyz(23.1366, 13.8149, 59.1934)
Luminance0.1381 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8745CD #8BCD45
analogous
#4547CD #8745CD #CB45CD
triadic
#8745CD #CD8745 #45CD87
tetradic
#8745CD #CD4547 #8BCD45 #45CDCB
square
#8745CD #CD4547 #8BCD45 #45CDCB
split-complementary
#8745CD #CDCB45 #47CD45
monochromatic
#4B2077 #692DA8 #8745CD #A675DA #C5A5E7

Accessibility & contrast

On white

5.58
#8745CD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.76
#8745CD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8745CD
5.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8745CD#FFFFFF#000000##FFFFFF
##8745CD1.005.583.765.58
#FFFFFF5.581.0021.001.00
#0000003.7621.001.0021.00
##FFFFFF5.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0067D1
Deuteranopia (green-blind)
#0367CA
Tritanopia (blue-blind)
#796483
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #8745cd;
/* rgb */ color: rgb(135, 69, 205);
/* oklch */ color: oklch(54.0% 0.201 302.4);
Tailwind
colors: {
  custom: {
    50: '#af7ddd',
    500: '#8745cd',
    950: '#000000',
  },
}
SCSS
$custom: #8745cd;
$custom-light: #af7ddd;
$custom-dark: #000000;
JSON
{
  "hex": "#8745cd",
  "rgb": {
    "r": 135,
    "g": 69,
    "b": 205
  },
  "hsl": {
    "h": 269.118,
    "s": 57.627,
    "l": 53.725
  },
  "oklch": {
    "l": 0.54046,
    "c": 0.2014,
    "h": 302.4
  },
  "luminance": 0.13815
}

Semantic roles & 50–950 ramp

primary
#8745CD
secondary
#B8D49A
accent
#E14796
background
#FBF7FD
surface
#F6EEFB
border
#D0C9D4
text
#110A15
muted
#807C83

Preview Lab

Preview with #8745CD

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

Preview Lab → · Contrast checker → · Palette generator →

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