#8A74F7#8A74F7

#8A74F7 is a light, vivid violet. Relative luminance 0.246; OKLCH L 64.3% C 0.188 H 287.6°. Best body text is #000000 at 5.92:1 contrast (WCAG AA passes).

Color values

HEX#8A74F7
RGBrgb(138, 116, 247)
HSLhsl(250, 89%, 71%)
HSVhsv(250, 53%, 97%)
CMYKcmyk(44.1%, 53%, 0%, 3.1%)
CIE-LABlab(56.69, 39.90, -63.03)
CIE-LCHlch(56.69, 74.60, 302.33°)
OKLaboklab(64.3% 0.0569 -0.1794)
OKLCHoklch(64.3% 0.188 287.6)
XYZxyz(33.5103, 24.6081, 90.9618)
Luminance0.2461 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A74F7 #E1F774
analogous
#749FF7 #8A74F7 #CB74F7
triadic
#8A74F7 #F78A74 #74F78A
tetradic
#8A74F7 #F7749F #E1F774 #74F7CB
square
#8A74F7 #F7749F #E1F774 #74F7CB
split-complementary
#8A74F7 #F7CB74 #9FF774
monochromatic
#310DE4 #593AF4 #8A74F7 #BBAEFA #E7E2FD

Accessibility & contrast

On white

3.55
#8A74F7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.92
#8A74F7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A74F7
5.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A74F7#FFFFFF#000000##000000
##8A74F71.003.555.925.92
#FFFFFF3.551.0021.0021.00
#0000005.9221.001.001.00
##0000005.9221.001.001.00

Color blindness preview

Protanopia (red-blind)
#328BFC
Deuteranopia (green-blind)
#3285F4
Tritanopia (blue-blind)
#6890AB
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #8a74f7;
/* rgb */ color: rgb(138, 116, 247);
/* oklch */ color: oklch(64.3% 0.188 287.6);
Tailwind
colors: {
  custom: {
    50: '#b29cfb',
    500: '#8a74f7',
    950: '#000000',
  },
}
SCSS
$custom: #8a74f7;
$custom-light: #b29cfb;
$custom-dark: #000000;
JSON
{
  "hex": "#8a74f7",
  "rgb": {
    "r": 138,
    "g": 116,
    "b": 247
  },
  "hsl": {
    "h": 250.076,
    "s": 89.116,
    "l": 71.176
  },
  "oklch": {
    "l": 0.64298,
    "c": 0.18824,
    "h": 287.6
  },
  "luminance": 0.24609
}

Semantic roles & 50–950 ramp

primary
#8A74F7
secondary
#EFF5D2
accent
#E600BF
background
#FBF9FF
surface
#F6F2FF
border
#D0CCD7
text
#110E17
muted
#807E85

Preview Lab

Preview with #8A74F7

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

Preview Lab → · Contrast checker → · Palette generator →

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