#8A3FC9#8A3FC9

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

Color values

HEX#8A3FC9
RGBrgb(138, 63, 201)
HSLhsl(273, 56%, 52%)
HSVhsv(273, 69%, 79%)
CMYKcmyk(31.3%, 68.7%, 0%, 21.2%)
CIE-LABlab(43.03, 56.24, -59.03)
CIE-LCHlch(43.03, 81.53, 313.61°)
OKLaboklab(53.37% 0.1187 -0.1676)
OKLCHoklch(53.37% 0.205 305.3)
XYZxyz(22.7990, 13.1755, 56.5890)
Luminance0.1318 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A3FC9 #7EC93F
analogous
#453FC9 #8A3FC9 #C93FC3
triadic
#8A3FC9 #C98A3F #3FC98A
tetradic
#8A3FC9 #C9453F #7EC93F #3FC3C9
square
#8A3FC9 #C9453F #7EC93F #3FC3C9
split-complementary
#8A3FC9 #C3C93F #3FC945
monochromatic
#4A1F6F #6A2D9E #8A3FC9 #A76FD6 #C49FE4

Accessibility & contrast

On white

5.78
#8A3FC9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #8A3FC9
5.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A3FC9#FFFFFF#000000##FFFFFF
##8A3FC91.005.783.645.78
#FFFFFF5.781.0021.001.00
#0000003.6421.001.0021.00
##FFFFFF5.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0064CD
Deuteranopia (green-blind)
#0A66C6
Tritanopia (blue-blind)
#7F5E7F
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #8a3fc9;
/* rgb */ color: rgb(138, 63, 201);
/* oklch */ color: oklch(53.4% 0.205 305.3);
Tailwind
colors: {
  custom: {
    50: '#b17ada',
    500: '#8a3fc9',
    950: '#000000',
  },
}
SCSS
$custom: #8a3fc9;
$custom-light: #b17ada;
$custom-dark: #000000;
JSON
{
  "hex": "#8a3fc9",
  "rgb": {
    "r": 138,
    "g": 63,
    "b": 201
  },
  "hsl": {
    "h": 272.609,
    "s": 56.098,
    "l": 51.765
  },
  "oklch": {
    "l": 0.53366,
    "c": 0.20541,
    "h": 305.3
  },
  "luminance": 0.13175
}

Semantic roles & 50–950 ramp

primary
#8A3FC9
secondary
#AFD094
accent
#DF488D
background
#FBF7FD
surface
#F6EEFB
border
#D0C9D4
text
#110A15
muted
#807C83

Preview Lab

Preview with #8A3FC9

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

Preview Lab → · Contrast checker → · Palette generator →

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