#8F3FD2#8F3FD2

#8F3FD2 is a mid, highly saturated violet. Relative luminance 0.140; OKLCH L 54.6% C 0.216 H 305.1°. Best body text is #FFFFFF at 5.51:1 contrast (WCAG AA passes).

Color values

HEX#8F3FD2
RGBrgb(143, 63, 210)
HSLhsl(273, 62%, 54%)
HSVhsv(273, 70%, 82%)
CMYKcmyk(31.9%, 70%, 0%, 17.6%)
CIE-LABlab(44.30, 59.30, -62.13)
CIE-LCHlch(44.30, 85.89, 313.67°)
OKLaboklab(54.61% 0.1242 -0.1766)
OKLCHoklch(54.61% 0.216 305.1)
XYZxyz(24.7355, 14.0480, 62.3687)
Luminance0.1405 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F3FD2 #82D23F
analogous
#453FD2 #8F3FD2 #D23FCB
triadic
#8F3FD2 #D28F3F #3FD28F
tetradic
#8F3FD2 #D2453F #82D23F #3FCBD2
square
#8F3FD2 #D2453F #82D23F #3FCBD2
split-complementary
#8F3FD2 #CBD23F #3FD245
monochromatic
#4F1D7A #7028AC #8F3FD2 #AC71DE #C9A2E9

Accessibility & contrast

On white

5.51
#8F3FD2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.81
#8F3FD2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8F3FD2
5.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F3FD2#FFFFFF#000000##FFFFFF
##8F3FD21.005.513.815.51
#FFFFFF5.511.0021.001.00
#0000003.8121.001.0021.00
##FFFFFF5.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0067D6
Deuteranopia (green-blind)
#0069CF
Tritanopia (blue-blind)
#836184
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #8f3fd2;
/* rgb */ color: rgb(143, 63, 210);
/* oklch */ color: oklch(54.6% 0.216 305.1);
Tailwind
colors: {
  custom: {
    50: '#b57ae1',
    500: '#8f3fd2',
    950: '#000000',
  },
}
SCSS
$custom: #8f3fd2;
$custom-light: #b57ae1;
$custom-dark: #000000;
JSON
{
  "hex": "#8f3fd2",
  "rgb": {
    "r": 143,
    "g": 63,
    "b": 210
  },
  "hsl": {
    "h": 272.653,
    "s": 62.025,
    "l": 53.529
  },
  "oklch": {
    "l": 0.54613,
    "c": 0.21586,
    "h": 305.1
  },
  "luminance": 0.14048
}

Semantic roles & 50–950 ramp

primary
#8F3FD2
secondary
#B4D697
accent
#E5438D
background
#FBF7FD
surface
#F6EEFB
border
#D0C9D4
text
#120A15
muted
#817C83

Preview Lab

Preview with #8F3FD2

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

Preview Lab → · Contrast checker → · Palette generator →

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