#9794F3#9794F3

#9794F3 is a light, vivid blue. Relative luminance 0.342; OKLCH L 70.9% C 0.137 H 283.8°. Best body text is #000000 at 7.85:1 contrast (WCAG AA passes).

Color values

HEX#9794F3
RGBrgb(151, 148, 243)
HSLhsl(242, 80%, 77%)
HSVhsv(242, 39%, 95%)
CMYKcmyk(37.9%, 39.1%, 0%, 4.7%)
CIE-LABlab(65.14, 23.45, -47.31)
CIE-LCHlch(65.14, 52.80, 296.37°)
OKLaboklab(70.86% 0.0326 -0.133)
OKLCHoklch(70.86% 0.137 283.8)
XYZxyz(39.5255, 34.2288, 89.3009)
Luminance0.3423 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9794F3 #F0F394
analogous
#94C1F3 #9794F3 #C794F3
triadic
#9794F3 #F39794 #94F397
tetradic
#9794F3 #F394C1 #F0F394 #94F3C7
square
#9794F3 #F394C1 #F0F394 #94F3C7
split-complementary
#9794F3 #F3C794 #C1F394
monochromatic
#2C26E7 #625DED #9794F3 #CCCBF9 #E4E3FC

Accessibility & contrast

On white

2.68
#9794F3 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.85
#9794F3 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9794F3
7.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9794F3#FFFFFF#000000##000000
##9794F31.002.687.857.85
#FFFFFF2.681.0021.0021.00
#0000007.8521.001.001.00
##0000007.8521.001.001.00

Color blindness preview

Protanopia (red-blind)
#74A1F7
Deuteranopia (green-blind)
#719BF1
Tritanopia (blue-blind)
#7DA6B8
Achromatopsia (no color)
#9E9E9E

Design tokens & code

CSS
--color: #9794f3;
/* rgb */ color: rgb(151, 148, 243);
/* oklch */ color: oklch(70.9% 0.137 283.8);
Tailwind
colors: {
  custom: {
    50: '#b9b3f7',
    500: '#9794f3',
    950: '#000000',
  },
}
SCSS
$custom: #9794f3;
$custom-light: #b9b3f7;
$custom-dark: #000000;
JSON
{
  "hex": "#9794f3",
  "rgb": {
    "r": 151,
    "g": 148,
    "b": 243
  },
  "hsl": {
    "h": 241.895,
    "s": 79.832,
    "l": 76.667
  },
  "oklch": {
    "l": 0.70857,
    "c": 0.13689,
    "h": 283.8
  },
  "luminance": 0.3423
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #9794F3

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

Preview Lab → · Contrast checker → · Palette generator →

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