#9789FA#9789FA

#9789FA is a light, vivid blue. Relative luminance 0.314; OKLCH L 69.2% C 0.162 H 287.0°. Best body text is #000000 at 7.27:1 contrast (WCAG AA passes).

Color values

HEX#9789FA
RGBrgb(151, 137, 250)
HSLhsl(247, 92%, 76%)
HSVhsv(247, 45%, 98%)
CMYKcmyk(39.6%, 45.2%, 0%, 2%)
CIE-LABlab(62.82, 31.67, -54.83)
CIE-LCHlch(62.82, 63.32, 300.01°)
OKLaboklab(69.21% 0.0475 -0.1549)
OKLCHoklch(69.21% 0.162 287)
XYZxyz(38.9587, 31.3714, 94.4266)
Luminance0.3137 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9789FA #ECFA89
analogous
#89B3FA #9789FA #D089FA
triadic
#9789FA #FA9789 #89FA97
tetradic
#9789FA #FA89B3 #ECFA89 #89FAD0
square
#9789FA #FA89B3 #ECFA89 #89FAD0
split-complementary
#9789FA #FAD089 #B3FA89
monochromatic
#3014F5 #634EF8 #9789FA #CBC4FC #E5E2FE

Accessibility & contrast

On white

2.89
#9789FA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.27
#9789FA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9789FA
7.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9789FA#FFFFFF#000000##000000
##9789FA1.002.897.277.27
#FFFFFF2.891.0021.0021.00
#0000007.2721.001.001.00
##0000007.2721.001.001.00

Color blindness preview

Protanopia (red-blind)
#5F9BFE
Deuteranopia (green-blind)
#5E95F7
Tritanopia (blue-blind)
#7BA0B6
Achromatopsia (no color)
#989898

Design tokens & code

CSS
--color: #9789fa;
/* rgb */ color: rgb(151, 137, 250);
/* oklch */ color: oklch(69.2% 0.162 287.0);
Tailwind
colors: {
  custom: {
    50: '#baabfc',
    500: '#9789fa',
    950: '#000000',
  },
}
SCSS
$custom: #9789fa;
$custom-light: #baabfc;
$custom-dark: #000000;
JSON
{
  "hex": "#9789fa",
  "rgb": {
    "r": 151,
    "g": 137,
    "b": 250
  },
  "hsl": {
    "h": 247.434,
    "s": 91.87,
    "l": 75.882
  },
  "oklch": {
    "l": 0.69207,
    "c": 0.16206,
    "h": 287
  },
  "luminance": 0.31373
}

Semantic roles & 50–950 ramp

primary
#9789FA
secondary
#F2F6D5
accent
#E600C9
background
#FBFAFF
surface
#F7F4FF
border
#D0CED7
text
#121017
muted
#817F85

Preview Lab

Preview with #9789FA

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

Preview Lab → · Contrast checker → · Palette generator →

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