#8F2BCC#8F2BCC

#8F2BCC is a mid, highly saturated violet. Relative luminance 0.119; OKLCH L 52.2% C 0.231 H 308.3°. Best body text is #FFFFFF at 6.20:1 contrast (WCAG AA passes).

Color values

HEX#8F2BCC
RGBrgb(143, 43, 204)
HSLhsl(277, 65%, 48%)
HSVhsv(277, 79%, 80%)
CMYKcmyk(29.9%, 78.9%, 0%, 20%)
CIE-LABlab(41.10, 65.85, -63.86)
CIE-LCHlch(41.10, 91.73, 315.88°)
OKLaboklab(52.22% 0.1432 -0.1815)
OKLCHoklch(52.22% 0.231 308.3)
XYZxyz(23.0884, 11.9274, 58.2010)
Luminance0.1193 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F2BCC #68CC2B
analogous
#3E2BCC #8F2BCC #CC2BB8
triadic
#8F2BCC #CC8F2B #2BCC8F
tetradic
#8F2BCC #CC3E2B #68CC2B #2BB8CC
square
#8F2BCC #CC3E2B #68CC2B #2BB8CC
split-complementary
#8F2BCC #B8CC2B #2BCC3E
monochromatic
#481667 #6C2099 #8F2BCC #AA58DC #C48BE7

Accessibility & contrast

On white

6.20
#8F2BCC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.39
#8F2BCC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8F2BCC
6.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F2BCC#FFFFFF#000000##FFFFFF
##8F2BCC1.006.203.396.20
#FFFFFF6.201.0021.001.00
#0000003.3921.001.0021.00
##FFFFFF6.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005DD0
Deuteranopia (green-blind)
#0062C9
Tritanopia (blue-blind)
#85557C
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #8f2bcc;
/* rgb */ color: rgb(143, 43, 204);
/* oklch */ color: oklch(52.2% 0.231 308.3);
Tailwind
colors: {
  custom: {
    50: '#b670dd',
    500: '#8f2bcc',
    950: '#000000',
  },
}
SCSS
$custom: #8f2bcc;
$custom-light: #b670dd;
$custom-dark: #000000;
JSON
{
  "hex": "#8f2bcc",
  "rgb": {
    "r": 143,
    "g": 43,
    "b": 204
  },
  "hsl": {
    "h": 277.267,
    "s": 65.182,
    "l": 48.431
  },
  "oklch": {
    "l": 0.52216,
    "c": 0.23123,
    "h": 308.3
  },
  "luminance": 0.11927
}

Semantic roles & 50–950 ramp

primary
#8F2BCC
secondary
#A0D082
accent
#E8407F
background
#FBF7FD
surface
#F6EDFB
border
#D0C8D4
text
#120815
muted
#817B83

Preview Lab

Preview with #8F2BCC

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

Preview Lab → · Contrast checker → · Palette generator →

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