#8D74DF#8D74DF

#8D74DF is a light, vivid violet. Relative luminance 0.235; OKLCH L 63.1% C 0.157 H 292.0°. Best body text is #000000 at 5.70:1 contrast (WCAG AA passes).

Color values

HEX#8D74DF
RGBrgb(141, 116, 223)
HSLhsl(254, 63%, 66%)
HSVhsv(254, 48%, 87%)
CMYKcmyk(36.8%, 48%, 0%, 12.5%)
CIE-LABlab(55.56, 34.02, -51.44)
CIE-LCHlch(55.56, 61.67, 303.48°)
OKLaboklab(63.07% 0.0589 -0.1453)
OKLCHoklch(63.07% 0.157 292)
XYZxyz(30.5457, 23.4805, 72.7206)
Luminance0.2348 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D74DF #C6DF74
analogous
#7491DF #8D74DF #C374DF
triadic
#8D74DF #DF8D74 #74DF8D
tetradic
#8D74DF #DF7491 #C6DF74 #74DFC3
square
#8D74DF #DF7491 #C6DF74 #74DFC3
split-complementary
#8D74DF #DFC374 #91DF74
monochromatic
#4829B0 #6442D4 #8D74DF #B6A6EA #DFD7F6

Accessibility & contrast

On white

3.69
#8D74DF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.70
#8D74DF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8D74DF
5.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D74DF#FFFFFF#000000##000000
##8D74DF1.003.695.705.70
#FFFFFF3.691.0021.0021.00
#0000005.7021.001.001.00
##0000005.7021.001.001.00

Color blindness preview

Protanopia (red-blind)
#4C87E3
Deuteranopia (green-blind)
#5083DC
Tritanopia (blue-blind)
#78899F
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #8d74df;
/* rgb */ color: rgb(141, 116, 223);
/* oklch */ color: oklch(63.1% 0.157 292.0);
Tailwind
colors: {
  custom: {
    50: '#b29ce9',
    500: '#8d74df',
    950: '#000000',
  },
}
SCSS
$custom: #8d74df;
$custom-light: #b29ce9;
$custom-dark: #000000;
JSON
{
  "hex": "#8d74df",
  "rgb": {
    "r": 141,
    "g": 116,
    "b": 223
  },
  "hsl": {
    "h": 254.019,
    "s": 62.573,
    "l": 66.471
  },
  "oklch": {
    "l": 0.63071,
    "c": 0.15677,
    "h": 292
  },
  "luminance": 0.23481
}

Semantic roles & 50–950 ramp

primary
#8D74DF
secondary
#E1E9C6
accent
#CA1BA1
background
#FBF9FE
surface
#F6F2FD
border
#D0CCD5
text
#110E16
muted
#807E84

Preview Lab

Preview with #8D74DF

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

Preview Lab → · Contrast checker → · Palette generator →

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