#917EF3#917EF3

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

Color values

HEX#917EF3
RGBrgb(145, 126, 243)
HSLhsl(250, 83%, 72%)
HSVhsv(250, 48%, 95%)
CMYKcmyk(40.3%, 48.1%, 0%, 4.7%)
CIE-LABlab(59.35, 34.64, -56.52)
CIE-LCHlch(59.35, 66.29, 301.50°)
OKLaboklab(66.35% 0.0532 -0.1601)
OKLCHoklch(66.35% 0.169 288.4)
XYZxyz(35.3111, 27.4113, 88.2071)
Luminance0.2741 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#917EF3 #E0F37E
analogous
#7EA5F3 #917EF3 #CC7EF3
triadic
#917EF3 #F3917E #7EF391
tetradic
#917EF3 #F37EA5 #E0F37E #7EF3CC
square
#917EF3 #F37EA5 #E0F37E #7EF3CC
split-complementary
#917EF3 #F3CC7E #A5F37E
monochromatic
#3615E2 #6146EE #917EF3 #C1B6F8 #E7E3FC

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##917EF3#FFFFFF#000000##000000
##917EF31.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)
#4F92F7
Deuteranopia (green-blind)
#508CF0
Tritanopia (blue-blind)
#7596AD
Achromatopsia (no color)
#8F8F8F

Design tokens & code

CSS
--color: #917ef3;
/* rgb */ color: rgb(145, 126, 243);
/* oklch */ color: oklch(66.4% 0.169 288.4);
Tailwind
colors: {
  custom: {
    50: '#b6a3f8',
    500: '#917ef3',
    950: '#000000',
  },
}
SCSS
$custom: #917ef3;
$custom-light: #b6a3f8;
$custom-dark: #000000;
JSON
{
  "hex": "#917ef3",
  "rgb": {
    "r": 145,
    "g": 126,
    "b": 243
  },
  "hsl": {
    "h": 249.744,
    "s": 82.979,
    "l": 72.353
  },
  "oklch": {
    "l": 0.66354,
    "c": 0.1687,
    "h": 288.4
  },
  "luminance": 0.27413
}

Semantic roles & 50–950 ramp

primary
#917EF3
secondary
#F0F4D7
accent
#DF06BC
background
#FBFAFF
surface
#F6F4FF
border
#D0CED7
text
#120F17
muted
#817F85

Preview Lab

Preview with #917EF3

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

Preview Lab → · Contrast checker → · Palette generator →

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