#917DF7#917DF7

#917DF7 is a light, vivid blue. Relative luminance 0.274; OKLCH L 66.4% C 0.175 H 288.2°. Best body text is #000000 at 6.48:1 contrast (WCAG AA passes).

Color values

HEX#917DF7
RGBrgb(145, 125, 247)
HSLhsl(250, 88%, 73%)
HSVhsv(250, 49%, 97%)
CMYKcmyk(41.3%, 49.4%, 0%, 3.1%)
CIE-LABlab(59.34, 36.32, -58.75)
CIE-LCHlch(59.34, 69.07, 301.72°)
OKLaboklab(66.42% 0.0548 -0.1666)
OKLCHoklch(66.42% 0.175 288.2)
XYZxyz(35.7945, 27.4011, 91.3806)
Luminance0.2740 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#917DF7 #E3F77D
analogous
#7DA6F7 #917DF7 #CE7DF7
triadic
#917DF7 #F7917D #7DF791
tetradic
#917DF7 #F77DA6 #E3F77D #7DF7CE
square
#917DF7 #F77DA6 #E3F77D #7DF7CE
split-complementary
#917DF7 #F7CE7D #A6F77D
monochromatic
#330EEB #6043F3 #917DF7 #C2B7FB #E7E2FD

Accessibility & contrast

On white

3.24
#917DF7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.48
#917DF7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #917DF7
6.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##917DF7#FFFFFF#000000##000000
##917DF71.003.246.486.48
#FFFFFF3.241.0021.0021.00
#0000006.4821.001.001.00
##0000006.4821.001.001.00

Color blindness preview

Protanopia (red-blind)
#4A92FB
Deuteranopia (green-blind)
#4A8CF4
Tritanopia (blue-blind)
#7496AE
Achromatopsia (no color)
#8F8F8F

Design tokens & code

CSS
--color: #917df7;
/* rgb */ color: rgb(145, 125, 247);
/* oklch */ color: oklch(66.4% 0.175 288.2);
Tailwind
colors: {
  custom: {
    50: '#b6a3fa',
    500: '#917df7',
    950: '#000000',
  },
}
SCSS
$custom: #917df7;
$custom-light: #b6a3fa;
$custom-dark: #000000;
JSON
{
  "hex": "#917df7",
  "rgb": {
    "r": 145,
    "g": 125,
    "b": 247
  },
  "hsl": {
    "h": 249.836,
    "s": 88.406,
    "l": 72.941
  },
  "oklch": {
    "l": 0.6642,
    "c": 0.17539,
    "h": 288.2
  },
  "luminance": 0.27402
}

Semantic roles & 50–950 ramp

primary
#917DF7
secondary
#F0F5D6
accent
#E500C0
background
#FBFAFF
surface
#F6F3FF
border
#D0CDD7
text
#120F17
muted
#817F85

Preview Lab

Preview with #917DF7

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

Preview Lab → · Contrast checker → · Palette generator →

#917DF7 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva