#8F2CCD#8F2CCD

#8F2CCD is a mid, highly saturated violet. Relative luminance 0.120; OKLCH L 52.4% C 0.231 H 308.0°. Best body text is #FFFFFF at 6.16:1 contrast (WCAG AA passes).

Color values

HEX#8F2CCD
RGBrgb(143, 44, 205)
HSLhsl(277, 65%, 49%)
HSVhsv(277, 79%, 80%)
CMYKcmyk(30.2%, 78.5%, 0%, 19.6%)
CIE-LABlab(41.29, 65.73, -64.13)
CIE-LCHlch(41.29, 91.83, 315.70°)
OKLaboklab(52.38% 0.1422 -0.1823)
OKLCHoklch(52.38% 0.231 308)
XYZxyz(23.2455, 12.0491, 58.8469)
Luminance0.1205 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F2CCD #6ACD2C
analogous
#3E2CCD #8F2CCD #CD2CBB
triadic
#8F2CCD #CD8F2C #2CCD8F
tetradic
#8F2CCD #CD3E2C #6ACD2C #2CBBCD
square
#8F2CCD #CD3E2C #6ACD2C #2CBBCD
split-complementary
#8F2CCD #BBCD2C #2CCD3E
monochromatic
#491668 #6C219B #8F2CCD #AA5BDC #C48DE7

Accessibility & contrast

On white

6.16
#8F2CCD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.41
#8F2CCD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8F2CCD
6.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F2CCD#FFFFFF#000000##FFFFFF
##8F2CCD1.006.163.416.16
#FFFFFF6.161.0021.001.00
#0000003.4121.001.0021.00
##FFFFFF6.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005ED1
Deuteranopia (green-blind)
#0062CA
Tritanopia (blue-blind)
#85567D
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #8f2ccd;
/* rgb */ color: rgb(143, 44, 205);
/* oklch */ color: oklch(52.4% 0.231 308.0);
Tailwind
colors: {
  custom: {
    50: '#b671dd',
    500: '#8f2ccd',
    950: '#000000',
  },
}
SCSS
$custom: #8f2ccd;
$custom-light: #b671dd;
$custom-dark: #000000;
JSON
{
  "hex": "#8f2ccd",
  "rgb": {
    "r": 143,
    "g": 44,
    "b": 205
  },
  "hsl": {
    "h": 276.894,
    "s": 64.659,
    "l": 48.824
  },
  "oklch": {
    "l": 0.52375,
    "c": 0.23122,
    "h": 308
  },
  "luminance": 0.12049
}

Semantic roles & 50–950 ramp

primary
#8F2CCD
secondary
#A2D184
accent
#E84081
background
#FBF7FD
surface
#F6EDFB
border
#D0C8D4
text
#120815
muted
#817B83

Preview Lab

Preview with #8F2CCD

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

Preview Lab → · Contrast checker → · Palette generator →

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