#9F9CF5#9F9CF5

#9F9CF5 is a light, vivid blue. Relative luminance 0.377; OKLCH L 73.1% C 0.128 H 284.3°. Best body text is #000000 at 8.55:1 contrast (WCAG AA passes).

Color values

HEX#9F9CF5
RGBrgb(159, 156, 245)
HSLhsl(242, 82%, 79%)
HSVhsv(242, 36%, 96%)
CMYKcmyk(35.1%, 36.3%, 0%, 3.9%)
CIE-LABlab(67.83, 21.51, -44.14)
CIE-LCHlch(67.83, 49.10, 295.98°)
OKLaboklab(73.09% 0.0315 -0.1236)
OKLCHoklch(73.09% 0.128 284.3)
XYZxyz(42.6634, 37.7391, 91.4050)
Luminance0.3774 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F9CF5 #F2F59C
analogous
#9CC5F5 #9F9CF5 #CB9CF5
triadic
#9F9CF5 #F59F9C #9CF59F
tetradic
#9F9CF5 #F59CC5 #F2F59C #9CF5CB
square
#9F9CF5 #F59CC5 #F2F59C #9CF5CB
split-complementary
#9F9CF5 #F5CB9C #C5F59C
monochromatic
#332DEA #6964EF #9F9CF5 #D5D4FB #E4E3FC

Accessibility & contrast

On white

2.46
#9F9CF5 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.55
#9F9CF5 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9F9CF5
8.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F9CF5#FFFFFF#000000##000000
##9F9CF51.002.468.558.55
#FFFFFF2.461.0021.0021.00
#0000008.5521.001.001.00
##0000008.5521.001.001.00

Color blindness preview

Protanopia (red-blind)
#80A8F9
Deuteranopia (green-blind)
#7DA3F3
Tritanopia (blue-blind)
#88ADBD
Achromatopsia (no color)
#A5A5A5

Design tokens & code

CSS
--color: #9f9cf5;
/* rgb */ color: rgb(159, 156, 245);
/* oklch */ color: oklch(73.1% 0.128 284.3);
Tailwind
colors: {
  custom: {
    50: '#beb9f9',
    500: '#9f9cf5',
    950: '#000000',
  },
}
SCSS
$custom: #9f9cf5;
$custom-light: #beb9f9;
$custom-dark: #000000;
JSON
{
  "hex": "#9f9cf5",
  "rgb": {
    "r": 159,
    "g": 156,
    "b": 245
  },
  "hsl": {
    "h": 242.022,
    "s": 81.651,
    "l": 78.627
  },
  "oklch": {
    "l": 0.73091,
    "c": 0.12754,
    "h": 284.3
  },
  "luminance": 0.3774
}

Semantic roles & 50–950 ramp

primary
#9F9CF5
secondary
#F3F4D7
accent
#DE07D7
background
#FBFBFF
surface
#F7F6FF
border
#D0D0D7
text
#121117
muted
#818085

Preview Lab

Preview with #9F9CF5

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

Preview Lab → · Contrast checker → · Palette generator →

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