#9790FA#9790FA

#9790FA is a light, vivid blue. Relative luminance 0.334; OKLCH L 70.5% C 0.152 H 284.8°. Best body text is #000000 at 7.69:1 contrast (WCAG AA passes).

Color values

HEX#9790FA
RGBrgb(151, 144, 250)
HSLhsl(244, 91%, 77%)
HSVhsv(244, 42%, 98%)
CMYKcmyk(39.6%, 42.4%, 0%, 2%)
CIE-LABlab(64.50, 27.65, -52.15)
CIE-LCHlch(64.50, 59.03, 297.93°)
OKLaboklab(70.48% 0.0388 -0.1471)
OKLCHoklch(70.48% 0.152 284.8)
XYZxyz(39.9862, 33.4265, 94.7691)
Luminance0.3343 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9790FA #F3FA90
analogous
#90BEFA #9790FA #CC90FA
triadic
#9790FA #FA9790 #90FA97
tetradic
#9790FA #FA90BE #F3FA90 #90FACC
square
#9790FA #FA90BE #F3FA90 #90FACC
split-complementary
#9790FA #FACC90 #BEFA90
monochromatic
#291BF5 #6055F7 #9790FA #CECBFD #E4E2FE

Accessibility & contrast

On white

2.73
#9790FA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.69
#9790FA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9790FA
7.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9790FA#FFFFFF#000000##000000
##9790FA1.002.737.697.69
#FFFFFF2.731.0021.0021.00
#0000007.6921.001.001.00
##0000007.6921.001.001.00

Color blindness preview

Protanopia (red-blind)
#6AA0FE
Deuteranopia (green-blind)
#6799F8
Tritanopia (blue-blind)
#7AA5B9
Achromatopsia (no color)
#9C9C9C

Design tokens & code

CSS
--color: #9790fa;
/* rgb */ color: rgb(151, 144, 250);
/* oklch */ color: oklch(70.5% 0.152 284.8);
Tailwind
colors: {
  custom: {
    50: '#b9b0fc',
    500: '#9790fa',
    950: '#000000',
  },
}
SCSS
$custom: #9790fa;
$custom-light: #b9b0fc;
$custom-dark: #000000;
JSON
{
  "hex": "#9790fa",
  "rgb": {
    "r": 151,
    "g": 144,
    "b": 250
  },
  "hsl": {
    "h": 243.962,
    "s": 91.379,
    "l": 77.255
  },
  "oklch": {
    "l": 0.70482,
    "c": 0.15214,
    "h": 284.8
  },
  "luminance": 0.33428
}

Semantic roles & 50–950 ramp

primary
#9790FA
secondary
#F4F6D5
accent
#E600D6
background
#FBFAFF
surface
#F6F4FF
border
#D0CED7
text
#121017
muted
#817F85

Preview Lab

Preview with #9790FA

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

Preview Lab → · Contrast checker → · Palette generator →

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