#8A3FBF#8A3FBF

#8A3FBF is a mid, vivid violet. Relative luminance 0.127; OKLCH L 52.7% C 0.195 H 307.9°. Best body text is #FFFFFF at 5.93:1 contrast (WCAG AA passes).

Color values

HEX#8A3FBF
RGBrgb(138, 63, 191)
HSLhsl(275, 50%, 50%)
HSVhsv(275, 67%, 75%)
CMYKcmyk(27.7%, 67%, 0%, 25.1%)
CIE-LABlab(42.34, 53.95, -54.33)
CIE-LCHlch(42.34, 76.56, 314.80°)
OKLaboklab(52.65% 0.1199 -0.1538)
OKLCHoklch(52.65% 0.195 307.9)
XYZxyz(21.6608, 12.7202, 50.5943)
Luminance0.1272 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A3FBF #74BF3F
analogous
#4A3FBF #8A3FBF #BF3FB4
triadic
#8A3FBF #BF8A3F #3FBF8A
tetradic
#8A3FBF #BF4A3F #74BF3F #3FB4BF
square
#8A3FBF #BF4A3F #74BF3F #3FB4BF
split-complementary
#8A3FBF #B4BF3F #3FBF4A
monochromatic
#472163 #693091 #8A3FBF #A66DCF #C29BDE

Accessibility & contrast

On white

5.93
#8A3FBF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.54
#8A3FBF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8A3FBF
5.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A3FBF#FFFFFF#000000##FFFFFF
##8A3FBF1.005.933.545.93
#FFFFFF5.931.0021.001.00
#0000003.5421.001.0021.00
##FFFFFF5.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0061C3
Deuteranopia (green-blind)
#2465BC
Tritanopia (blue-blind)
#825A7A
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #8a3fbf;
/* rgb */ color: rgb(138, 63, 191);
/* oklch */ color: oklch(52.7% 0.195 307.9);
Tailwind
colors: {
  custom: {
    50: '#b079d3',
    500: '#8a3fbf',
    950: '#000000',
  },
}
SCSS
$custom: #8a3fbf;
$custom-light: #b079d3;
$custom-dark: #000000;
JSON
{
  "hex": "#8a3fbf",
  "rgb": {
    "r": 138,
    "g": 63,
    "b": 191
  },
  "hsl": {
    "h": 275.156,
    "s": 50.394,
    "l": 49.804
  },
  "oklch": {
    "l": 0.52655,
    "c": 0.19499,
    "h": 307.9
  },
  "luminance": 0.1272
}

Semantic roles & 50–950 ramp

primary
#8A3FBF
secondary
#A8CA90
accent
#DA4E88
background
#FBF7FD
surface
#F6EEFA
border
#D0C9D3
text
#110914
muted
#807B83

Preview Lab

Preview with #8A3FBF

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

Preview Lab → · Contrast checker → · Palette generator →

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