#8C3FCB#8C3FCB

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

Color values

HEX#8C3FCB
RGBrgb(140, 63, 203)
HSLhsl(273, 57%, 52%)
HSVhsv(273, 69%, 80%)
CMYKcmyk(31%, 69%, 0%, 20.4%)
CIE-LABlab(43.42, 57.11, -59.54)
CIE-LCHlch(43.42, 82.50, 313.81°)
OKLaboklab(53.75% 0.1212 -0.169)
OKLCHoklch(53.75% 0.208 305.6)
XYZxyz(23.3698, 13.4424, 57.8518)
Luminance0.1344 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8C3FCB #7ECB3F
analogous
#463FCB #8C3FCB #CB3FC4
triadic
#8C3FCB #CB8C3F #3FCB8C
tetradic
#8C3FCB #CB463F #7ECB3F #3FC4CB
square
#8C3FCB #CB463F #7ECB3F #3FC4CB
split-complementary
#8C3FCB #C4CB3F #3FCB46
monochromatic
#4C1F71 #6C2CA1 #8C3FCB #A96FD8 #C69FE5

Accessibility & contrast

On white

5.69
#8C3FCB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.69
#8C3FCB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8C3FCB
5.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8C3FCB#FFFFFF#000000##FFFFFF
##8C3FCB1.005.693.695.69
#FFFFFF5.691.0021.001.00
#0000003.6921.001.0021.00
##FFFFFF5.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0064CF
Deuteranopia (green-blind)
#0A67C8
Tritanopia (blue-blind)
#815F80
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #8c3fcb;
/* rgb */ color: rgb(140, 63, 203);
/* oklch */ color: oklch(53.7% 0.208 305.6);
Tailwind
colors: {
  custom: {
    50: '#b27adc',
    500: '#8c3fcb',
    950: '#000000',
  },
}
SCSS
$custom: #8c3fcb;
$custom-light: #b27adc;
$custom-dark: #000000;
JSON
{
  "hex": "#8c3fcb",
  "rgb": {
    "r": 140,
    "g": 63,
    "b": 203
  },
  "hsl": {
    "h": 273,
    "s": 57.377,
    "l": 52.157
  },
  "oklch": {
    "l": 0.53748,
    "c": 0.20797,
    "h": 305.6
  },
  "luminance": 0.13442
}

Semantic roles & 50–950 ramp

primary
#8C3FCB
secondary
#B0D194
accent
#E1478C
background
#FBF7FD
surface
#F6EEFB
border
#D0C9D4
text
#110A15
muted
#807C83

Preview Lab

Preview with #8C3FCB

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

Preview Lab → · Contrast checker → · Palette generator →

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