#8A74B0#8A74B0

#8A74B0 is a mid, moderate violet. Relative luminance 0.210; OKLCH L 60.3% C 0.092 H 300.5°. Best body text is #000000 at 5.21:1 contrast (WCAG AA passes).

Color values

HEX#8A74B0
RGBrgb(138, 116, 176)
HSLhsl(262, 28%, 57%)
HSVhsv(262, 34%, 69%)
CMYKcmyk(21.6%, 34.1%, 0%, 31%)
CIE-LABlab(52.98, 21.14, -28.74)
CIE-LCHlch(52.98, 35.68, 306.34°)
OKLaboklab(60.3% 0.0469 -0.0795)
OKLCHoklch(60.3% 0.092 300.5)
XYZxyz(24.5614, 21.0286, 43.8308)
Luminance0.2103 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A74B0 #9AB074
analogous
#747CB0 #8A74B0 #A874B0
triadic
#8A74B0 #B08A74 #74B08A
tetradic
#8A74B0 #B0747C #9AB074 #74B0A8
square
#8A74B0 #B0747C #9AB074 #74B0A8
split-complementary
#8A74B0 #B0A874 #7CB074
monochromatic
#4F3D6C #6B5493 #8A74B0 #AB9BC6 #CCC2DC

Accessibility & contrast

On white

4.03
#8A74B0 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.21
#8A74B0 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A74B0
5.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A74B0#FFFFFF#000000##000000
##8A74B01.004.035.215.21
#FFFFFF4.031.0021.0021.00
#0000005.2121.001.001.00
##0000005.2121.001.001.00

Color blindness preview

Protanopia (red-blind)
#667EB2
Deuteranopia (green-blind)
#6A7EAE
Tritanopia (blue-blind)
#837D8A
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #8a74b0;
/* rgb */ color: rgb(138, 116, 176);
/* oklch */ color: oklch(60.3% 0.092 300.5);
Tailwind
colors: {
  custom: {
    50: '#ad9cc8',
    500: '#8a74b0',
    950: '#000000',
  },
}
SCSS
$custom: #8a74b0;
$custom-light: #ad9cc8;
$custom-dark: #000000;
JSON
{
  "hex": "#8a74b0",
  "rgb": {
    "r": 138,
    "g": 116,
    "b": 176
  },
  "hsl": {
    "h": 262,
    "s": 27.523,
    "l": 57.255
  },
  "oklch": {
    "l": 0.60297,
    "c": 0.0923,
    "h": 300.5
  },
  "luminance": 0.21029
}

Semantic roles & 50–950 ramp

primary
#8A74B0
secondary
#C3CCB4
accent
#C464A1
background
#FAF9FC
surface
#F4F2F8
border
#CECCD1
text
#100E13
muted
#7F7E82

Preview Lab

Preview with #8A74B0

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

Preview Lab → · Contrast checker → · Palette generator →

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