#8F3FC9#8F3FC9

#8F3FC9 is a mid, highly saturated violet. Relative luminance 0.136; OKLCH L 54.0% C 0.207 H 307.4°. Best body text is #FFFFFF at 5.64:1 contrast (WCAG AA passes).

Color values

HEX#8F3FC9
RGBrgb(143, 63, 201)
HSLhsl(275, 56%, 52%)
HSVhsv(275, 69%, 79%)
CMYKcmyk(28.9%, 68.7%, 0%, 21.2%)
CIE-LABlab(43.67, 57.26, -57.96)
CIE-LCHlch(43.67, 81.47, 314.65°)
OKLaboklab(53.97% 0.1254 -0.1643)
OKLCHoklch(53.97% 0.207 307.4)
XYZxyz(23.6456, 13.6120, 56.6287)
Luminance0.1361 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F3FC9 #79C93F
analogous
#4A3FC9 #8F3FC9 #C93FBE
triadic
#8F3FC9 #C98F3F #3FC98F
tetradic
#8F3FC9 #C94A3F #79C93F #3FBEC9
square
#8F3FC9 #C94A3F #79C93F #3FBEC9
split-complementary
#8F3FC9 #BEC93F #3FC94A
monochromatic
#4D1F6F #6E2D9E #8F3FC9 #AB6FD6 #C79FE4

Accessibility & contrast

On white

5.64
#8F3FC9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.72
#8F3FC9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8F3FC9
5.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F3FC9#FFFFFF#000000##FFFFFF
##8F3FC91.005.643.725.64
#FFFFFF5.641.0021.001.00
#0000003.7221.001.0021.00
##FFFFFF5.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0064CD
Deuteranopia (green-blind)
#1A68C6
Tritanopia (blue-blind)
#865E7F
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #8f3fc9;
/* rgb */ color: rgb(143, 63, 201);
/* oklch */ color: oklch(54.0% 0.207 307.4);
Tailwind
colors: {
  custom: {
    50: '#b47ada',
    500: '#8f3fc9',
    950: '#000000',
  },
}
SCSS
$custom: #8f3fc9;
$custom-light: #b47ada;
$custom-dark: #000000;
JSON
{
  "hex": "#8f3fc9",
  "rgb": {
    "r": 143,
    "g": 63,
    "b": 201
  },
  "hsl": {
    "h": 274.783,
    "s": 56.098,
    "l": 51.765
  },
  "oklch": {
    "l": 0.53965,
    "c": 0.20668,
    "h": 307.4
  },
  "luminance": 0.13612
}

Semantic roles & 50–950 ramp

primary
#8F3FC9
secondary
#ADD094
accent
#DF4888
background
#FBF7FD
surface
#F6EEFB
border
#D0C9D4
text
#120A15
muted
#817C83

Preview Lab

Preview with #8F3FC9

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

Preview Lab → · Contrast checker → · Palette generator →

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