#8F30BF#8F30BF

#8F30BF is a mid, highly saturated violet. Relative luminance 0.117; OKLCH L 51.7% C 0.214 H 311.4°. Best body text is #FFFFFF at 6.28:1 contrast (WCAG AA passes).

Color values

HEX#8F30BF
RGBrgb(143, 48, 191)
HSLhsl(280, 60%, 47%)
HSVhsv(280, 75%, 75%)
CMYKcmyk(25.1%, 74.9%, 0%, 25.1%)
CIE-LABlab(40.76, 61.34, -56.84)
CIE-LCHlch(40.76, 83.63, 317.18°)
OKLaboklab(51.68% 0.1417 -0.1609)
OKLCHoklch(51.68% 0.214 311.4)
XYZxyz(21.7868, 11.7157, 50.3938)
Luminance0.1172 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F30BF #60BF30
analogous
#4730BF #8F30BF #BF30A8
triadic
#8F30BF #BF8F30 #30BF8F
tetradic
#8F30BF #BF4730 #60BF30 #30A8BF
square
#8F30BF #BF4730 #60BF30 #30A8BF
split-complementary
#8F30BF #A8BF30 #30BF47
monochromatic
#46175D #6A248E #8F30BF #AB57D5 #C388E1

Accessibility & contrast

On white

6.28
#8F30BF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.34
#8F30BF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8F30BF
6.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F30BF#FFFFFF#000000##FFFFFF
##8F30BF1.006.283.346.28
#FFFFFF6.281.0021.001.00
#0000003.3421.001.0021.00
##FFFFFF6.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005CC3
Deuteranopia (green-blind)
#1562BC
Tritanopia (blue-blind)
#895176
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #8f30bf;
/* rgb */ color: rgb(143, 48, 191);
/* oklch */ color: oklch(51.7% 0.214 311.4);
Tailwind
colors: {
  custom: {
    50: '#b472d3',
    500: '#8f30bf',
    950: '#000000',
  },
}
SCSS
$custom: #8f30bf;
$custom-light: #b472d3;
$custom-dark: #000000;
JSON
{
  "hex": "#8f30bf",
  "rgb": {
    "r": 143,
    "g": 48,
    "b": 191
  },
  "hsl": {
    "h": 279.86,
    "s": 59.833,
    "l": 46.863
  },
  "oklch": {
    "l": 0.51676,
    "c": 0.21441,
    "h": 311.4
  },
  "luminance": 0.11715
}

Semantic roles & 50–950 ramp

primary
#8F30BF
secondary
#99CB80
accent
#E3457A
background
#FBF7FD
surface
#F6EDFA
border
#D0C8D3
text
#120914
muted
#817B83

Preview Lab

Preview with #8F30BF

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

Preview Lab → · Contrast checker → · Palette generator →

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