#9794F4#9794F4

#9794F4 is a light, vivid blue. Relative luminance 0.343; OKLCH L 70.9% C 0.138 H 283.7°. Best body text is #000000 at 7.86:1 contrast (WCAG AA passes).

Color values

HEX#9794F4
RGBrgb(151, 148, 244)
HSLhsl(242, 81%, 77%)
HSVhsv(242, 39%, 96%)
CMYKcmyk(38.1%, 39.3%, 0%, 4.3%)
CIE-LABlab(65.19, 23.72, -47.78)
CIE-LCHlch(65.19, 53.34, 296.40°)
OKLaboklab(70.91% 0.0328 -0.1343)
OKLCHoklch(70.91% 0.138 283.7)
XYZxyz(39.6769, 34.2894, 90.0984)
Luminance0.3429 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9794F4 #F1F494
analogous
#94C1F4 #9794F4 #C794F4
triadic
#9794F4 #F49794 #94F497
tetradic
#9794F4 #F494C1 #F1F494 #94F4C7
square
#9794F4 #F494C1 #F1F494 #94F4C7
split-complementary
#9794F4 #F4C794 #C1F494
monochromatic
#2B25E9 #615DEE #9794F4 #CDCBFA #E4E3FC

Accessibility & contrast

On white

2.67
#9794F4 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.86
#9794F4 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9794F4
7.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9794F4#FFFFFF#000000##000000
##9794F41.002.677.867.86
#FFFFFF2.671.0021.0021.00
#0000007.8621.001.001.00
##0000007.8621.001.001.00

Color blindness preview

Protanopia (red-blind)
#74A1F8
Deuteranopia (green-blind)
#709BF2
Tritanopia (blue-blind)
#7DA7B8
Achromatopsia (no color)
#9E9E9E

Design tokens & code

CSS
--color: #9794f4;
/* rgb */ color: rgb(151, 148, 244);
/* oklch */ color: oklch(70.9% 0.138 283.7);
Tailwind
colors: {
  custom: {
    50: '#b9b3f8',
    500: '#9794f4',
    950: '#000000',
  },
}
SCSS
$custom: #9794f4;
$custom-light: #b9b3f8;
$custom-dark: #000000;
JSON
{
  "hex": "#9794f4",
  "rgb": {
    "r": 151,
    "g": 148,
    "b": 244
  },
  "hsl": {
    "h": 241.875,
    "s": 81.356,
    "l": 76.863
  },
  "oklch": {
    "l": 0.70909,
    "c": 0.13828,
    "h": 283.7
  },
  "luminance": 0.34291
}

Semantic roles & 50–950 ramp

primary
#9794F4
secondary
#F3F4D7
accent
#DE08D7
background
#FBFBFF
surface
#F6F6FF
border
#D0D0D7
text
#121117
muted
#818085

Preview Lab

Preview with #9794F4

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

Preview Lab → · Contrast checker → · Palette generator →

#9794F4 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva