#8F2FD3#8F2FD3

#8F2FD3 is a mid, highly saturated violet. Relative luminance 0.126; OKLCH L 53.1% C 0.234 H 306.3°. Best body text is #FFFFFF at 5.97:1 contrast (WCAG AA passes).

Color values

HEX#8F2FD3
RGBrgb(143, 47, 211)
HSLhsl(275, 65%, 51%)
HSVhsv(275, 78%, 83%)
CMYKcmyk(32.2%, 77.7%, 0%, 17.3%)
CIE-LABlab(42.12, 65.96, -66.25)
CIE-LCHlch(42.12, 93.49, 314.87°)
OKLaboklab(53.1% 0.1384 -0.1886)
OKLCHoklch(53.1% 0.234 306.3)
XYZxyz(24.0995, 12.5761, 62.7732)
Luminance0.1258 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F2FD3 #73D32F
analogous
#3D2FD3 #8F2FD3 #D32FC5
triadic
#8F2FD3 #D38F2F #2FD38F
tetradic
#8F2FD3 #D33D2F #73D32F #2FC5D3
square
#8F2FD3 #D33D2F #73D32F #2FC5D3
split-complementary
#8F2FD3 #C5D32F #2FD33D
monochromatic
#4B1870 #6D22A2 #8F2FD3 #AA62DE #C594E8

Accessibility & contrast

On white

5.97
#8F2FD3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.52
#8F2FD3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8F2FD3
5.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F2FD3#FFFFFF#000000##FFFFFF
##8F2FD31.005.973.525.97
#FFFFFF5.971.0021.001.00
#0000003.5221.001.0021.00
##FFFFFF5.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0061D7
Deuteranopia (green-blind)
#0064D0
Tritanopia (blue-blind)
#835A81
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #8f2fd3;
/* rgb */ color: rgb(143, 47, 211);
/* oklch */ color: oklch(53.1% 0.234 306.3);
Tailwind
colors: {
  custom: {
    50: '#b673e2',
    500: '#8f2fd3',
    950: '#000000',
  },
}
SCSS
$custom: #8f2fd3;
$custom-light: #b673e2;
$custom-dark: #000000;
JSON
{
  "hex": "#8f2fd3",
  "rgb": {
    "r": 143,
    "g": 47,
    "b": 211
  },
  "hsl": {
    "h": 275.122,
    "s": 65.079,
    "l": 50.588
  },
  "oklch": {
    "l": 0.53095,
    "c": 0.23393,
    "h": 306.3
  },
  "luminance": 0.12576
}

Semantic roles & 50–950 ramp

primary
#8F2FD3
secondary
#A9D38A
accent
#E84086
background
#FBF7FD
surface
#F7EDFB
border
#D0C8D4
text
#120915
muted
#817B83

Preview Lab

Preview with #8F2FD3

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

Preview Lab → · Contrast checker → · Palette generator →

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