#8749D2#8749D2

#8749D2 is a mid, highly saturated violet. Relative luminance 0.146; OKLCH L 54.9% C 0.202 H 300.7°. Best body text is #FFFFFF at 5.37:1 contrast (WCAG AA passes).

Color values

HEX#8749D2
RGBrgb(135, 73, 210)
HSLhsl(267, 60%, 55%)
HSVhsv(267, 65%, 82%)
CMYKcmyk(35.7%, 65.2%, 0%, 17.6%)
CIE-LABlab(45.04, 52.95, -60.98)
CIE-LCHlch(45.04, 80.77, 310.97°)
OKLaboklab(54.93% 0.1029 -0.1735)
OKLCHoklch(54.93% 0.202 300.7)
XYZxyz(24.0043, 14.5690, 62.5077)
Luminance0.1457 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8749D2 #94D249
analogous
#4950D2 #8749D2 #CB49D2
triadic
#8749D2 #D28749 #49D287
tetradic
#8749D2 #D24950 #94D249 #49D2CB
square
#8749D2 #D24950 #94D249 #49D2CB
split-complementary
#8749D2 #D2CB49 #50D249
monochromatic
#4C2081 #692CB2 #8749D2 #A77ADE #C8ABEA

Accessibility & contrast

On white

5.37
#8749D2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.91
#8749D2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8749D2
5.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8749D2#FFFFFF#000000##FFFFFF
##8749D21.005.373.915.37
#FFFFFF5.371.0021.001.00
#0000003.9121.001.0021.00
##FFFFFF5.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006AD6
Deuteranopia (green-blind)
#006ACF
Tritanopia (blue-blind)
#776887
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #8749d2;
/* rgb */ color: rgb(135, 73, 210);
/* oklch */ color: oklch(54.9% 0.202 300.7);
Tailwind
colors: {
  custom: {
    50: '#af7fe1',
    500: '#8749d2',
    950: '#000000',
  },
}
SCSS
$custom: #8749d2;
$custom-light: #af7fe1;
$custom-dark: #000000;
JSON
{
  "hex": "#8749d2",
  "rgb": {
    "r": 135,
    "g": 73,
    "b": 210
  },
  "hsl": {
    "h": 267.153,
    "s": 60.352,
    "l": 55.49
  },
  "oklch": {
    "l": 0.54927,
    "c": 0.20173,
    "h": 300.7
  },
  "luminance": 0.14569
}

Semantic roles & 50–950 ramp

primary
#8749D2
secondary
#BED89F
accent
#E3449B
background
#FBF8FD
surface
#F6EFFB
border
#D0CAD4
text
#110A15
muted
#807C83

Preview Lab

Preview with #8749D2

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

Preview Lab → · Contrast checker → · Palette generator →

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