#9882FA#9882FA

#9882FA is a light, vivid violet. Relative luminance 0.295; OKLCH L 68.0% C 0.172 H 289.4°. Best body text is #000000 at 6.91:1 contrast (WCAG AA passes).

Color values

HEX#9882FA
RGBrgb(152, 130, 250)
HSLhsl(251, 92%, 75%)
HSVhsv(251, 48%, 98%)
CMYKcmyk(39.2%, 48%, 0%, 2%)
CIE-LABlab(61.26, 35.93, -57.31)
CIE-LCHlch(61.26, 67.64, 302.08°)
OKLaboklab(68.05% 0.0573 -0.1622)
OKLCHoklch(68.05% 0.172 289.4)
XYZxyz(38.1821, 29.5416, 94.1143)
Luminance0.2954 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9882FA #E4FA82
analogous
#82A8FA #9882FA #D482FA
triadic
#9882FA #FA9882 #82FA98
tetradic
#9882FA #FA82A8 #E4FA82 #82FAD4
square
#9882FA #FA82A8 #E4FA82 #82FAD4
split-complementary
#9882FA #FAD482 #A8FA82
monochromatic
#370CF5 #6847F8 #9882FA #C8BDFC #E7E2FE

Accessibility & contrast

On white

3.04
#9882FA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.91
#9882FA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9882FA
6.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9882FA#FFFFFF#000000##000000
##9882FA1.003.046.916.91
#FFFFFF3.041.0021.0021.00
#0000006.9121.001.001.00
##0000006.9121.001.001.00

Color blindness preview

Protanopia (red-blind)
#5396FE
Deuteranopia (green-blind)
#5491F7
Tritanopia (blue-blind)
#7D9AB2
Achromatopsia (no color)
#949494

Design tokens & code

CSS
--color: #9882fa;
/* rgb */ color: rgb(152, 130, 250);
/* oklch */ color: oklch(68.0% 0.172 289.4);
Tailwind
colors: {
  custom: {
    50: '#bba6fc',
    500: '#9882fa',
    950: '#000000',
  },
}
SCSS
$custom: #9882fa;
$custom-light: #bba6fc;
$custom-dark: #000000;
JSON
{
  "hex": "#9882fa",
  "rgb": {
    "r": 152,
    "g": 130,
    "b": 250
  },
  "hsl": {
    "h": 251,
    "s": 92.308,
    "l": 74.51
  },
  "oklch": {
    "l": 0.6805,
    "c": 0.17203,
    "h": 289.4
  },
  "luminance": 0.29543
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #9882FA

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

Preview Lab → · Contrast checker → · Palette generator →

#9882FA Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva