#8F3FCB#8F3FCB

#8F3FCB is a mid, highly saturated violet. Relative luminance 0.137; OKLCH L 54.1% C 0.209 H 306.8°. Best body text is #FFFFFF at 5.61:1 contrast (WCAG AA passes).

Color values

HEX#8F3FCB
RGBrgb(143, 63, 203)
HSLhsl(274, 57%, 52%)
HSVhsv(274, 69%, 80%)
CMYKcmyk(29.6%, 69%, 0%, 20.4%)
CIE-LABlab(43.81, 57.71, -58.89)
CIE-LCHlch(43.81, 82.46, 314.42°)
OKLaboklab(54.11% 0.1252 -0.167)
OKLCHoklch(54.11% 0.209 306.8)
XYZxyz(23.8824, 13.7067, 57.8759)
Luminance0.1371 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F3FCB #7BCB3F
analogous
#493FCB #8F3FCB #CB3FC1
triadic
#8F3FCB #CB8F3F #3FCB8F
tetradic
#8F3FCB #CB493F #7BCB3F #3FC1CB
square
#8F3FCB #CB493F #7BCB3F #3FC1CB
split-complementary
#8F3FCB #C1CB3F #3FCB49
monochromatic
#4E1F71 #6F2CA1 #8F3FCB #AB6FD8 #C79FE5

Accessibility & contrast

On white

5.61
#8F3FCB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.74
#8F3FCB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8F3FCB
5.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F3FCB#FFFFFF#000000##FFFFFF
##8F3FCB1.005.613.745.61
#FFFFFF5.611.0021.001.00
#0000003.7421.001.0021.00
##FFFFFF5.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0065CF
Deuteranopia (green-blind)
#1568C8
Tritanopia (blue-blind)
#855E80
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #8f3fcb;
/* rgb */ color: rgb(143, 63, 203);
/* oklch */ color: oklch(54.1% 0.209 306.8);
Tailwind
colors: {
  custom: {
    50: '#b47adc',
    500: '#8f3fcb',
    950: '#000000',
  },
}
SCSS
$custom: #8f3fcb;
$custom-light: #b47adc;
$custom-dark: #000000;
JSON
{
  "hex": "#8f3fcb",
  "rgb": {
    "r": 143,
    "g": 63,
    "b": 203
  },
  "hsl": {
    "h": 274.286,
    "s": 57.377,
    "l": 52.157
  },
  "oklch": {
    "l": 0.54107,
    "c": 0.20871,
    "h": 306.8
  },
  "luminance": 0.13706
}

Semantic roles & 50–950 ramp

primary
#8F3FCB
secondary
#AFD194
accent
#E14789
background
#FBF7FD
surface
#F6EEFB
border
#D0C9D4
text
#120A15
muted
#817C83

Preview Lab

Preview with #8F3FCB

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

Preview Lab → · Contrast checker → · Palette generator →

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