#9785F8#9785F8

#9785F8 is a light, vivid blue. Relative luminance 0.301; OKLCH L 68.4% C 0.165 H 288.4°. Best body text is #000000 at 7.03:1 contrast (WCAG AA passes).

Color values

HEX#9785F8
RGBrgb(151, 133, 248)
HSLhsl(249, 89%, 75%)
HSVhsv(249, 46%, 97%)
CMYKcmyk(39.1%, 46.4%, 0%, 2.7%)
CIE-LABlab(61.77, 33.43, -55.41)
CIE-LCHlch(61.77, 64.71, 301.10°)
OKLaboklab(68.38% 0.0522 -0.1566)
OKLCHoklch(68.38% 0.165 288.4)
XYZxyz(38.0886, 30.1305, 92.5977)
Luminance0.3013 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9785F8 #E6F885
analogous
#85ADF8 #9785F8 #D085F8
triadic
#9785F8 #F89785 #85F897
tetradic
#9785F8 #F885AD #E6F885 #85F8D0
square
#9785F8 #F885AD #E6F885 #85F8D0
split-complementary
#9785F8 #F8D085 #ADF885
monochromatic
#3411F1 #664BF5 #9785F8 #C8BFFB #E6E2FD

Accessibility & contrast

On white

2.99
#9785F8 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.03
#9785F8 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9785F8
7.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9785F8#FFFFFF#000000##000000
##9785F81.002.997.037.03
#FFFFFF2.991.0021.0021.00
#0000007.0321.001.001.00
##0000007.0321.001.001.00

Color blindness preview

Protanopia (red-blind)
#5A98FC
Deuteranopia (green-blind)
#5A92F5
Tritanopia (blue-blind)
#7C9CB3
Achromatopsia (no color)
#959595

Design tokens & code

CSS
--color: #9785f8;
/* rgb */ color: rgb(151, 133, 248);
/* oklch */ color: oklch(68.4% 0.165 288.4);
Tailwind
colors: {
  custom: {
    50: '#baa8fb',
    500: '#9785f8',
    950: '#000000',
  },
}
SCSS
$custom: #9785f8;
$custom-light: #baa8fb;
$custom-dark: #000000;
JSON
{
  "hex": "#9785f8",
  "rgb": {
    "r": 151,
    "g": 133,
    "b": 248
  },
  "hsl": {
    "h": 249.391,
    "s": 89.147,
    "l": 74.706
  },
  "oklch": {
    "l": 0.68378,
    "c": 0.16511,
    "h": 288.4
  },
  "luminance": 0.30132
}

Semantic roles & 50–950 ramp

primary
#9785F8
secondary
#F0F5D6
accent
#E600C2
background
#FBFAFF
surface
#F7F4FF
border
#D0CED7
text
#120F17
muted
#817F85

Preview Lab

Preview with #9785F8

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

Preview Lab → · Contrast checker → · Palette generator →

#9785F8 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva