#8A3CC3#8A3CC3

#8A3CC3 is a mid, highly saturated violet. Relative luminance 0.126; OKLCH L 52.6% C 0.203 H 307.2°. Best body text is #FFFFFF at 5.97:1 contrast (WCAG AA passes).

Color values

HEX#8A3CC3
RGBrgb(138, 60, 195)
HSLhsl(275, 53%, 50%)
HSVhsv(275, 69%, 76%)
CMYKcmyk(29.2%, 69.2%, 0%, 23.5%)
CIE-LABlab(42.12, 56.24, -57.02)
CIE-LCHlch(42.12, 80.09, 314.61°)
OKLaboklab(52.58% 0.1227 -0.1617)
OKLCHoklch(52.58% 0.203 307.2)
XYZxyz(21.9453, 12.5754, 52.8904)
Luminance0.1258 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A3CC3 #75C33C
analogous
#473CC3 #8A3CC3 #C33CB8
triadic
#8A3CC3 #C38A3C #3CC38A
tetradic
#8A3CC3 #C3473C #75C33C #3CB8C3
square
#8A3CC3 #C3473C #75C33C #3CB8C3
split-complementary
#8A3CC3 #B8C33C #3CC347
monochromatic
#481F65 #692E94 #8A3CC3 #A66BD1 #C29AE0

Accessibility & contrast

On white

5.97
#8A3CC3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.52
#8A3CC3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8A3CC3
5.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A3CC3#FFFFFF#000000##FFFFFF
##8A3CC31.005.973.525.97
#FFFFFF5.971.0021.001.00
#0000003.5221.001.0021.00
##FFFFFF5.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0061C7
Deuteranopia (green-blind)
#1664C0
Tritanopia (blue-blind)
#815A7B
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #8a3cc3;
/* rgb */ color: rgb(138, 60, 195);
/* oklch */ color: oklch(52.6% 0.203 307.2);
Tailwind
colors: {
  custom: {
    50: '#b178d6',
    500: '#8a3cc3',
    950: '#000000',
  },
}
SCSS
$custom: #8a3cc3;
$custom-light: #b178d6;
$custom-dark: #000000;
JSON
{
  "hex": "#8a3cc3",
  "rgb": {
    "r": 138,
    "g": 60,
    "b": 195
  },
  "hsl": {
    "h": 274.667,
    "s": 52.941,
    "l": 50
  },
  "oklch": {
    "l": 0.52583,
    "c": 0.20295,
    "h": 307.2
  },
  "luminance": 0.12575
}

Semantic roles & 50–950 ramp

primary
#8A3CC3
secondary
#A9CC8F
accent
#DC4B89
background
#FBF7FD
surface
#F6EEFA
border
#D0C9D3
text
#110914
muted
#807B83

Preview Lab

Preview with #8A3CC3

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

Preview Lab → · Contrast checker → · Palette generator →

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