#8A74DF#8A74DF

#8A74DF is a light, vivid violet. Relative luminance 0.232; OKLCH L 62.8% C 0.157 H 290.6°. Best body text is #000000 at 5.64:1 contrast (WCAG AA passes).

Color values

HEX#8A74DF
RGBrgb(138, 116, 223)
HSLhsl(252, 63%, 66%)
HSVhsv(252, 48%, 87%)
CMYKcmyk(38.1%, 48%, 0%, 12.5%)
CIE-LABlab(55.30, 33.27, -51.87)
CIE-LCHlch(55.30, 61.63, 302.67°)
OKLaboklab(62.81% 0.0552 -0.1467)
OKLCHoklch(62.81% 0.157 290.6)
XYZxyz(30.0423, 23.2209, 72.6970)
Luminance0.2322 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A74DF #C9DF74
analogous
#7494DF #8A74DF #BF74DF
triadic
#8A74DF #DF8A74 #74DF8A
tetradic
#8A74DF #DF7494 #C9DF74 #74DFBF
square
#8A74DF #DF7494 #C9DF74 #74DFBF
split-complementary
#8A74DF #DFBF74 #94DF74
monochromatic
#4429B0 #6042D4 #8A74DF #B4A6EA #DED7F6

Accessibility & contrast

On white

3.72
#8A74DF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.64
#8A74DF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A74DF
5.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A74DF#FFFFFF#000000##000000
##8A74DF1.003.725.645.64
#FFFFFF3.721.0021.0021.00
#0000005.6421.001.001.00
##0000005.6421.001.001.00

Color blindness preview

Protanopia (red-blind)
#4C86E3
Deuteranopia (green-blind)
#4E82DD
Tritanopia (blue-blind)
#74899F
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #8a74df;
/* rgb */ color: rgb(138, 116, 223);
/* oklch */ color: oklch(62.8% 0.157 290.6);
Tailwind
colors: {
  custom: {
    50: '#b09ce9',
    500: '#8a74df',
    950: '#000000',
  },
}
SCSS
$custom: #8a74df;
$custom-light: #b09ce9;
$custom-dark: #000000;
JSON
{
  "hex": "#8a74df",
  "rgb": {
    "r": 138,
    "g": 116,
    "b": 223
  },
  "hsl": {
    "h": 252.336,
    "s": 62.573,
    "l": 66.471
  },
  "oklch": {
    "l": 0.62809,
    "c": 0.15672,
    "h": 290.6
  },
  "luminance": 0.23222
}

Semantic roles & 50–950 ramp

primary
#8A74DF
secondary
#E2E9C6
accent
#CA1BA6
background
#FBF9FE
surface
#F6F2FD
border
#D0CCD5
text
#110E16
muted
#807E84

Preview Lab

Preview with #8A74DF

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

Preview Lab → · Contrast checker → · Palette generator →

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