#8F2BC2#8F2BC2

#8F2BC2 is a mid, highly saturated violet. Relative luminance 0.115; OKLCH L 51.5% C 0.222 H 310.9°. Best body text is #FFFFFF at 6.38:1 contrast (WCAG AA passes).

Color values

HEX#8F2BC2
RGBrgb(143, 43, 194)
HSLhsl(280, 64%, 46%)
HSVhsv(280, 78%, 76%)
CMYKcmyk(26.3%, 77.8%, 0%, 23.9%)
CIE-LABlab(40.35, 63.77, -59.26)
CIE-LCHlch(40.35, 87.06, 317.10°)
OKLaboklab(51.46% 0.1455 -0.168)
OKLCHoklch(51.46% 0.222 310.9)
XYZxyz(21.9273, 11.4630, 52.0860)
Luminance0.1146 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F2BC2 #5EC22B
analogous
#442BC2 #8F2BC2 #C22BAA
triadic
#8F2BC2 #C28F2B #2BC28F
tetradic
#8F2BC2 #C2442B #5EC22B #2BAAC2
square
#8F2BC2 #C2442B #5EC22B #2BAAC2
split-complementary
#8F2BC2 #AAC22B #2BC244
monochromatic
#45155E #6A2090 #8F2BC2 #AB52D9 #C384E4

Accessibility & contrast

On white

6.38
#8F2BC2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.29
#8F2BC2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8F2BC2
6.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F2BC2#FFFFFF#000000##FFFFFF
##8F2BC21.006.383.296.38
#FFFFFF6.381.0021.001.00
#0000003.2921.001.0021.00
##FFFFFF6.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005BC6
Deuteranopia (green-blind)
#0061BF
Tritanopia (blue-blind)
#885076
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #8f2bc2;
/* rgb */ color: rgb(143, 43, 194);
/* oklch */ color: oklch(51.5% 0.222 310.9);
Tailwind
colors: {
  custom: {
    50: '#b570d5',
    500: '#8f2bc2',
    950: '#000000',
  },
}
SCSS
$custom: #8f2bc2;
$custom-light: #b570d5;
$custom-dark: #000000;
JSON
{
  "hex": "#8f2bc2",
  "rgb": {
    "r": 143,
    "g": 43,
    "b": 194
  },
  "hsl": {
    "h": 279.735,
    "s": 63.713,
    "l": 46.471
  },
  "oklch": {
    "l": 0.51455,
    "c": 0.22222,
    "h": 310.9
  },
  "luminance": 0.11462
}

Semantic roles & 50–950 ramp

primary
#8F2BC2
secondary
#97CD7C
accent
#E74179
background
#FBF7FD
surface
#F6EDFA
border
#D0C8D3
text
#120814
muted
#817B83

Preview Lab

Preview with #8F2BC2

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

Preview Lab → · Contrast checker → · Palette generator →

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