#8A3CCF#8A3CCF

#8A3CCF is a mid, highly saturated violet. Relative luminance 0.131; OKLCH L 53.5% C 0.215 H 304.2°. Best body text is #FFFFFF at 5.79:1 contrast (WCAG AA passes).

Color values

HEX#8A3CCF
RGBrgb(138, 60, 207)
HSLhsl(272, 60%, 52%)
HSVhsv(272, 71%, 81%)
CMYKcmyk(33.3%, 71%, 0%, 18.8%)
CIE-LABlab(42.97, 58.99, -62.59)
CIE-LCHlch(42.97, 86.00, 313.30°)
OKLaboklab(53.46% 0.1209 -0.1781)
OKLCHoklch(53.46% 0.215 304.2)
XYZxyz(23.3570, 13.1401, 60.3252)
Luminance0.1314 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A3CCF #81CF3C
analogous
#413CCF #8A3CCF #CF3CCA
triadic
#8A3CCF #CF8A3C #3CCF8A
tetradic
#8A3CCF #CF413C #81CF3C #3CCACF
square
#8A3CCF #CF413C #81CF3C #3CCACF
split-complementary
#8A3CCF #CACF3C #3CCF41
monochromatic
#4B1D74 #6B29A5 #8A3CCF #A76DDB #C59EE7

Accessibility & contrast

On white

5.79
#8A3CCF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.63
#8A3CCF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8A3CCF
5.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A3CCF#FFFFFF#000000##FFFFFF
##8A3CCF1.005.793.635.79
#FFFFFF5.791.0021.001.00
#0000003.6321.001.0021.00
##FFFFFF5.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0064D3
Deuteranopia (green-blind)
#0065CC
Tritanopia (blue-blind)
#7D5F82
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #8a3ccf;
/* rgb */ color: rgb(138, 60, 207);
/* oklch */ color: oklch(53.5% 0.215 304.2);
Tailwind
colors: {
  custom: {
    50: '#b278df',
    500: '#8a3ccf',
    950: '#000000',
  },
}
SCSS
$custom: #8a3ccf;
$custom-light: #b278df;
$custom-dark: #000000;
JSON
{
  "hex": "#8a3ccf",
  "rgb": {
    "r": 138,
    "g": 60,
    "b": 207
  },
  "hsl": {
    "h": 271.837,
    "s": 60.494,
    "l": 52.353
  },
  "oklch": {
    "l": 0.53463,
    "c": 0.21522,
    "h": 304.2
  },
  "luminance": 0.1314
}

Semantic roles & 50–950 ramp

primary
#8A3CCF
secondary
#B1D393
accent
#E4448F
background
#FBF7FD
surface
#F6EEFB
border
#D0C9D4
text
#110915
muted
#807B83

Preview Lab

Preview with #8A3CCF

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

Preview Lab → · Contrast checker → · Palette generator →

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