#8F30CE#8F30CE

#8F30CE is a mid, highly saturated violet. Relative luminance 0.124; OKLCH L 52.8% C 0.228 H 307.4°. Best body text is #FFFFFF at 6.03:1 contrast (WCAG AA passes).

Color values

HEX#8F30CE
RGBrgb(143, 48, 206)
HSLhsl(276, 62%, 50%)
HSVhsv(276, 77%, 81%)
CMYKcmyk(30.6%, 76.7%, 0%, 19.2%)
CIE-LABlab(41.86, 64.52, -63.79)
CIE-LCHlch(41.86, 90.73, 315.33°)
OKLaboklab(52.8% 0.1388 -0.1813)
OKLCHoklch(52.8% 0.228 307.4)
XYZxyz(23.5228, 12.4101, 59.5367)
Luminance0.1241 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F30CE #6FCE30
analogous
#4030CE #8F30CE #CE30BE
triadic
#8F30CE #CE8F30 #30CE8F
tetradic
#8F30CE #CE4030 #6FCE30 #30BECE
square
#8F30CE #CE4030 #6FCE30 #30BECE
split-complementary
#8F30CE #BECE30 #30CE40
monochromatic
#4A196B #6D249C #8F30CE #AA61DA #C593E6

Accessibility & contrast

On white

6.03
#8F30CE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.48
#8F30CE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8F30CE
6.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F30CE#FFFFFF#000000##FFFFFF
##8F30CE1.006.033.486.03
#FFFFFF6.031.0021.001.00
#0000003.4821.001.0021.00
##FFFFFF6.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0060D2
Deuteranopia (green-blind)
#0063CB
Tritanopia (blue-blind)
#84587E
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #8f30ce;
/* rgb */ color: rgb(143, 48, 206);
/* oklch */ color: oklch(52.8% 0.228 307.4);
Tailwind
colors: {
  custom: {
    50: '#b573de',
    500: '#8f30ce',
    950: '#000000',
  },
}
SCSS
$custom: #8f30ce;
$custom-light: #b573de;
$custom-dark: #000000;
JSON
{
  "hex": "#8f30ce",
  "rgb": {
    "r": 143,
    "g": 48,
    "b": 206
  },
  "hsl": {
    "h": 276.076,
    "s": 62.205,
    "l": 49.804
  },
  "oklch": {
    "l": 0.52796,
    "c": 0.22833,
    "h": 307.4
  },
  "luminance": 0.1241
}

Semantic roles & 50–950 ramp

primary
#8F30CE
secondary
#A6D189
accent
#E54383
background
#FBF7FD
surface
#F6EDFB
border
#D0C8D4
text
#120915
muted
#817B83

Preview Lab

Preview with #8F30CE

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

Preview Lab → · Contrast checker → · Palette generator →

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