#8C3FDB#8C3FDB

#8C3FDB is a mid, highly saturated violet. Relative luminance 0.142; OKLCH L 54.9% C 0.224 H 301.9°. Best body text is #FFFFFF at 5.46:1 contrast (WCAG AA passes).

Color values

HEX#8C3FDB
RGBrgb(140, 63, 219)
HSLhsl(270, 68%, 55%)
HSVhsv(270, 71%, 86%)
CMYKcmyk(36.1%, 71.2%, 0%, 14.1%)
CIE-LABlab(44.58, 60.83, -66.85)
CIE-LCHlch(44.58, 90.38, 312.30°)
OKLaboklab(54.94% 0.1186 -0.1905)
OKLCHoklch(54.94% 0.224 301.9)
XYZxyz(25.3758, 14.2448, 68.4167)
Luminance0.1424 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8C3FDB #8EDB3F
analogous
#3F40DB #8C3FDB #DA3FDB
triadic
#8C3FDB #DB8C3F #3FDB8C
tetradic
#8C3FDB #DB3F40 #8EDB3F #3FDBDA
square
#8C3FDB #DB3F40 #8EDB3F #3FDBDA
split-complementary
#8C3FDB #DBDA3F #40DB3F
monochromatic
#4F1986 #6D23BA #8C3FDB #AB73E5 #CAA6EE

Accessibility & contrast

On white

5.46
#8C3FDB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.85
#8C3FDB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8C3FDB
5.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8C3FDB#FFFFFF#000000##FFFFFF
##8C3FDB1.005.463.855.46
#FFFFFF5.461.0021.001.00
#0000003.8521.001.0021.00
##FFFFFF5.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0068E0
Deuteranopia (green-blind)
#0069D8
Tritanopia (blue-blind)
#7B6589
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #8c3fdb;
/* rgb */ color: rgb(140, 63, 219);
/* oklch */ color: oklch(54.9% 0.224 301.9);
Tailwind
colors: {
  custom: {
    50: '#b47ae7',
    500: '#8c3fdb',
    950: '#000000',
  },
}
SCSS
$custom: #8c3fdb;
$custom-light: #b47ae7;
$custom-dark: #000000;
JSON
{
  "hex": "#8c3fdb",
  "rgb": {
    "r": 140,
    "g": 63,
    "b": 219
  },
  "hsl": {
    "h": 269.615,
    "s": 68.421,
    "l": 55.294
  },
  "oklch": {
    "l": 0.54937,
    "c": 0.22444,
    "h": 301.9
  },
  "luminance": 0.14245
}

Semantic roles & 50–950 ramp

primary
#8C3FDB
secondary
#BBDC9A
accent
#EB3D95
background
#FBF7FE
surface
#F6EEFD
border
#D0C9D5
text
#120A16
muted
#817C84

Preview Lab

Preview with #8C3FDB

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

Preview Lab → · Contrast checker → · Palette generator →

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