#8962F8#8962F8

#8962F8 is a mid, highly saturated violet. Relative luminance 0.208; OKLCH L 61.4% C 0.214 H 290.7°. Best body text is #000000 at 5.17:1 contrast (WCAG AA passes).

Color values

HEX#8962F8
RGBrgb(137, 98, 248)
HSLhsl(256, 91%, 68%)
HSVhsv(256, 60%, 97%)
CMYKcmyk(44.8%, 60.5%, 0%, 2.7%)
CIE-LABlab(52.76, 50.07, -69.93)
CIE-LCHlch(52.76, 86.01, 305.60°)
OKLaboklab(61.4% 0.0755 -0.1998)
OKLCHoklch(61.4% 0.214 290.7)
XYZxyz(31.6227, 20.8299, 91.1431)
Luminance0.2083 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8962F8 #D1F862
analogous
#6286F8 #8962F8 #D462F8
triadic
#8962F8 #F88962 #62F889
tetradic
#8962F8 #F86286 #D1F862 #62F8D4
square
#8962F8 #F86286 #D1F862 #62F8D4
split-complementary
#8962F8 #F8D462 #86F862
monochromatic
#3F0AD6 #5D27F5 #8962F8 #B59DFB #E1D7FD

Accessibility & contrast

On white

4.06
#8962F8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.17
#8962F8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8962F8
5.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8962F8#FFFFFF#000000##000000
##8962F81.004.065.175.17
#FFFFFF4.061.0021.0021.00
#0000005.1721.001.001.00
##0000005.1721.001.001.00

Color blindness preview

Protanopia (red-blind)
#0081FD
Deuteranopia (green-blind)
#007BF5
Tritanopia (blue-blind)
#6784A4
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #8962f8;
/* rgb */ color: rgb(137, 98, 248);
/* oklch */ color: oklch(61.4% 0.214 290.7);
Tailwind
colors: {
  custom: {
    50: '#b390fb',
    500: '#8962f8',
    950: '#000000',
  },
}
SCSS
$custom: #8962f8;
$custom-light: #b390fb;
$custom-dark: #000000;
JSON
{
  "hex": "#8962f8",
  "rgb": {
    "r": 137,
    "g": 98,
    "b": 248
  },
  "hsl": {
    "h": 255.6,
    "s": 91.463,
    "l": 67.843
  },
  "oklch": {
    "l": 0.61403,
    "c": 0.21358,
    "h": 290.7
  },
  "luminance": 0.20831
}

Semantic roles & 50–950 ramp

primary
#8962F8
secondary
#E6F2C4
accent
#E600AA
background
#FBF9FF
surface
#F6F1FF
border
#D0CBD7
text
#120D18
muted
#817E86

Preview Lab

Preview with #8962F8

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

Preview Lab → · Contrast checker → · Palette generator →

#8962F8 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva