#8F4FE9#8F4FE9

#8F4FE9 is a mid, highly saturated violet. Relative luminance 0.173; OKLCH L 58.2% C 0.221 H 298.3°. Best body text is #FFFFFF at 4.71:1 contrast (WCAG AA passes).

Color values

HEX#8F4FE9
RGBrgb(143, 79, 233)
HSLhsl(265, 78%, 61%)
HSVhsv(265, 66%, 91%)
CMYKcmyk(38.6%, 66.1%, 0%, 8.6%)
CIE-LABlab(48.65, 57.26, -68.17)
CIE-LCHlch(48.65, 89.02, 310.03°)
OKLaboklab(58.24% 0.1047 -0.1944)
OKLCHoklch(58.24% 0.221 298.3)
XYZxyz(28.8279, 17.3144, 78.8982)
Luminance0.1731 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F4FE9 #A9E94F
analogous
#4F5CE9 #8F4FE9 #DC4FE9
triadic
#8F4FE9 #E98F4F #4FE98F
tetradic
#8F4FE9 #E94F5C #A9E94F #4FE9DC
square
#8F4FE9 #E94F5C #A9E94F #4FE9DC
split-complementary
#8F4FE9 #E9DC4F #5CE94F
monochromatic
#5215A9 #6D1CDF #8F4FE9 #B285F0 #D4BCF7

Accessibility & contrast

On white

4.71
#8F4FE9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.46
#8F4FE9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8F4FE9
4.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F4FE9#FFFFFF#000000##FFFFFF
##8F4FE91.004.714.464.71
#FFFFFF4.711.0021.001.00
#0000004.4621.001.0021.00
##FFFFFF4.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0074EE
Deuteranopia (green-blind)
#0072E6
Tritanopia (blue-blind)
#7A7396
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #8f4fe9;
/* rgb */ color: rgb(143, 79, 233);
/* oklch */ color: oklch(58.2% 0.221 298.3);
Tailwind
colors: {
  custom: {
    50: '#b684f1',
    500: '#8f4fe9',
    950: '#000000',
  },
}
SCSS
$custom: #8f4fe9;
$custom-light: #b684f1;
$custom-dark: #000000;
JSON
{
  "hex": "#8f4fe9",
  "rgb": {
    "r": 143,
    "g": 79,
    "b": 233
  },
  "hsl": {
    "h": 264.935,
    "s": 77.778,
    "l": 61.176
  },
  "oklch": {
    "l": 0.58241,
    "c": 0.22077,
    "h": 298.3
  },
  "luminance": 0.17315
}

Semantic roles & 50–950 ramp

primary
#8F4FE9
secondary
#CFE7AD
accent
#DA0B84
background
#FBF8FE
surface
#F6EFFD
border
#D0CAD5
text
#120B17
muted
#817C85

Preview Lab

Preview with #8F4FE9

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

Preview Lab → · Contrast checker → · Palette generator →

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