#8F30C8#8F30C8

#8F30C8 is a mid, highly saturated violet. Relative luminance 0.121; OKLCH L 52.3% C 0.223 H 308.9°. Best body text is #FFFFFF at 6.13:1 contrast (WCAG AA passes).

Color values

HEX#8F30C8
RGBrgb(143, 48, 200)
HSLhsl(278, 61%, 49%)
HSVhsv(278, 76%, 78%)
CMYKcmyk(28.5%, 76%, 0%, 21.6%)
CIE-LABlab(41.41, 63.24, -61.03)
CIE-LCHlch(41.41, 87.89, 316.02°)
OKLaboklab(52.34% 0.14 -0.1732)
OKLCHoklch(52.34% 0.223 308.9)
XYZxyz(22.8078, 12.1241, 55.7711)
Luminance0.1212 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F30C8 #69C830
analogous
#4330C8 #8F30C8 #C830B5
triadic
#8F30C8 #C88F30 #30C88F
tetradic
#8F30C8 #C84330 #69C830 #30B5C8
square
#8F30C8 #C84330 #69C830 #30B5C8
split-complementary
#8F30C8 #B5C830 #30C843
monochromatic
#481865 #6C2497 #8F30C8 #AA5DD8 #C48EE4

Accessibility & contrast

On white

6.13
#8F30C8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.42
#8F30C8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8F30C8
6.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F30C8#FFFFFF#000000##FFFFFF
##8F30C81.006.133.426.13
#FFFFFF6.131.0021.001.00
#0000003.4221.001.0021.00
##FFFFFF6.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005ECC
Deuteranopia (green-blind)
#0063C5
Tritanopia (blue-blind)
#86557B
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #8f30c8;
/* rgb */ color: rgb(143, 48, 200);
/* oklch */ color: oklch(52.3% 0.223 308.9);
Tailwind
colors: {
  custom: {
    50: '#b572da',
    500: '#8f30c8',
    950: '#000000',
  },
}
SCSS
$custom: #8f30c8;
$custom-light: #b572da;
$custom-dark: #000000;
JSON
{
  "hex": "#8f30c8",
  "rgb": {
    "r": 143,
    "g": 48,
    "b": 200
  },
  "hsl": {
    "h": 277.5,
    "s": 61.29,
    "l": 48.627
  },
  "oklch": {
    "l": 0.52341,
    "c": 0.22275,
    "h": 308.9
  },
  "luminance": 0.12124
}

Semantic roles & 50–950 ramp

primary
#8F30C8
secondary
#A1CE85
accent
#E44380
background
#FBF7FD
surface
#F6EDFB
border
#D0C8D4
text
#120915
muted
#817B83

Preview Lab

Preview with #8F30C8

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

Preview Lab → · Contrast checker → · Palette generator →

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