#9F91EF#9F91EF

#9F91EF is a light, vivid blue. Relative luminance 0.339; OKLCH L 70.7% C 0.135 H 289.3°. Best body text is #000000 at 7.77:1 contrast (WCAG AA passes).

Color values

HEX#9F91EF
RGBrgb(159, 145, 239)
HSLhsl(249, 75%, 75%)
HSVhsv(249, 39%, 94%)
CMYKcmyk(33.5%, 39.3%, 0%, 6.3%)
CIE-LABlab(64.85, 26.22, -45.54)
CIE-LCHlch(64.85, 52.55, 299.93°)
OKLaboklab(70.72% 0.0447 -0.1277)
OKLCHoklch(70.72% 0.135 289.3)
XYZxyz(39.9993, 33.8527, 86.0714)
Luminance0.3385 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F91EF #E1EF91
analogous
#91B2EF #9F91EF #CE91EF
triadic
#9F91EF #EF9F91 #91EF9F
tetradic
#9F91EF #EF91B2 #E1EF91 #91EFCE
square
#9F91EF #EF91B2 #E1EF91 #91EFCE
split-complementary
#9F91EF #EFCE91 #B2EF91
monochromatic
#4226DF #705CE7 #9F91EF #CEC6F7 #E8E4FB

Accessibility & contrast

On white

2.70
#9F91EF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.77
#9F91EF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9F91EF
7.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F91EF#FFFFFF#000000##000000
##9F91EF1.002.707.777.77
#FFFFFF2.701.0021.0021.00
#0000007.7721.001.001.00
##0000007.7721.001.001.00

Color blindness preview

Protanopia (red-blind)
#749FF3
Deuteranopia (green-blind)
#749BED
Tritanopia (blue-blind)
#8BA3B5
Achromatopsia (no color)
#9D9D9D

Design tokens & code

CSS
--color: #9f91ef;
/* rgb */ color: rgb(159, 145, 239);
/* oklch */ color: oklch(70.7% 0.135 289.3);
Tailwind
colors: {
  custom: {
    50: '#beb1f4',
    500: '#9f91ef',
    950: '#000000',
  },
}
SCSS
$custom: #9f91ef;
$custom-light: #beb1f4;
$custom-dark: #000000;
JSON
{
  "hex": "#9f91ef",
  "rgb": {
    "r": 159,
    "g": 145,
    "b": 239
  },
  "hsl": {
    "h": 248.936,
    "s": 74.603,
    "l": 75.294
  },
  "oklch": {
    "l": 0.70723,
    "c": 0.13525,
    "h": 289.3
  },
  "luminance": 0.33854
}

Semantic roles & 50–950 ramp

primary
#9F91EF
secondary
#EFF3D8
accent
#D70FB9
background
#FBFAFE
surface
#F7F5FD
border
#D0CFD5
text
#121017
muted
#817F85

Preview Lab

Preview with #9F91EF

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

Preview Lab → · Contrast checker → · Palette generator →

#9F91EF Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva