#8F30D3#8F30D3

#8F30D3 is a mid, highly saturated violet. Relative luminance 0.127; OKLCH L 53.2% C 0.233 H 306.2°. Best body text is #FFFFFF at 5.95:1 contrast (WCAG AA passes).

Color values

HEX#8F30D3
RGBrgb(143, 48, 211)
HSLhsl(275, 65%, 51%)
HSVhsv(275, 77%, 83%)
CMYKcmyk(32.2%, 77.3%, 0%, 17.3%)
CIE-LABlab(42.24, 65.60, -66.05)
CIE-LCHlch(42.24, 93.09, 314.80°)
OKLaboklab(53.18% 0.1376 -0.188)
OKLCHoklch(53.18% 0.233 306.2)
XYZxyz(24.1399, 12.6569, 62.7867)
Luminance0.1266 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F30D3 #74D330
analogous
#3D30D3 #8F30D3 #D330C6
triadic
#8F30D3 #D38F30 #30D38F
tetradic
#8F30D3 #D33D30 #74D330 #30C6D3
square
#8F30D3 #D33D30 #74D330 #30C6D3
split-complementary
#8F30D3 #C6D330 #30D33D
monochromatic
#4C1871 #6E23A3 #8F30D3 #AA62DE #C695E8

Accessibility & contrast

On white

5.95
#8F30D3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.53
#8F30D3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8F30D3
5.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F30D3#FFFFFF#000000##FFFFFF
##8F30D31.005.953.535.95
#FFFFFF5.951.0021.001.00
#0000003.5321.001.0021.00
##FFFFFF5.951.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #8f30d3;
/* rgb */ color: rgb(143, 48, 211);
/* oklch */ color: oklch(53.2% 0.233 306.2);
Tailwind
colors: {
  custom: {
    50: '#b673e2',
    500: '#8f30d3',
    950: '#000000',
  },
}
SCSS
$custom: #8f30d3;
$custom-light: #b673e2;
$custom-dark: #000000;
JSON
{
  "hex": "#8f30d3",
  "rgb": {
    "r": 143,
    "g": 48,
    "b": 211
  },
  "hsl": {
    "h": 274.969,
    "s": 64.94,
    "l": 50.784
  },
  "oklch": {
    "l": 0.53182,
    "c": 0.23299,
    "h": 306.2
  },
  "luminance": 0.12657
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #8F30D3

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

Preview Lab → · Contrast checker → · Palette generator →

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