#8A74BF#8A74BF

#8A74BF is a mid, moderate violet. Relative luminance 0.217; OKLCH L 61.0% C 0.113 H 296.4°. Best body text is #000000 at 5.33:1 contrast (WCAG AA passes).

Color values

HEX#8A74BF
RGBrgb(138, 116, 191)
HSLhsl(258, 37%, 60%)
HSVhsv(258, 39%, 75%)
CMYKcmyk(27.7%, 39.3%, 0%, 25.1%)
CIE-LABlab(53.66, 24.85, -36.31)
CIE-LCHlch(53.66, 44.00, 304.39°)
OKLaboklab(61.04% 0.0503 -0.1013)
OKLCHoklch(61.04% 0.113 296.4)
XYZxyz(26.1284, 21.6554, 52.0835)
Luminance0.2166 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A74BF #A9BF74
analogous
#7483BF #8A74BF #AF74BF
triadic
#8A74BF #BF8A74 #74BF8A
tetradic
#8A74BF #BF7483 #A9BF74 #74BFAF
square
#8A74BF #BF7483 #A9BF74 #74BFAF
split-complementary
#8A74BF #BFAF74 #83BF74
monochromatic
#4E3A7E #684DA8 #8A74BF #AD9ED2 #D1C8E6

Accessibility & contrast

On white

3.94
#8A74BF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.33
#8A74BF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A74BF
5.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A74BF#FFFFFF#000000##000000
##8A74BF1.003.945.335.33
#FFFFFF3.941.0021.0021.00
#0000005.3321.001.001.00
##0000005.3321.001.001.00

Color blindness preview

Protanopia (red-blind)
#6081C2
Deuteranopia (green-blind)
#637FBD
Tritanopia (blue-blind)
#7F8190
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #8a74bf;
/* rgb */ color: rgb(138, 116, 191);
/* oklch */ color: oklch(61.0% 0.113 296.4);
Tailwind
colors: {
  custom: {
    50: '#ae9cd2',
    500: '#8a74bf',
    950: '#000000',
  },
}
SCSS
$custom: #8a74bf;
$custom-light: #ae9cd2;
$custom-dark: #000000;
JSON
{
  "hex": "#8a74bf",
  "rgb": {
    "r": 138,
    "g": 116,
    "b": 191
  },
  "hsl": {
    "h": 257.6,
    "s": 36.946,
    "l": 60.196
  },
  "oklch": {
    "l": 0.61037,
    "c": 0.11311,
    "h": 296.4
  },
  "luminance": 0.21656
}

Semantic roles & 50–950 ramp

primary
#8A74BF
secondary
#CDD6B9
accent
#B0368C
background
#FAF9FC
surface
#F4F2F9
border
#CECCD2
text
#100E14
muted
#7F7E82

Preview Lab

Preview with #8A74BF

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

Preview Lab → · Contrast checker → · Palette generator →

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