#8A74FF#8A74FF

#8A74FF is a light, vivid blue. Relative luminance 0.251; OKLCH L 64.8% C 0.199 H 286.7°. Best body text is #000000 at 6.02:1 contrast (WCAG AA passes).

Color values

HEX#8A74FF
RGBrgb(138, 116, 255)
HSLhsl(249, 100%, 73%)
HSVhsv(249, 55%, 100%)
CMYKcmyk(45.9%, 54.5%, 0%, 0%)
CIE-LABlab(57.19, 42.15, -66.66)
CIE-LCHlch(57.19, 78.87, 302.30°)
OKLaboklab(64.82% 0.0572 -0.1901)
OKLCHoklch(64.82% 0.199 286.7)
XYZxyz(34.7714, 25.1126, 97.6034)
Luminance0.2511 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A74FF #E9FF74
analogous
#74A4FF #8A74FF #CF74FF
triadic
#8A74FF #FF8A74 #74FF8A
tetradic
#8A74FF #FF74A4 #E9FF74 #74FFCF
square
#8A74FF #FF74A4 #E9FF74 #74FFCF
split-complementary
#8A74FF #FFCF74 #A4FF74
monochromatic
#2700F9 #5637FF #8A74FF #BEB1FF #E5E0FF

Accessibility & contrast

On white

3.49
#8A74FF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.02
#8A74FF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A74FF
6.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A74FF#FFFFFF#000000##000000
##8A74FF1.003.496.026.02
#FFFFFF3.491.0021.0021.00
#0000006.0221.001.001.00
##0000006.0221.001.001.00

Color blindness preview

Protanopia (red-blind)
#248DFF
Deuteranopia (green-blind)
#2285FC
Tritanopia (blue-blind)
#6493AE
Achromatopsia (no color)
#898989

Design tokens & code

CSS
--color: #8a74ff;
/* rgb */ color: rgb(138, 116, 255);
/* oklch */ color: oklch(64.8% 0.199 286.7);
Tailwind
colors: {
  custom: {
    50: '#b39cff',
    500: '#8a74ff',
    950: '#000000',
  },
}
SCSS
$custom: #8a74ff;
$custom-light: #b39cff;
$custom-dark: #000000;
JSON
{
  "hex": "#8a74ff",
  "rgb": {
    "r": 138,
    "g": 116,
    "b": 255
  },
  "hsl": {
    "h": 249.496,
    "s": 100,
    "l": 72.745
  },
  "oklch": {
    "l": 0.64822,
    "c": 0.1985,
    "h": 286.7
  },
  "luminance": 0.25114
}

Semantic roles & 50–950 ramp

primary
#8A74FF
secondary
#F2F7D4
accent
#E600C1
background
#FBF9FF
surface
#F6F2FF
border
#D0CCD7
text
#120E18
muted
#817E86

Preview Lab

Preview with #8A74FF

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

Preview Lab → · Contrast checker → · Palette generator →

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