#8F3ECC#8F3ECC

#8F3ECC is a mid, highly saturated violet. Relative luminance 0.136; OKLCH L 54.1% C 0.211 H 306.7°. Best body text is #FFFFFF at 5.63:1 contrast (WCAG AA passes).

Color values

HEX#8F3ECC
RGBrgb(143, 62, 204)
HSLhsl(274, 58%, 52%)
HSVhsv(274, 70%, 80%)
CMYKcmyk(29.9%, 69.6%, 0%, 20%)
CIE-LABlab(43.72, 58.39, -59.61)
CIE-LCHlch(43.72, 83.44, 314.40°)
OKLaboklab(54.07% 0.1261 -0.1692)
OKLCHoklch(54.07% 0.211 306.7)
XYZxyz(23.9471, 13.6448, 58.4872)
Luminance0.1364 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F3ECC #7BCC3E
analogous
#483ECC #8F3ECC #CC3EC2
triadic
#8F3ECC #CC8F3E #3ECC8F
tetradic
#8F3ECC #CC483E #7BCC3E #3EC2CC
square
#8F3ECC #CC483E #7BCC3E #3EC2CC
split-complementary
#8F3ECC #C2CC3E #3ECC48
monochromatic
#4E1E72 #6F2BA2 #8F3ECC #AB6ED9 #C79FE6

Accessibility & contrast

On white

5.63
#8F3ECC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.73
#8F3ECC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8F3ECC
5.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F3ECC#FFFFFF#000000##FFFFFF
##8F3ECC1.005.633.735.63
#FFFFFF5.631.0021.001.00
#0000003.7321.001.0021.00
##FFFFFF5.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0065D0
Deuteranopia (green-blind)
#0F68C9
Tritanopia (blue-blind)
#855E81
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #8f3ecc;
/* rgb */ color: rgb(143, 62, 204);
/* oklch */ color: oklch(54.1% 0.211 306.7);
Tailwind
colors: {
  custom: {
    50: '#b57adc',
    500: '#8f3ecc',
    950: '#000000',
  },
}
SCSS
$custom: #8f3ecc;
$custom-light: #b57adc;
$custom-dark: #000000;
JSON
{
  "hex": "#8f3ecc",
  "rgb": {
    "r": 143,
    "g": 62,
    "b": 204
  },
  "hsl": {
    "h": 274.225,
    "s": 58.197,
    "l": 52.157
  },
  "oklch": {
    "l": 0.54065,
    "c": 0.21096,
    "h": 306.7
  },
  "luminance": 0.13645
}

Semantic roles & 50–950 ramp

primary
#8F3ECC
secondary
#AFD294
accent
#E14689
background
#FBF7FD
surface
#F6EEFB
border
#D0C9D4
text
#120A15
muted
#817C83

Preview Lab

Preview with #8F3ECC

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

Preview Lab → · Contrast checker → · Palette generator →

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