#8F72CA#8F72CA

#8F72CA is a mid, vivid violet. Relative luminance 0.221; OKLCH L 61.7% C 0.132 H 297.6°. Best body text is #000000 at 5.43:1 contrast (WCAG AA passes).

Color values

HEX#8F72CA
RGBrgb(143, 114, 202)
HSLhsl(260, 45%, 62%)
HSVhsv(260, 44%, 79%)
CMYKcmyk(29.2%, 43.6%, 0%, 20.8%)
CIE-LABlab(54.17, 30.23, -41.75)
CIE-LCHlch(54.17, 51.55, 305.91°)
OKLaboklab(61.71% 0.0612 -0.117)
OKLCHoklch(61.71% 0.132 297.6)
XYZxyz(28.0031, 22.1383, 58.6634)
Luminance0.2214 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F72CA #ADCA72
analogous
#7281CA #8F72CA #BB72CA
triadic
#8F72CA #CA8F72 #72CA8F
tetradic
#8F72CA #CA7281 #ADCA72 #72CABB
square
#8F72CA #CA7281 #ADCA72 #72CABB
split-complementary
#8F72CA #CABB72 #81CA72
monochromatic
#52358D #6C46B9 #8F72CA #B29EDB #D6CBEB

Accessibility & contrast

On white

3.87
#8F72CA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.43
#8F72CA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8F72CA
5.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F72CA#FFFFFF#000000##000000
##8F72CA1.003.875.435.43
#FFFFFF3.871.0021.0021.00
#0000005.4321.001.001.00
##0000005.4321.001.001.00

Color blindness preview

Protanopia (red-blind)
#5882CD
Deuteranopia (green-blind)
#5E81C8
Tritanopia (blue-blind)
#838294
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #8f72ca;
/* rgb */ color: rgb(143, 114, 202);
/* oklch */ color: oklch(61.7% 0.132 297.6);
Tailwind
colors: {
  custom: {
    50: '#b29bda',
    500: '#8f72ca',
    950: '#000000',
  },
}
SCSS
$custom: #8f72ca;
$custom-light: #b29bda;
$custom-dark: #000000;
JSON
{
  "hex": "#8f72ca",
  "rgb": {
    "r": 143,
    "g": 114,
    "b": 202
  },
  "hsl": {
    "h": 259.773,
    "s": 45.361,
    "l": 61.961
  },
  "oklch": {
    "l": 0.61711,
    "c": 0.13201,
    "h": 297.6
  },
  "luminance": 0.22139
}

Semantic roles & 50–950 ramp

primary
#8F72CA
secondary
#D1DCBC
accent
#B92D8B
background
#FBF9FD
surface
#F6F2FB
border
#D0CCD4
text
#110E15
muted
#807E83

Preview Lab

Preview with #8F72CA

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

Preview Lab → · Contrast checker → · Palette generator →

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