#8A74F0#8A74F0

#8A74F0 is a light, vivid violet. Relative luminance 0.242; OKLCH L 63.8% C 0.179 H 288.4°. Best body text is #000000 at 5.84:1 contrast (WCAG AA passes).

Color values

HEX#8A74F0
RGBrgb(138, 116, 240)
HSLhsl(251, 81%, 70%)
HSVhsv(251, 52%, 94%)
CMYKcmyk(42.5%, 51.7%, 0%, 5.9%)
CIE-LABlab(56.27, 37.94, -59.82)
CIE-LCHlch(56.27, 70.84, 302.39°)
OKLaboklab(63.85% 0.0566 -0.17)
OKLCHoklch(63.85% 0.179 288.4)
XYZxyz(32.4504, 24.1842, 85.3794)
Luminance0.2419 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A74F0 #DAF074
analogous
#749CF0 #8A74F0 #C874F0
triadic
#8A74F0 #F08A74 #74F08A
tetradic
#8A74F0 #F0749C #DAF074 #74F0C8
square
#8A74F0 #F0749C #DAF074 #74F0C8
split-complementary
#8A74F0 #F0C874 #9CF074
monochromatic
#3817D3 #5C3DEA #8A74F0 #B8ABF6 #E7E2FC

Accessibility & contrast

On white

3.60
#8A74F0 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.84
#8A74F0 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A74F0
5.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A74F0#FFFFFF#000000##000000
##8A74F01.003.605.845.84
#FFFFFF3.601.0021.0021.00
#0000005.8421.001.001.00
##0000005.8421.001.001.00

Color blindness preview

Protanopia (red-blind)
#3B8AF4
Deuteranopia (green-blind)
#3C84ED
Tritanopia (blue-blind)
#6C8EA7
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #8a74f0;
/* rgb */ color: rgb(138, 116, 240);
/* oklch */ color: oklch(63.8% 0.179 288.4);
Tailwind
colors: {
  custom: {
    50: '#b19cf6',
    500: '#8a74f0',
    950: '#000000',
  },
}
SCSS
$custom: #8a74f0;
$custom-light: #b19cf6;
$custom-dark: #000000;
JSON
{
  "hex": "#8a74f0",
  "rgb": {
    "r": 138,
    "g": 116,
    "b": 240
  },
  "hsl": {
    "h": 250.645,
    "s": 80.519,
    "l": 69.804
  },
  "oklch": {
    "l": 0.6385,
    "c": 0.17917,
    "h": 288.4
  },
  "luminance": 0.24185
}

Semantic roles & 50–950 ramp

primary
#8A74F0
secondary
#EBF1CE
accent
#DD09B7
background
#FBF9FF
surface
#F6F2FE
border
#D0CCD6
text
#110E17
muted
#807E85

Preview Lab

Preview with #8A74F0

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

Preview Lab → · Contrast checker → · Palette generator →

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