#8F43CB#8F43CB

#8F43CB is a mid, highly saturated violet. Relative luminance 0.142; OKLCH L 54.6% C 0.204 H 306.4°. Best body text is #FFFFFF at 5.48:1 contrast (WCAG AA passes).

Color values

HEX#8F43CB
RGBrgb(143, 67, 203)
HSLhsl(274, 57%, 53%)
HSVhsv(274, 67%, 80%)
CMYKcmyk(29.6%, 67%, 0%, 20.4%)
CIE-LABlab(44.47, 55.87, -57.82)
CIE-LCHlch(44.47, 80.41, 314.02°)
OKLaboklab(54.58% 0.1209 -0.1639)
OKLCHoklch(54.58% 0.204 306.4)
XYZxyz(24.1120, 14.1660, 57.9524)
Luminance0.1417 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F43CB #7FCB43
analogous
#4B43CB #8F43CB #CB43C3
triadic
#8F43CB #CB8F43 #43CB8F
tetradic
#8F43CB #CB4B43 #7FCB43 #43C3CB
square
#8F43CB #CB4B43 #7FCB43 #43C3CB
split-complementary
#8F43CB #C3CB43 #43CB4B
monochromatic
#4F2074 #6F2DA4 #8F43CB #AC73D8 #C8A3E6

Accessibility & contrast

On white

5.48
#8F43CB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.83
#8F43CB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8F43CB
5.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F43CB#FFFFFF#000000##FFFFFF
##8F43CB1.005.483.835.48
#FFFFFF5.481.0021.001.00
#0000003.8321.001.0021.00
##FFFFFF5.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0067CF
Deuteranopia (green-blind)
#1E6AC8
Tritanopia (blue-blind)
#856182
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #8f43cb;
/* rgb */ color: rgb(143, 67, 203);
/* oklch */ color: oklch(54.6% 0.204 306.4);
Tailwind
colors: {
  custom: {
    50: '#b47cdc',
    500: '#8f43cb',
    950: '#000000',
  },
}
SCSS
$custom: #8f43cb;
$custom-light: #b47cdc;
$custom-dark: #000000;
JSON
{
  "hex": "#8f43cb",
  "rgb": {
    "r": 143,
    "g": 67,
    "b": 203
  },
  "hsl": {
    "h": 273.529,
    "s": 56.667,
    "l": 52.941
  },
  "oklch": {
    "l": 0.5458,
    "c": 0.20368,
    "h": 306.4
  },
  "luminance": 0.14166
}

Semantic roles & 50–950 ramp

primary
#8F43CB
secondary
#B1D298
accent
#E0488B
background
#FBF7FD
surface
#F6EEFB
border
#D0C9D4
text
#120A15
muted
#817C83

Preview Lab

Preview with #8F43CB

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

Preview Lab → · Contrast checker → · Palette generator →

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