#8A3FC7#8A3FC7

#8A3FC7 is a mid, highly saturated violet. Relative luminance 0.131; OKLCH L 53.2% C 0.203 H 305.8°. Best body text is #FFFFFF at 5.81:1 contrast (WCAG AA passes).

Color values

HEX#8A3FC7
RGBrgb(138, 63, 199)
HSLhsl(273, 55%, 51%)
HSVhsv(273, 68%, 78%)
CMYKcmyk(30.7%, 68.3%, 0%, 22%)
CIE-LABlab(42.89, 55.78, -58.10)
CIE-LCHlch(42.89, 80.54, 313.83°)
OKLaboklab(53.22% 0.119 -0.1649)
OKLCHoklch(53.22% 0.203 305.8)
XYZxyz(22.5653, 13.0820, 55.3581)
Luminance0.1308 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A3FC7 #7CC73F
analogous
#463FC7 #8A3FC7 #C73FC0
triadic
#8A3FC7 #C78A3F #3FC78A
tetradic
#8A3FC7 #C7463F #7CC73F #3FC0C7
square
#8A3FC7 #C7463F #7CC73F #3FC0C7
split-complementary
#8A3FC7 #C0C73F #3FC746
monochromatic
#4A206C #6A2D9B #8A3FC7 #A76ED5 #C49EE3

Accessibility & contrast

On white

5.81
#8A3FC7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.62
#8A3FC7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8A3FC7
5.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A3FC7#FFFFFF#000000##FFFFFF
##8A3FC71.005.813.625.81
#FFFFFF5.811.0021.001.00
#0000003.6221.001.0021.00
##FFFFFF5.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0063CB
Deuteranopia (green-blind)
#1266C4
Tritanopia (blue-blind)
#7F5D7E
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #8a3fc7;
/* rgb */ color: rgb(138, 63, 199);
/* oklch */ color: oklch(53.2% 0.203 305.8);
Tailwind
colors: {
  custom: {
    50: '#b17ad9',
    500: '#8a3fc7',
    950: '#000000',
  },
}
SCSS
$custom: #8a3fc7;
$custom-light: #b17ad9;
$custom-dark: #000000;
JSON
{
  "hex": "#8a3fc7",
  "rgb": {
    "r": 138,
    "g": 63,
    "b": 199
  },
  "hsl": {
    "h": 273.088,
    "s": 54.839,
    "l": 51.373
  },
  "oklch": {
    "l": 0.53221,
    "c": 0.20333,
    "h": 305.8
  },
  "luminance": 0.13082
}

Semantic roles & 50–950 ramp

primary
#8A3FC7
secondary
#AECF93
accent
#DE4A8C
background
#FBF7FD
surface
#F6EEFB
border
#D0C9D4
text
#110915
muted
#807B83

Preview Lab

Preview with #8A3FC7

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

Preview Lab → · Contrast checker → · Palette generator →

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