#8A3FCE#8A3FCE

#8A3FCE is a mid, highly saturated violet. Relative luminance 0.134; OKLCH L 53.7% C 0.211 H 304.1°. Best body text is #FFFFFF at 5.70:1 contrast (WCAG AA passes).

Color values

HEX#8A3FCE
RGBrgb(138, 63, 206)
HSLhsl(271, 59%, 53%)
HSVhsv(271, 69%, 81%)
CMYKcmyk(33%, 69.4%, 0%, 19.2%)
CIE-LABlab(43.38, 57.41, -61.35)
CIE-LCHlch(43.38, 84.02, 313.10°)
OKLaboklab(53.73% 0.1181 -0.1744)
OKLCHoklch(53.73% 0.211 304.1)
XYZxyz(23.3968, 13.4146, 59.7372)
Luminance0.1341 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A3FCE #83CE3F
analogous
#433FCE #8A3FCE #CE3FCA
triadic
#8A3FCE #CE8A3F #3FCE8A
tetradic
#8A3FCE #CE433F #83CE3F #3FCACE
square
#8A3FCE #CE433F #83CE3F #3FCACE
split-complementary
#8A3FCE #CACE3F #3FCE43
monochromatic
#4B1E75 #6B2AA6 #8A3FCE #A870DA #C5A1E7

Accessibility & contrast

On white

5.70
#8A3FCE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.68
#8A3FCE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8A3FCE
5.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A3FCE#FFFFFF#000000##FFFFFF
##8A3FCE1.005.703.685.70
#FFFFFF5.701.0021.001.00
#0000003.6821.001.0021.00
##FFFFFF5.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0065D2
Deuteranopia (green-blind)
#0066CB
Tritanopia (blue-blind)
#7D6082
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #8a3fce;
/* rgb */ color: rgb(138, 63, 206);
/* oklch */ color: oklch(53.7% 0.211 304.1);
Tailwind
colors: {
  custom: {
    50: '#b17ade',
    500: '#8a3fce',
    950: '#000000',
  },
}
SCSS
$custom: #8a3fce;
$custom-light: #b17ade;
$custom-dark: #000000;
JSON
{
  "hex": "#8a3fce",
  "rgb": {
    "r": 138,
    "g": 63,
    "b": 206
  },
  "hsl": {
    "h": 271.469,
    "s": 59.336,
    "l": 52.745
  },
  "oklch": {
    "l": 0.53731,
    "c": 0.21061,
    "h": 304.1
  },
  "luminance": 0.13415
}

Semantic roles & 50–950 ramp

primary
#8A3FCE
secondary
#B3D395
accent
#E34590
background
#FBF7FD
surface
#F6EEFB
border
#D0C9D4
text
#110A15
muted
#807C83

Preview Lab

Preview with #8A3FCE

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

Preview Lab → · Contrast checker → · Palette generator →

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