#8A73F2#8A73F2

#8A73F2 is a light, vivid violet. Relative luminance 0.241; OKLCH L 63.8% C 0.183 H 288.4°. Best body text is #000000 at 5.82:1 contrast (WCAG AA passes).

Color values

HEX#8A73F2
RGBrgb(138, 115, 242)
HSLhsl(251, 83%, 70%)
HSVhsv(251, 52%, 95%)
CMYKcmyk(43%, 52.5%, 0%, 5.1%)
CIE-LABlab(56.16, 39.08, -61.11)
CIE-LCHlch(56.16, 72.53, 302.60°)
OKLaboklab(63.81% 0.0579 -0.1738)
OKLCHoklch(63.81% 0.183 288.4)
XYZxyz(32.6345, 24.0744, 86.9145)
Luminance0.2408 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A73F2 #DBF273
analogous
#739CF2 #8A73F2 #C973F2
triadic
#8A73F2 #F28A73 #73F28A
tetradic
#8A73F2 #F2739C #DBF273 #73F2C9
square
#8A73F2 #F2739C #DBF273 #73F2C9
split-complementary
#8A73F2 #F2C973 #9CF273
monochromatic
#3714D7 #5B3BED #8A73F2 #B9ABF7 #E8E3FC

Accessibility & contrast

On white

3.61
#8A73F2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.82
#8A73F2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A73F2
5.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A73F2#FFFFFF#000000##000000
##8A73F21.003.615.825.82
#FFFFFF3.611.0021.0021.00
#0000005.8221.001.001.00
##0000005.8221.001.001.00

Color blindness preview

Protanopia (red-blind)
#3689F6
Deuteranopia (green-blind)
#3783EF
Tritanopia (blue-blind)
#6B8EA8
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #8a73f2;
/* rgb */ color: rgb(138, 115, 242);
/* oklch */ color: oklch(63.8% 0.183 288.4);
Tailwind
colors: {
  custom: {
    50: '#b29cf7',
    500: '#8a73f2',
    950: '#000000',
  },
}
SCSS
$custom: #8a73f2;
$custom-light: #b29cf7;
$custom-dark: #000000;
JSON
{
  "hex": "#8a73f2",
  "rgb": {
    "r": 138,
    "g": 115,
    "b": 242
  },
  "hsl": {
    "h": 250.866,
    "s": 83.007,
    "l": 70
  },
  "oklch": {
    "l": 0.63807,
    "c": 0.18316,
    "h": 288.4
  },
  "luminance": 0.24076
}

Semantic roles & 50–950 ramp

primary
#8A73F2
secondary
#ECF2CF
accent
#DF06B8
background
#FBF9FF
surface
#F6F2FF
border
#D0CCD7
text
#110E17
muted
#807E85

Preview Lab

Preview with #8A73F2

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

Preview Lab → · Contrast checker → · Palette generator →

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