#8D74DB#8D74DB

#8D74DB is a light, vivid violet. Relative luminance 0.233; OKLCH L 62.8% C 0.151 H 292.7°. Best body text is #000000 at 5.65:1 contrast (WCAG AA passes).

Color values

HEX#8D74DB
RGBrgb(141, 116, 219)
HSLhsl(255, 59%, 66%)
HSVhsv(255, 47%, 86%)
CMYKcmyk(35.6%, 47%, 0%, 14.1%)
CIE-LABlab(55.35, 32.95, -49.53)
CIE-LCHlch(55.35, 59.49, 303.63°)
OKLaboklab(62.84% 0.0584 -0.1397)
OKLCHoklch(62.84% 0.151 292.7)
XYZxyz(30.0127, 23.2673, 69.9139)
Luminance0.2327 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D74DB #C2DB74
analogous
#748EDB #8D74DB #C074DB
triadic
#8D74DB #DB8D74 #74DB8D
tetradic
#8D74DB #DB748E #C2DB74 #74DBC0
square
#8D74DB #DB748E #C2DB74 #74DBC0
split-complementary
#8D74DB #DBC074 #8EDB74
monochromatic
#4A2CA9 #6543CE #8D74DB #B5A5E8 #DDD5F4

Accessibility & contrast

On white

3.71
#8D74DB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.65
#8D74DB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8D74DB
5.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D74DB#FFFFFF#000000##000000
##8D74DB1.003.715.655.65
#FFFFFF3.711.0021.0021.00
#0000005.6521.001.001.00
##0000005.6521.001.001.00

Color blindness preview

Protanopia (red-blind)
#5086DF
Deuteranopia (green-blind)
#5383D9
Tritanopia (blue-blind)
#7A889D
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #8d74db;
/* rgb */ color: rgb(141, 116, 219);
/* oklch */ color: oklch(62.8% 0.151 292.7);
Tailwind
colors: {
  custom: {
    50: '#b29ce7',
    500: '#8d74db',
    950: '#000000',
  },
}
SCSS
$custom: #8d74db;
$custom-light: #b29ce7;
$custom-dark: #000000;
JSON
{
  "hex": "#8d74db",
  "rgb": {
    "r": 141,
    "g": 116,
    "b": 219
  },
  "hsl": {
    "h": 254.563,
    "s": 58.857,
    "l": 65.686
  },
  "oklch": {
    "l": 0.62838,
    "c": 0.15145,
    "h": 292.7
  },
  "luminance": 0.23268
}

Semantic roles & 50–950 ramp

primary
#8D74DB
secondary
#DEE7C4
accent
#C61F9E
background
#FBF9FE
surface
#F6F2FC
border
#D0CCD5
text
#110E16
muted
#807E84

Preview Lab

Preview with #8D74DB

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

Preview Lab → · Contrast checker → · Palette generator →

#8D74DB Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva