#9F89F7#9F89F7

#9F89F7 is a light, vivid violet. Relative luminance 0.320; OKLCH L 69.7% C 0.158 H 290.9°. Best body text is #000000 at 7.40:1 contrast (WCAG AA passes).

Color values

HEX#9F89F7
RGBrgb(159, 137, 247)
HSLhsl(252, 87%, 75%)
HSVhsv(252, 45%, 97%)
CMYKcmyk(35.6%, 44.5%, 0%, 3.1%)
CIE-LABlab(63.32, 32.87, -52.34)
CIE-LCHlch(63.32, 61.81, 302.13°)
OKLaboklab(69.7% 0.0564 -0.1475)
OKLCHoklch(69.7% 0.158 290.9)
XYZxyz(40.0278, 31.9767, 92.0408)
Luminance0.3198 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F89F7 #E1F789
analogous
#89AAF7 #9F89F7 #D689F7
triadic
#9F89F7 #F79F89 #89F79F
tetradic
#9F89F7 #F789AA #E1F789 #89F7D6
square
#9F89F7 #F789AA #E1F789 #89F7D6
split-complementary
#9F89F7 #F7D689 #AAF789
monochromatic
#4216EF #7050F3 #9F89F7 #CEC2FB #E8E2FD

Accessibility & contrast

On white

2.84
#9F89F7 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.40
#9F89F7 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9F89F7
7.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F89F7#FFFFFF#000000##000000
##9F89F71.002.847.407.40
#FFFFFF2.841.0021.0021.00
#0000007.4021.001.001.00
##0000007.4021.001.001.00

Color blindness preview

Protanopia (red-blind)
#639BFB
Deuteranopia (green-blind)
#6597F4
Tritanopia (blue-blind)
#899EB4
Achromatopsia (no color)
#999999

Design tokens & code

CSS
--color: #9f89f7;
/* rgb */ color: rgb(159, 137, 247);
/* oklch */ color: oklch(69.7% 0.158 290.9);
Tailwind
colors: {
  custom: {
    50: '#bfabfa',
    500: '#9f89f7',
    950: '#000000',
  },
}
SCSS
$custom: #9f89f7;
$custom-light: #bfabfa;
$custom-dark: #000000;
JSON
{
  "hex": "#9f89f7",
  "rgb": {
    "r": 159,
    "g": 137,
    "b": 247
  },
  "hsl": {
    "h": 252,
    "s": 87.302,
    "l": 75.294
  },
  "oklch": {
    "l": 0.69697,
    "c": 0.15789,
    "h": 290.9
  },
  "luminance": 0.31978
}

Semantic roles & 50–950 ramp

primary
#9F89F7
secondary
#EFF5D6
accent
#E402B7
background
#FCFAFF
surface
#F8F4FF
border
#D1CED7
text
#121017
muted
#817F85

Preview Lab

Preview with #9F89F7

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

Preview Lab → · Contrast checker → · Palette generator →

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