#8C3DCA#8C3DCA

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

Color values

HEX#8C3DCA
RGBrgb(140, 61, 202)
HSLhsl(274, 57%, 52%)
HSVhsv(274, 70%, 79%)
CMYKcmyk(30.7%, 69.8%, 0%, 20.8%)
CIE-LABlab(43.03, 57.78, -59.59)
CIE-LCHlch(43.03, 83.01, 314.12°)
OKLaboklab(53.45% 0.1234 -0.1692)
OKLCHoklch(53.45% 0.209 306.1)
XYZxyz(23.1423, 13.1774, 57.1900)
Luminance0.1318 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8C3DCA #7BCA3D
analogous
#463DCA #8C3DCA #CA3DC2
triadic
#8C3DCA #CA8C3D #3DCA8C
tetradic
#8C3DCA #CA463D #7BCA3D #3DC2CA
square
#8C3DCA #CA463D #7BCA3D #3DC2CA
split-complementary
#8C3DCA #C2CA3D #3DCA46
monochromatic
#4B1E6E #6C2B9F #8C3DCA #A86DD7 #C59DE4

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##8C3DCA#FFFFFF#000000##FFFFFF
##8C3DCA1.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)
#0063CE
Deuteranopia (green-blind)
#0666C7
Tritanopia (blue-blind)
#815D7F
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #8c3dca;
/* rgb */ color: rgb(140, 61, 202);
/* oklch */ color: oklch(53.4% 0.209 306.1);
Tailwind
colors: {
  custom: {
    50: '#b379db',
    500: '#8c3dca',
    950: '#000000',
  },
}
SCSS
$custom: #8c3dca;
$custom-light: #b379db;
$custom-dark: #000000;
JSON
{
  "hex": "#8c3dca",
  "rgb": {
    "r": 140,
    "g": 61,
    "b": 202
  },
  "hsl": {
    "h": 273.617,
    "s": 57.085,
    "l": 51.569
  },
  "oklch": {
    "l": 0.53445,
    "c": 0.20939,
    "h": 306.1
  },
  "luminance": 0.13177
}

Semantic roles & 50–950 ramp

primary
#8C3DCA
secondary
#AED092
accent
#E0478B
background
#FBF7FD
surface
#F6EEFB
border
#D0C9D4
text
#110915
muted
#807B83

Preview Lab

Preview with #8C3DCA

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

Preview Lab → · Contrast checker → · Palette generator →

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