#8745ED#8745ED

#8745ED is a mid, highly saturated violet. Relative luminance 0.155; OKLCH L 56.5% C 0.236 H 295.8°. Best body text is #FFFFFF at 5.12:1 contrast (WCAG AA passes).

Color values

HEX#8745ED
RGBrgb(135, 69, 237)
HSLhsl(264, 82%, 60%)
HSVhsv(264, 71%, 93%)
CMYKcmyk(43%, 70.9%, 0%, 7.1%)
CIE-LABlab(46.34, 61.60, -74.23)
CIE-LCHlch(46.34, 96.46, 309.69°)
OKLaboklab(56.48% 0.1028 -0.2124)
OKLCHoklch(56.48% 0.236 295.8)
XYZxyz(27.4018, 15.5209, 81.6565)
Luminance0.1552 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8745ED #ABED45
analogous
#4557ED #8745ED #DB45ED
triadic
#8745ED #ED8745 #45ED87
tetradic
#8745ED #ED4557 #ABED45 #45EDDB
square
#8745ED #ED4557 #ABED45 #45EDDB
split-complementary
#8745ED #EDDB45 #57ED45
monochromatic
#4C10A7 #6516DF #8745ED #AB7DF2 #CFB5F8

Accessibility & contrast

On white

5.12
#8745ED on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.10
#8745ED on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8745ED
5.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8745ED#FFFFFF#000000##FFFFFF
##8745ED1.005.124.105.12
#FFFFFF5.121.0021.001.00
#0000004.1021.001.0021.00
##FFFFFF5.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006FF2
Deuteranopia (green-blind)
#006BEA
Tritanopia (blue-blind)
#6B7095
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #8745ed;
/* rgb */ color: rgb(135, 69, 237);
/* oklch */ color: oklch(56.5% 0.236 295.8);
Tailwind
colors: {
  custom: {
    50: '#b27ef4',
    500: '#8745ed',
    950: '#000000',
  },
}
SCSS
$custom: #8745ed;
$custom-light: #b27ef4;
$custom-dark: #000000;
JSON
{
  "hex": "#8745ed",
  "rgb": {
    "r": 135,
    "g": 69,
    "b": 237
  },
  "hsl": {
    "h": 263.571,
    "s": 82.353,
    "l": 60
  },
  "oklch": {
    "l": 0.56482,
    "c": 0.23598,
    "h": 295.8
  },
  "luminance": 0.15522
}

Semantic roles & 50–950 ramp

primary
#8745ED
secondary
#CEE7A7
accent
#F92FAA
background
#FBF7FF
surface
#F6EEFE
border
#D0C9D6
text
#120A17
muted
#817C85

Preview Lab

Preview with #8745ED

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

Preview Lab → · Contrast checker → · Palette generator →

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