#9790EA#9790EA

#9790EA is a light, vivid blue. Relative luminance 0.325; OKLCH L 69.6% C 0.130 H 286.1°. Best body text is #000000 at 7.49:1 contrast (WCAG AA passes).

Color values

HEX#9790EA
RGBrgb(151, 144, 234)
HSLhsl(245, 68%, 74%)
HSVhsv(245, 38%, 92%)
CMYKcmyk(35.5%, 38.5%, 0%, 8.2%)
CIE-LABlab(63.73, 23.35, -44.59)
CIE-LCHlch(63.73, 50.33, 297.64°)
OKLaboklab(69.64% 0.036 -0.1251)
OKLCHoklch(69.64% 0.13 286.1)
XYZxyz(37.5830, 32.4652, 82.1122)
Luminance0.3247 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9790EA #E3EA90
analogous
#90B6EA #9790EA #C490EA
triadic
#9790EA #EA9790 #90EA97
tetradic
#9790EA #EA90B6 #E3EA90 #90EAC4
square
#9790EA #EA90B6 #E3EA90 #90EAC4
split-complementary
#9790EA #EAC490 #B6EA90
monochromatic
#3729D7 #675DE0 #9790EA #C7C3F4 #E7E5FA

Accessibility & contrast

On white

2.80
#9790EA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.49
#9790EA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9790EA
7.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9790EA#FFFFFF#000000##000000
##9790EA1.002.807.497.49
#FFFFFF2.801.0021.0021.00
#0000007.4921.001.001.00
##0000007.4921.001.001.00

Color blindness preview

Protanopia (red-blind)
#739DEE
Deuteranopia (green-blind)
#7198E8
Tritanopia (blue-blind)
#81A1B2
Achromatopsia (no color)
#9A9A9A

Design tokens & code

CSS
--color: #9790ea;
/* rgb */ color: rgb(151, 144, 234);
/* oklch */ color: oklch(69.6% 0.130 286.1);
Tailwind
colors: {
  custom: {
    50: '#b8b0f1',
    500: '#9790ea',
    950: '#000000',
  },
}
SCSS
$custom: #9790ea;
$custom-light: #b8b0f1;
$custom-dark: #000000;
JSON
{
  "hex": "#9790ea",
  "rgb": {
    "r": 151,
    "g": 144,
    "b": 234
  },
  "hsl": {
    "h": 244.667,
    "s": 68.182,
    "l": 74.118
  },
  "oklch": {
    "l": 0.69635,
    "c": 0.13013,
    "h": 286.1
  },
  "luminance": 0.32466
}

Semantic roles & 50–950 ramp

primary
#9790EA
secondary
#F0F2D9
accent
#D015C2
background
#FBFAFE
surface
#F6F4FD
border
#D0CED5
text
#121017
muted
#817F85

Preview Lab

Preview with #9790EA

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

Preview Lab → · Contrast checker → · Palette generator →

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