#8A74F5#8A74F5

#8A74F5 is a light, vivid violet. Relative luminance 0.245; OKLCH L 64.2% C 0.186 H 287.8°. Best body text is #000000 at 5.90:1 contrast (WCAG AA passes).

Color values

HEX#8A74F5
RGBrgb(138, 116, 245)
HSLhsl(250, 87%, 71%)
HSVhsv(250, 53%, 96%)
CMYKcmyk(43.7%, 52.7%, 0%, 3.9%)
CIE-LABlab(56.57, 39.34, -62.12)
CIE-LCHlch(56.57, 73.53, 302.34°)
OKLaboklab(64.17% 0.0569 -0.1767)
OKLCHoklch(64.17% 0.186 287.8)
XYZxyz(33.2034, 24.4854, 89.3452)
Luminance0.2449 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A74F5 #DFF574
analogous
#749EF5 #8A74F5 #CB74F5
triadic
#8A74F5 #F58A74 #74F58A
tetradic
#8A74F5 #F5749E #DFF574 #74F5CB
square
#8A74F5 #F5749E #DFF574 #74F5CB
split-complementary
#8A74F5 #F5CB74 #9EF574
monochromatic
#3310DF #5A3BF1 #8A74F5 #BAADF9 #E7E2FD

Accessibility & contrast

On white

3.56
#8A74F5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.90
#8A74F5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A74F5
5.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A74F5#FFFFFF#000000##000000
##8A74F51.003.565.905.90
#FFFFFF3.561.0021.0021.00
#0000005.9021.001.001.00
##0000005.9021.001.001.00

Color blindness preview

Protanopia (red-blind)
#358BF9
Deuteranopia (green-blind)
#3584F2
Tritanopia (blue-blind)
#6990AA
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #8a74f5;
/* rgb */ color: rgb(138, 116, 245);
/* oklch */ color: oklch(64.2% 0.186 287.8);
Tailwind
colors: {
  custom: {
    50: '#b29cf9',
    500: '#8a74f5',
    950: '#000000',
  },
}
SCSS
$custom: #8a74f5;
$custom-light: #b29cf9;
$custom-dark: #000000;
JSON
{
  "hex": "#8a74f5",
  "rgb": {
    "r": 138,
    "g": 116,
    "b": 245
  },
  "hsl": {
    "h": 250.233,
    "s": 86.577,
    "l": 70.784
  },
  "oklch": {
    "l": 0.64169,
    "c": 0.18565,
    "h": 287.8
  },
  "luminance": 0.24487
}

Semantic roles & 50–950 ramp

primary
#8A74F5
secondary
#EEF4D1
accent
#E302BD
background
#FBF9FF
surface
#F6F2FF
border
#D0CCD7
text
#110E17
muted
#807E85

Preview Lab

Preview with #8A74F5

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

Preview Lab → · Contrast checker → · Palette generator →

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