#8F4FCB#8F4FCB

#8F4FCB is a mid, vivid violet. Relative luminance 0.157; OKLCH L 56.1% C 0.187 H 304.9°. Best body text is #FFFFFF at 5.06:1 contrast (WCAG AA passes).

Color values

HEX#8F4FCB
RGBrgb(143, 79, 203)
HSLhsl(271, 54%, 55%)
HSVhsv(271, 61%, 80%)
CMYKcmyk(29.6%, 61.1%, 0%, 20.4%)
CIE-LABlab(46.64, 49.95, -54.33)
CIE-LCHlch(46.64, 73.81, 312.59°)
OKLaboklab(56.14% 0.1071 -0.1537)
OKLCHoklch(56.14% 0.187 304.9)
XYZxyz(24.9008, 15.7435, 58.2153)
Luminance0.1574 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F4FCB #8BCB4F
analogous
#514FCB #8F4FCB #CB4FC9
triadic
#8F4FCB #CB8F4F #4FCB8F
tetradic
#8F4FCB #CB514F #8BCB4F #4FC9CB
square
#8F4FCB #CB514F #8BCB4F #4FC9CB
split-complementary
#8F4FCB #C9CB4F #4FCB51
monochromatic
#51247B #7032AA #8F4FCB #AD7ED9 #CBADE7

Accessibility & contrast

On white

5.06
#8F4FCB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.15
#8F4FCB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8F4FCB
5.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F4FCB#FFFFFF#000000##FFFFFF
##8F4FCB1.005.064.155.06
#FFFFFF5.061.0021.001.00
#0000004.1521.001.0021.00
##FFFFFF5.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#066DCF
Deuteranopia (green-blind)
#326FC8
Tritanopia (blue-blind)
#846886
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #8f4fcb;
/* rgb */ color: rgb(143, 79, 203);
/* oklch */ color: oklch(56.1% 0.187 304.9);
Tailwind
colors: {
  custom: {
    50: '#b483db',
    500: '#8f4fcb',
    950: '#000000',
  },
}
SCSS
$custom: #8f4fcb;
$custom-light: #b483db;
$custom-dark: #000000;
JSON
{
  "hex": "#8f4fcb",
  "rgb": {
    "r": 143,
    "g": 79,
    "b": 203
  },
  "hsl": {
    "h": 270.968,
    "s": 54.386,
    "l": 55.294
  },
  "oklch": {
    "l": 0.56144,
    "c": 0.18735,
    "h": 304.9
  },
  "luminance": 0.15743
}

Semantic roles & 50–950 ramp

primary
#8F4FCB
secondary
#BAD5A1
accent
#DE4A92
background
#FBF8FD
surface
#F6EFFB
border
#D0CAD4
text
#110B15
muted
#807C83

Preview Lab

Preview with #8F4FCB

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

Preview Lab → · Contrast checker → · Palette generator →

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