#9E84F2#9E84F2

#9E84F2 is a light, vivid violet. Relative luminance 0.302; OKLCH L 68.5% C 0.159 H 292.6°. Best body text is #000000 at 7.04:1 contrast (WCAG AA passes).

Color values

HEX#9E84F2
RGBrgb(158, 132, 242)
HSLhsl(254, 81%, 73%)
HSVhsv(254, 45%, 95%)
CMYKcmyk(34.7%, 45.5%, 0%, 5.1%)
CIE-LABlab(61.81, 34.16, -51.99)
CIE-LCHlch(61.81, 62.21, 303.30°)
OKLaboklab(68.45% 0.0609 -0.1465)
OKLCHoklch(68.45% 0.159 292.6)
XYZxyz(38.3747, 30.1816, 87.7910)
Luminance0.3018 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E84F2 #D8F284
analogous
#84A1F2 #9E84F2 #D584F2
triadic
#9E84F2 #F29E84 #84F29E
tetradic
#9E84F2 #F284A1 #D8F284 #84F2D5
square
#9E84F2 #F284A1 #D8F284 #84F2D5
split-complementary
#9E84F2 #F2D584 #A1F284
monochromatic
#4818E4 #724DEC #9E84F2 #CABBF8 #E9E3FC

Accessibility & contrast

On white

2.98
#9E84F2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.04
#9E84F2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9E84F2
7.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E84F2#FFFFFF#000000##000000
##9E84F21.002.987.047.04
#FFFFFF2.981.0021.0021.00
#0000007.0421.001.001.00
##0000007.0421.001.001.00

Color blindness preview

Protanopia (red-blind)
#5E97F6
Deuteranopia (green-blind)
#6293EF
Tritanopia (blue-blind)
#8A99AF
Achromatopsia (no color)
#959595

Design tokens & code

CSS
--color: #9e84f2;
/* rgb */ color: rgb(158, 132, 242);
/* oklch */ color: oklch(68.5% 0.159 292.6);
Tailwind
colors: {
  custom: {
    50: '#bea8f7',
    500: '#9e84f2',
    950: '#000000',
  },
}
SCSS
$custom: #9e84f2;
$custom-light: #bea8f7;
$custom-dark: #000000;
JSON
{
  "hex": "#9e84f2",
  "rgb": {
    "r": 158,
    "g": 132,
    "b": 242
  },
  "hsl": {
    "h": 254.182,
    "s": 80.882,
    "l": 73.333
  },
  "oklch": {
    "l": 0.68453,
    "c": 0.15866,
    "h": 292.6
  },
  "luminance": 0.30182
}

Semantic roles & 50–950 ramp

primary
#9E84F2
secondary
#EDF4D7
accent
#DD08AB
background
#FBFAFF
surface
#F7F4FF
border
#D0CED7
text
#120F17
muted
#817F85

Preview Lab

Preview with #9E84F2

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

Preview Lab → · Contrast checker → · Palette generator →

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