#8C3DCB#8C3DCB

#8C3DCB is a mid, highly saturated violet. Relative luminance 0.132; OKLCH L 53.5% C 0.210 H 305.8°. Best body text is #FFFFFF at 5.76:1 contrast (WCAG AA passes).

Color values

HEX#8C3DCB
RGBrgb(140, 61, 203)
HSLhsl(273, 58%, 52%)
HSVhsv(273, 70%, 80%)
CMYKcmyk(31%, 70%, 0%, 20.4%)
CIE-LABlab(43.10, 58.01, -60.06)
CIE-LCHlch(43.10, 83.50, 314.01°)
OKLaboklab(53.52% 0.1232 -0.1705)
OKLCHoklch(53.52% 0.21 305.8)
XYZxyz(23.2611, 13.2249, 57.8156)
Luminance0.1323 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8C3DCB #7CCB3D
analogous
#453DCB #8C3DCB #CB3DC3
triadic
#8C3DCB #CB8C3D #3DCB8C
tetradic
#8C3DCB #CB453D #7CCB3D #3DC3CB
square
#8C3DCB #CB453D #7CCB3D #3DC3CB
split-complementary
#8C3DCB #C3CB3D #3DCB45
monochromatic
#4B1E70 #6C2BA0 #8C3DCB #A96DD8 #C59EE5

Accessibility & contrast

On white

5.76
#8C3DCB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.65
#8C3DCB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8C3DCB
5.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8C3DCB#FFFFFF#000000##FFFFFF
##8C3DCB1.005.763.655.76
#FFFFFF5.761.0021.001.00
#0000003.6521.001.0021.00
##FFFFFF5.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0063CF
Deuteranopia (green-blind)
#0166C8
Tritanopia (blue-blind)
#815E80
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #8c3dcb;
/* rgb */ color: rgb(140, 61, 203);
/* oklch */ color: oklch(53.5% 0.210 305.8);
Tailwind
colors: {
  custom: {
    50: '#b379dc',
    500: '#8c3dcb',
    950: '#000000',
  },
}
SCSS
$custom: #8c3dcb;
$custom-light: #b379dc;
$custom-dark: #000000;
JSON
{
  "hex": "#8c3dcb",
  "rgb": {
    "r": 140,
    "g": 61,
    "b": 203
  },
  "hsl": {
    "h": 273.38,
    "s": 57.724,
    "l": 51.765
  },
  "oklch": {
    "l": 0.53518,
    "c": 0.21041,
    "h": 305.8
  },
  "luminance": 0.13225
}

Semantic roles & 50–950 ramp

primary
#8C3DCB
secondary
#AED193
accent
#E1478B
background
#FBF7FD
surface
#F6EEFB
border
#D0C9D4
text
#110915
muted
#807B83

Preview Lab

Preview with #8C3DCB

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

Preview Lab → · Contrast checker → · Palette generator →

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