#8F74F2#8F74F2

#8F74F2 is a light, vivid violet. Relative luminance 0.247; OKLCH L 64.4% C 0.182 H 290.2°. Best body text is #000000 at 5.95:1 contrast (WCAG AA passes).

Color values

HEX#8F74F2
RGBrgb(143, 116, 242)
HSLhsl(253, 83%, 70%)
HSVhsv(253, 52%, 95%)
CMYKcmyk(40.9%, 52.1%, 0%, 5.1%)
CIE-LABlab(56.82, 39.64, -60.03)
CIE-LCHlch(56.82, 71.93, 303.44°)
OKLaboklab(64.4% 0.0628 -0.1705)
OKLCHoklch(64.4% 0.182 290.2)
XYZxyz(33.5957, 24.7402, 86.9924)
Luminance0.2474 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F74F2 #D7F274
analogous
#7498F2 #8F74F2 #CE74F2
triadic
#8F74F2 #F28F74 #74F28F
tetradic
#8F74F2 #F27498 #D7F274 #74F2CE
square
#8F74F2 #F27498 #D7F274 #74F2CE
split-complementary
#8F74F2 #F2CE74 #98F274
monochromatic
#3E14D7 #623CED #8F74F2 #BCACF7 #E8E3FC

Accessibility & contrast

On white

3.53
#8F74F2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.95
#8F74F2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8F74F2
5.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F74F2#FFFFFF#000000##000000
##8F74F21.003.535.955.95
#FFFFFF3.531.0021.0021.00
#0000005.9521.001.001.00
##0000005.9521.001.001.00

Color blindness preview

Protanopia (red-blind)
#3B8BF6
Deuteranopia (green-blind)
#3E86EF
Tritanopia (blue-blind)
#738EA8
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #8f74f2;
/* rgb */ color: rgb(143, 116, 242);
/* oklch */ color: oklch(64.4% 0.182 290.2);
Tailwind
colors: {
  custom: {
    50: '#b59cf7',
    500: '#8f74f2',
    950: '#000000',
  },
}
SCSS
$custom: #8f74f2;
$custom-light: #b59cf7;
$custom-dark: #000000;
JSON
{
  "hex": "#8f74f2",
  "rgb": {
    "r": 143,
    "g": 116,
    "b": 242
  },
  "hsl": {
    "h": 252.857,
    "s": 82.895,
    "l": 70.196
  },
  "oklch": {
    "l": 0.64402,
    "c": 0.18165,
    "h": 290.2
  },
  "luminance": 0.24741
}

Semantic roles & 50–950 ramp

primary
#8F74F2
secondary
#EBF2CF
accent
#DF06B1
background
#FBF9FF
surface
#F6F2FF
border
#D0CCD7
text
#120E17
muted
#817E85

Preview Lab

Preview with #8F74F2

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

Preview Lab → · Contrast checker → · Palette generator →

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