#8748DD#8748DD

#8748DD is a mid, highly saturated violet. Relative luminance 0.150; OKLCH L 55.6% C 0.215 H 298.5°. Best body text is #FFFFFF at 5.25:1 contrast (WCAG AA passes).

Color values

HEX#8748DD
RGBrgb(135, 72, 221)
HSLhsl(265, 69%, 57%)
HSVhsv(265, 67%, 87%)
CMYKcmyk(38.9%, 67.4%, 0%, 13.3%)
CIE-LABlab(45.64, 56.18, -66.30)
CIE-LCHlch(45.64, 86.90, 310.28°)
OKLaboklab(55.61% 0.1026 -0.1891)
OKLCHoklch(55.61% 0.215 298.5)
XYZxyz(25.3569, 15.0057, 69.9531)
Luminance0.1501 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8748DD #9EDD48
analogous
#4854DD #8748DD #D248DD
triadic
#8748DD #DD8748 #48DD87
tetradic
#8748DD #DD4854 #9EDD48 #48DDD2
square
#8748DD #DD4854 #9EDD48 #48DDD2
split-complementary
#8748DD #DDD248 #54DD48
monochromatic
#4C1B90 #6824C3 #8748DD #A97CE7 #CBAFF0

Accessibility & contrast

On white

5.25
#8748DD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.00
#8748DD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8748DD
5.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8748DD#FFFFFF#000000##FFFFFF
##8748DD1.005.254.005.25
#FFFFFF5.251.0021.001.00
#0000004.0021.001.0021.00
##FFFFFF5.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006CE1
Deuteranopia (green-blind)
#006BDA
Tritanopia (blue-blind)
#736B8D
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #8748dd;
/* rgb */ color: rgb(135, 72, 221);
/* oklch */ color: oklch(55.6% 0.215 298.5);
Tailwind
colors: {
  custom: {
    50: '#b07fe9',
    500: '#8748dd',
    950: '#000000',
  },
}
SCSS
$custom: #8748dd;
$custom-light: #b07fe9;
$custom-dark: #000000;
JSON
{
  "hex": "#8748dd",
  "rgb": {
    "r": 135,
    "g": 72,
    "b": 221
  },
  "hsl": {
    "h": 265.369,
    "s": 68.664,
    "l": 57.451
  },
  "oklch": {
    "l": 0.55608,
    "c": 0.21517,
    "h": 298.5
  },
  "luminance": 0.15006
}

Semantic roles & 50–950 ramp

primary
#8748DD
secondary
#C5DEA2
accent
#EC3CA1
background
#FBF8FE
surface
#F6EFFD
border
#D0CAD5
text
#110A16
muted
#807C84

Preview Lab

Preview with #8748DD

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

Preview Lab → · Contrast checker → · Palette generator →

#8748DD Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva