#8749DB#8749DB

#8749DB is a mid, highly saturated violet. Relative luminance 0.150; OKLCH L 55.6% C 0.212 H 298.8°. Best body text is #FFFFFF at 5.24:1 contrast (WCAG AA passes).

Color values

HEX#8749DB
RGBrgb(135, 73, 219)
HSLhsl(265, 67%, 57%)
HSVhsv(265, 67%, 86%)
CMYKcmyk(38.4%, 66.7%, 0%, 14.1%)
CIE-LABlab(45.68, 55.19, -65.10)
CIE-LCHlch(45.68, 85.35, 310.29°)
OKLaboklab(55.59% 0.1019 -0.1856)
OKLCHoklch(55.59% 0.212 298.8)
XYZxyz(25.1572, 15.0301, 68.5798)
Luminance0.1503 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8749DB #9DDB49
analogous
#4954DB #8749DB #D049DB
triadic
#8749DB #DB8749 #49DB87
tetradic
#8749DB #DB4954 #9DDB49 #49DBD0
square
#8749DB #DB4954 #9DDB49 #49DBD0
split-complementary
#8749DB #DBD049 #54DB49
monochromatic
#4C1C8E #6826C1 #8749DB #A97CE5 #CAAFEF

Accessibility & contrast

On white

5.24
#8749DB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.01
#8749DB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8749DB
5.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8749DB#FFFFFF#000000##FFFFFF
##8749DB1.005.244.015.24
#FFFFFF5.241.0021.001.00
#0000004.0121.001.0021.00
##FFFFFF5.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006CDF
Deuteranopia (green-blind)
#006BD8
Tritanopia (blue-blind)
#736B8C
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #8749db;
/* rgb */ color: rgb(135, 73, 219);
/* oklch */ color: oklch(55.6% 0.212 298.8);
Tailwind
colors: {
  custom: {
    50: '#b080e7',
    500: '#8749db',
    950: '#000000',
  },
}
SCSS
$custom: #8749db;
$custom-light: #b080e7;
$custom-dark: #000000;
JSON
{
  "hex": "#8749db",
  "rgb": {
    "r": 135,
    "g": 73,
    "b": 219
  },
  "hsl": {
    "h": 265.479,
    "s": 66.972,
    "l": 57.255
  },
  "oklch": {
    "l": 0.55586,
    "c": 0.21173,
    "h": 298.8
  },
  "luminance": 0.1503
}

Semantic roles & 50–950 ramp

primary
#8749DB
secondary
#C4DDA2
accent
#EA3EA1
background
#FBF8FE
surface
#F6EFFD
border
#D0CAD5
text
#110A16
muted
#807C84

Preview Lab

Preview with #8749DB

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

Preview Lab → · Contrast checker → · Palette generator →

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