#8D74F7#8D74F7

#8D74F7 is a light, vivid violet. Relative luminance 0.249; OKLCH L 64.5% C 0.188 H 288.8°. Best body text is #000000 at 5.97:1 contrast (WCAG AA passes).

Color values

HEX#8D74F7
RGBrgb(141, 116, 247)
HSLhsl(251, 89%, 71%)
HSVhsv(251, 53%, 97%)
CMYKcmyk(42.9%, 53%, 0%, 3.1%)
CIE-LABlab(56.95, 40.56, -62.61)
CIE-LCHlch(56.95, 74.60, 302.94°)
OKLaboklab(64.55% 0.0606 -0.1781)
OKLCHoklch(64.55% 0.188 288.8)
XYZxyz(34.0137, 24.8677, 90.9854)
Luminance0.2487 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D74F7 #DEF774
analogous
#749CF7 #8D74F7 #CE74F7
triadic
#8D74F7 #F78D74 #74F78D
tetradic
#8D74F7 #F7749C #DEF774 #74F7CE
square
#8D74F7 #F7749C #DEF774 #74F7CE
split-complementary
#8D74F7 #F7CE74 #9CF774
monochromatic
#360DE4 #5E3AF4 #8D74F7 #BCAEFA #E7E2FD

Accessibility & contrast

On white

3.52
#8D74F7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.97
#8D74F7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8D74F7
5.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D74F7#FFFFFF#000000##000000
##8D74F71.003.525.975.97
#FFFFFF3.521.0021.0021.00
#0000005.9721.001.001.00
##0000005.9721.001.001.00

Color blindness preview

Protanopia (red-blind)
#348BFB
Deuteranopia (green-blind)
#3585F4
Tritanopia (blue-blind)
#6E90AB
Achromatopsia (no color)
#898989

Design tokens & code

CSS
--color: #8d74f7;
/* rgb */ color: rgb(141, 116, 247);
/* oklch */ color: oklch(64.5% 0.188 288.8);
Tailwind
colors: {
  custom: {
    50: '#b49cfb',
    500: '#8d74f7',
    950: '#000000',
  },
}
SCSS
$custom: #8d74f7;
$custom-light: #b49cfb;
$custom-dark: #000000;
JSON
{
  "hex": "#8d74f7",
  "rgb": {
    "r": 141,
    "g": 116,
    "b": 247
  },
  "hsl": {
    "h": 251.45,
    "s": 89.116,
    "l": 71.176
  },
  "oklch": {
    "l": 0.64549,
    "c": 0.18811,
    "h": 288.8
  },
  "luminance": 0.24869
}

Semantic roles & 50–950 ramp

primary
#8D74F7
secondary
#EEF5D2
accent
#E600BA
background
#FBF9FF
surface
#F6F2FF
border
#D0CCD7
text
#120E17
muted
#817E85

Preview Lab

Preview with #8D74F7

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

Preview Lab → · Contrast checker → · Palette generator →

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