#8F3DD7#8F3DD7

#8F3DD7 is a mid, highly saturated violet. Relative luminance 0.141; OKLCH L 54.8% C 0.223 H 304.2°. Best body text is #FFFFFF at 5.50:1 contrast (WCAG AA passes).

Color values

HEX#8F3DD7
RGBrgb(143, 61, 215)
HSLhsl(272, 66%, 54%)
HSVhsv(272, 72%, 84%)
CMYKcmyk(33.5%, 71.6%, 0%, 15.7%)
CIE-LABlab(44.35, 61.32, -64.92)
CIE-LCHlch(44.35, 89.30, 313.37°)
OKLaboklab(54.76% 0.1253 -0.1847)
OKLCHoklch(54.76% 0.223 304.2)
XYZxyz(25.2594, 14.0835, 65.6645)
Luminance0.1408 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F3DD7 #85D73D
analogous
#423DD7 #8F3DD7 #D73DD2
triadic
#8F3DD7 #D78F3D #3DD78F
tetradic
#8F3DD7 #D7423D #85D73D #3DD2D7
square
#8F3DD7 #D7423D #85D73D #3DD2D7
split-complementary
#8F3DD7 #D2D73D #3DD742
monochromatic
#501A7F #7025B2 #8F3DD7 #AC70E1 #CAA2EC

Accessibility & contrast

On white

5.50
#8F3DD7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.82
#8F3DD7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8F3DD7
5.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F3DD7#FFFFFF#000000##FFFFFF
##8F3DD71.005.503.825.50
#FFFFFF5.501.0021.001.00
#0000003.8221.001.0021.00
##FFFFFF5.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0067DB
Deuteranopia (green-blind)
#0069D4
Tritanopia (blue-blind)
#816286
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #8f3dd7;
/* rgb */ color: rgb(143, 61, 215);
/* oklch */ color: oklch(54.8% 0.223 304.2);
Tailwind
colors: {
  custom: {
    50: '#b57ae4',
    500: '#8f3dd7',
    950: '#000000',
  },
}
SCSS
$custom: #8f3dd7;
$custom-light: #b57ae4;
$custom-dark: #000000;
JSON
{
  "hex": "#8f3dd7",
  "rgb": {
    "r": 143,
    "g": 61,
    "b": 215
  },
  "hsl": {
    "h": 271.948,
    "s": 65.812,
    "l": 54.118
  },
  "oklch": {
    "l": 0.54763,
    "c": 0.22324,
    "h": 304.2
  },
  "luminance": 0.14083
}

Semantic roles & 50–950 ramp

primary
#8F3DD7
secondary
#B6D997
accent
#E93F8E
background
#FBF7FE
surface
#F6EEFC
border
#D0C9D5
text
#120A16
muted
#817C84

Preview Lab

Preview with #8F3DD7

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

Preview Lab → · Contrast checker → · Palette generator →

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