#8974F2#8974F2

#8974F2 is a light, vivid violet. Relative luminance 0.242; OKLCH L 63.9% C 0.182 H 287.8°. Best body text is #000000 at 5.84:1 contrast (WCAG AA passes).

Color values

HEX#8974F2
RGBrgb(137, 116, 242)
HSLhsl(250, 83%, 70%)
HSVhsv(250, 52%, 95%)
CMYKcmyk(43.4%, 52.1%, 0%, 5.1%)
CIE-LABlab(56.31, 38.28, -60.88)
CIE-LCHlch(56.31, 71.92, 302.16°)
OKLaboklab(63.89% 0.0555 -0.1731)
OKLCHoklch(63.89% 0.182 287.8)
XYZxyz(32.5844, 24.2187, 86.9450)
Luminance0.2422 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8974F2 #DDF274
analogous
#749EF2 #8974F2 #C874F2
triadic
#8974F2 #F28974 #74F289
tetradic
#8974F2 #F2749E #DDF274 #74F2C8
square
#8974F2 #F2749E #DDF274 #74F2C8
split-complementary
#8974F2 #F2C874 #9EF274
monochromatic
#3514D7 #593CED #8974F2 #B9ACF7 #E7E3FC

Accessibility & contrast

On white

3.59
#8974F2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.84
#8974F2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8974F2
5.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8974F2#FFFFFF#000000##000000
##8974F21.003.595.845.84
#FFFFFF3.591.0021.0021.00
#0000005.8421.001.001.00
##0000005.8421.001.001.00

Color blindness preview

Protanopia (red-blind)
#388AF6
Deuteranopia (green-blind)
#3884EF
Tritanopia (blue-blind)
#698FA8
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #8974f2;
/* rgb */ color: rgb(137, 116, 242);
/* oklch */ color: oklch(63.9% 0.182 287.8);
Tailwind
colors: {
  custom: {
    50: '#b19cf7',
    500: '#8974f2',
    950: '#000000',
  },
}
SCSS
$custom: #8974f2;
$custom-light: #b19cf7;
$custom-dark: #000000;
JSON
{
  "hex": "#8974f2",
  "rgb": {
    "r": 137,
    "g": 116,
    "b": 242
  },
  "hsl": {
    "h": 250,
    "s": 82.895,
    "l": 70.196
  },
  "oklch": {
    "l": 0.63893,
    "c": 0.18181,
    "h": 287.8
  },
  "luminance": 0.2422
}

Semantic roles & 50–950 ramp

primary
#8974F2
secondary
#EDF2CF
accent
#DF06BB
background
#FBF9FF
surface
#F6F2FF
border
#D0CCD7
text
#110E17
muted
#807E85

Preview Lab

Preview with #8974F2

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

Preview Lab → · Contrast checker → · Palette generator →

#8974F2 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva