#8F4BE6#8F4BE6

#8F4BE6 is a mid, highly saturated violet. Relative luminance 0.166; OKLCH L 57.5% C 0.222 H 299.4°. Best body text is #FFFFFF at 4.86:1 contrast (WCAG AA passes).

Color values

HEX#8F4BE6
RGBrgb(143, 75, 230)
HSLhsl(266, 76%, 60%)
HSVhsv(266, 67%, 90%)
CMYKcmyk(37.8%, 67.4%, 0%, 9.8%)
CIE-LABlab(47.73, 58.47, -67.97)
CIE-LCHlch(47.73, 89.66, 310.70°)
OKLaboklab(57.51% 0.1092 -0.1938)
OKLCHoklch(57.51% 0.222 299.4)
XYZxyz(28.1231, 16.5847, 76.5671)
Luminance0.1658 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F4BE6 #A2E64B
analogous
#4B54E6 #8F4BE6 #DD4BE6
triadic
#8F4BE6 #E68F4B #4BE68F
tetradic
#8F4BE6 #E64B54 #A2E64B #4BE6DD
square
#8F4BE6 #E64B54 #A2E64B #4BE6DD
split-complementary
#8F4BE6 #E6DD4B #54E64B
monochromatic
#5316A0 #6F1ED6 #8F4BE6 #B081ED #D2B6F5

Accessibility & contrast

On white

4.86
#8F4BE6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.32
#8F4BE6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8F4BE6
4.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F4BE6#FFFFFF#000000##FFFFFF
##8F4BE61.004.864.324.86
#FFFFFF4.861.0021.001.00
#0000004.3221.001.0021.00
##FFFFFF4.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0071EB
Deuteranopia (green-blind)
#0070E3
Tritanopia (blue-blind)
#7B7093
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #8f4be6;
/* rgb */ color: rgb(143, 75, 230);
/* oklch */ color: oklch(57.5% 0.222 299.4);
Tailwind
colors: {
  custom: {
    50: '#b682ef',
    500: '#8f4be6',
    950: '#000000',
  },
}
SCSS
$custom: #8f4be6;
$custom-light: #b682ef;
$custom-dark: #000000;
JSON
{
  "hex": "#8f4be6",
  "rgb": {
    "r": 143,
    "g": 75,
    "b": 230
  },
  "hsl": {
    "h": 266.323,
    "s": 75.61,
    "l": 59.804
  },
  "oklch": {
    "l": 0.57513,
    "c": 0.22241,
    "h": 299.4
  },
  "luminance": 0.16585
}

Semantic roles & 50–950 ramp

primary
#8F4BE6
secondary
#CAE4A8
accent
#F2369F
background
#FBF8FE
surface
#F6EFFD
border
#D0CAD5
text
#120B17
muted
#817C85

Preview Lab

Preview with #8F4BE6

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

Preview Lab → · Contrast checker → · Palette generator →

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