#8A3FCA#8A3FCA

#8A3FCA is a mid, highly saturated violet. Relative luminance 0.132; OKLCH L 53.4% C 0.206 H 305.1°. Best body text is #FFFFFF at 5.76:1 contrast (WCAG AA passes).

Color values

HEX#8A3FCA
RGBrgb(138, 63, 202)
HSLhsl(272, 57%, 52%)
HSVhsv(272, 69%, 79%)
CMYKcmyk(31.7%, 68.8%, 0%, 20.8%)
CIE-LABlab(43.10, 56.47, -59.50)
CIE-LCHlch(43.10, 82.03, 313.51°)
OKLaboklab(53.44% 0.1186 -0.169)
OKLCHoklch(53.44% 0.206 305.1)
XYZxyz(22.9170, 13.2227, 57.2106)
Luminance0.1322 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A3FCA #7FCA3F
analogous
#453FCA #8A3FCA #CA3FC5
triadic
#8A3FCA #CA8A3F #3FCA8A
tetradic
#8A3FCA #CA453F #7FCA3F #3FC5CA
square
#8A3FCA #CA453F #7FCA3F #3FC5CA
split-complementary
#8A3FCA #C5CA3F #3FCA45
monochromatic
#4B1F70 #6A2CA0 #8A3FCA #A76FD7 #C49FE4

Accessibility & contrast

On white

5.76
#8A3FCA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.64
#8A3FCA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8A3FCA
5.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A3FCA#FFFFFF#000000##FFFFFF
##8A3FCA1.005.763.645.76
#FFFFFF5.761.0021.001.00
#0000003.6421.001.0021.00
##FFFFFF5.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0064CE
Deuteranopia (green-blind)
#0566C7
Tritanopia (blue-blind)
#7E5F80
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #8a3fca;
/* rgb */ color: rgb(138, 63, 202);
/* oklch */ color: oklch(53.4% 0.206 305.1);
Tailwind
colors: {
  custom: {
    50: '#b17adb',
    500: '#8a3fca',
    950: '#000000',
  },
}
SCSS
$custom: #8a3fca;
$custom-light: #b17adb;
$custom-dark: #000000;
JSON
{
  "hex": "#8a3fca",
  "rgb": {
    "r": 138,
    "g": 63,
    "b": 202
  },
  "hsl": {
    "h": 272.374,
    "s": 56.735,
    "l": 51.961
  },
  "oklch": {
    "l": 0.53438,
    "c": 0.20645,
    "h": 305.1
  },
  "luminance": 0.13223
}

Semantic roles & 50–950 ramp

primary
#8A3FCA
secondary
#B0D194
accent
#E0488E
background
#FBF7FD
surface
#F6EEFB
border
#D0C9D4
text
#110A15
muted
#807C83

Preview Lab

Preview with #8A3FCA

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

Preview Lab → · Contrast checker → · Palette generator →

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