#9A84FB#9A84FB

#9A84FB is a light, vivid violet. Relative luminance 0.303; OKLCH L 68.6% C 0.170 H 289.6°. Best body text is #000000 at 7.07:1 contrast (WCAG AA passes).

Color values

HEX#9A84FB
RGBrgb(154, 132, 251)
HSLhsl(251, 94%, 75%)
HSVhsv(251, 47%, 98%)
CMYKcmyk(38.6%, 47.4%, 0%, 1.6%)
CIE-LABlab(61.94, 35.54, -56.76)
CIE-LCHlch(61.94, 66.97, 302.05°)
OKLaboklab(68.62% 0.0573 -0.1605)
OKLCHoklch(68.62% 0.17 289.6)
XYZxyz(38.9855, 30.3364, 95.0495)
Luminance0.3034 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9A84FB #E5FB84
analogous
#84AAFB #9A84FB #D584FB
triadic
#9A84FB #FB9A84 #84FB9A
tetradic
#9A84FB #FB84AA #E5FB84 #84FBD5
square
#9A84FB #FB84AA #E5FB84 #84FBD5
split-complementary
#9A84FB #FBD584 #AAFB84
monochromatic
#390DF7 #6949F9 #9A84FB #CBBFFD #E7E1FE

Accessibility & contrast

On white

2.97
#9A84FB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.07
#9A84FB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9A84FB
7.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9A84FB#FFFFFF#000000##000000
##9A84FB1.002.977.077.07
#FFFFFF2.971.0021.0021.00
#0000007.0721.001.001.00
##0000007.0721.001.001.00

Color blindness preview

Protanopia (red-blind)
#5798FF
Deuteranopia (green-blind)
#5893F8
Tritanopia (blue-blind)
#809CB4
Achromatopsia (no color)
#969696

Design tokens & code

CSS
--color: #9a84fb;
/* rgb */ color: rgb(154, 132, 251);
/* oklch */ color: oklch(68.6% 0.170 289.6);
Tailwind
colors: {
  custom: {
    50: '#bca8fd',
    500: '#9a84fb',
    950: '#000000',
  },
}
SCSS
$custom: #9a84fb;
$custom-light: #bca8fd;
$custom-dark: #000000;
JSON
{
  "hex": "#9a84fb",
  "rgb": {
    "r": 154,
    "g": 132,
    "b": 251
  },
  "hsl": {
    "h": 251.092,
    "s": 93.701,
    "l": 75.098
  },
  "oklch": {
    "l": 0.68624,
    "c": 0.17044,
    "h": 289.6
  },
  "luminance": 0.30338
}

Semantic roles & 50–950 ramp

primary
#9A84FB
secondary
#F0F6D5
accent
#E600BB
background
#FBFAFF
surface
#F7F4FF
border
#D0CED7
text
#120F18
muted
#817F86

Preview Lab

Preview with #9A84FB

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

Preview Lab → · Contrast checker → · Palette generator →

#9A84FB Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva