#8749CE#8749CE

#8749CE is a mid, vivid violet. Relative luminance 0.144; OKLCH L 54.6% C 0.197 H 301.6°. Best body text is #FFFFFF at 5.42:1 contrast (WCAG AA passes).

Color values

HEX#8749CE
RGBrgb(135, 73, 206)
HSLhsl(268, 58%, 55%)
HSVhsv(268, 65%, 81%)
CMYKcmyk(34.5%, 64.6%, 0%, 19.2%)
CIE-LABlab(44.76, 51.97, -59.13)
CIE-LCHlch(44.76, 78.72, 311.31°)
OKLaboklab(54.64% 0.1033 -0.168)
OKLCHoklch(54.64% 0.197 301.6)
XYZxyz(23.5121, 14.3721, 59.9159)
Luminance0.1437 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8749CE #90CE49
analogous
#494ECE #8749CE #CA49CE
triadic
#8749CE #CE8749 #49CE87
tetradic
#8749CE #CE494E #90CE49 #49CECA
square
#8749CE #CE494E #90CE49 #49CECA
split-complementary
#8749CE #CECA49 #4ECE49
monochromatic
#4B217B #692EAC #8749CE #A779DB #C7A9E8

Accessibility & contrast

On white

5.42
#8749CE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.87
#8749CE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8749CE
5.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8749CE#FFFFFF#000000##FFFFFF
##8749CE1.005.423.875.42
#FFFFFF5.421.0021.001.00
#0000003.8721.001.0021.00
##FFFFFF5.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0069D2
Deuteranopia (green-blind)
#1169CB
Tritanopia (blue-blind)
#786685
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #8749ce;
/* rgb */ color: rgb(135, 73, 206);
/* oklch */ color: oklch(54.6% 0.197 301.6);
Tailwind
colors: {
  custom: {
    50: '#af7fde',
    500: '#8749ce',
    950: '#000000',
  },
}
SCSS
$custom: #8749ce;
$custom-light: #af7fde;
$custom-dark: #000000;
JSON
{
  "hex": "#8749ce",
  "rgb": {
    "r": 135,
    "g": 73,
    "b": 206
  },
  "hsl": {
    "h": 267.97,
    "s": 57.576,
    "l": 54.706
  },
  "oklch": {
    "l": 0.54641,
    "c": 0.19726,
    "h": 301.6
  },
  "luminance": 0.14372
}

Semantic roles & 50–950 ramp

primary
#8749CE
secondary
#BBD59D
accent
#E14799
background
#FBF8FD
surface
#F6EFFB
border
#D0CAD4
text
#110A15
muted
#807C83

Preview Lab

Preview with #8749CE

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

Preview Lab → · Contrast checker → · Palette generator →

#8749CE Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva