#8962FB#8962FB

#8962FB is a mid, highly saturated violet. Relative luminance 0.210; OKLCH L 61.6% C 0.217 H 290.3°. Best body text is #000000 at 5.20:1 contrast (WCAG AA passes).

Color values

HEX#8962FB
RGBrgb(137, 98, 251)
HSLhsl(255, 95%, 68%)
HSVhsv(255, 61%, 98%)
CMYKcmyk(45.4%, 61%, 0%, 1.6%)
CIE-LABlab(52.97, 50.89, -71.26)
CIE-LCHlch(52.97, 87.57, 305.53°)
OKLaboklab(61.62% 0.0753 -0.2037)
OKLCHoklch(61.62% 0.217 290.3)
XYZxyz(32.0919, 21.0176, 93.6140)
Luminance0.2102 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8962FB #D4FB62
analogous
#6287FB #8962FB #D562FB
triadic
#8962FB #FB8962 #62FB89
tetradic
#8962FB #FB6287 #D4FB62 #62FBD5
square
#8962FB #FB6287 #D4FB62 #62FBD5
split-complementary
#8962FB #FBD562 #87FB62
monochromatic
#3D06DD #5C26F9 #8962FB #B69EFD #E3D9FE

Accessibility & contrast

On white

4.04
#8962FB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.20
#8962FB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8962FB
5.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8962FB#FFFFFF#000000##000000
##8962FB1.004.045.205.20
#FFFFFF4.041.0021.0021.00
#0000005.2021.001.001.00
##0000005.2021.001.001.00

Color blindness preview

Protanopia (red-blind)
#0081FF
Deuteranopia (green-blind)
#007BF8
Tritanopia (blue-blind)
#6685A6
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #8962fb;
/* rgb */ color: rgb(137, 98, 251);
/* oklch */ color: oklch(61.6% 0.217 290.3);
Tailwind
colors: {
  custom: {
    50: '#b390fe',
    500: '#8962fb',
    950: '#000000',
  },
}
SCSS
$custom: #8962fb;
$custom-light: #b390fe;
$custom-dark: #000000;
JSON
{
  "hex": "#8962fb",
  "rgb": {
    "r": 137,
    "g": 98,
    "b": 251
  },
  "hsl": {
    "h": 255.294,
    "s": 95.031,
    "l": 68.431
  },
  "oklch": {
    "l": 0.61618,
    "c": 0.21719,
    "h": 290.3
  },
  "luminance": 0.21019
}

Semantic roles & 50–950 ramp

primary
#8962FB
secondary
#E8F3C5
accent
#E600AB
background
#FBF9FF
surface
#F6F1FF
border
#D0CBD7
text
#120D18
muted
#817E86

Preview Lab

Preview with #8962FB

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

Preview Lab → · Contrast checker → · Palette generator →

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