#8F3CCE#8F3CCE

#8F3CCE is a mid, highly saturated violet. Relative luminance 0.135; OKLCH L 54.0% C 0.215 H 306.4°. Best body text is #FFFFFF at 5.67:1 contrast (WCAG AA passes).

Color values

HEX#8F3CCE
RGBrgb(143, 60, 206)
HSLhsl(274, 60%, 52%)
HSVhsv(274, 71%, 81%)
CMYKcmyk(30.6%, 70.9%, 0%, 19.2%)
CIE-LABlab(43.55, 59.72, -61.05)
CIE-LCHlch(43.55, 85.40, 314.37°)
OKLaboklab(53.99% 0.1278 -0.1733)
OKLCHoklch(53.99% 0.215 306.4)
XYZxyz(24.0817, 13.5278, 59.7230)
Luminance0.1353 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F3CCE #7BCE3C
analogous
#463CCE #8F3CCE #CE3CC4
triadic
#8F3CCE #CE8F3C #3CCE8F
tetradic
#8F3CCE #CE463C #7BCE3C #3CC4CE
square
#8F3CCE #CE463C #7BCE3C #3CC4CE
split-complementary
#8F3CCE #C4CE3C #3CCE46
monochromatic
#4E1D73 #6F29A4 #8F3CCE #AB6DDA #C79EE7

Accessibility & contrast

On white

5.67
#8F3CCE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.71
#8F3CCE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8F3CCE
5.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F3CCE#FFFFFF#000000##FFFFFF
##8F3CCE1.005.673.715.67
#FFFFFF5.671.0021.001.00
#0000003.7121.001.0021.00
##FFFFFF5.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0064D2
Deuteranopia (green-blind)
#0067CB
Tritanopia (blue-blind)
#845E81
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #8f3cce;
/* rgb */ color: rgb(143, 60, 206);
/* oklch */ color: oklch(54.0% 0.215 306.4);
Tailwind
colors: {
  custom: {
    50: '#b579de',
    500: '#8f3cce',
    950: '#000000',
  },
}
SCSS
$custom: #8f3cce;
$custom-light: #b579de;
$custom-dark: #000000;
JSON
{
  "hex": "#8f3cce",
  "rgb": {
    "r": 143,
    "g": 60,
    "b": 206
  },
  "hsl": {
    "h": 274.11,
    "s": 59.836,
    "l": 52.157
  },
  "oklch": {
    "l": 0.53988,
    "c": 0.21536,
    "h": 306.4
  },
  "luminance": 0.13528
}

Semantic roles & 50–950 ramp

primary
#8F3CCE
secondary
#AFD393
accent
#E34589
background
#FBF7FD
surface
#F6EEFB
border
#D0C9D4
text
#120915
muted
#817B83

Preview Lab

Preview with #8F3CCE

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

Preview Lab → · Contrast checker → · Palette generator →

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