#908DF7#908DF7

#908DF7 is a light, vivid blue. Relative luminance 0.317; OKLCH L 69.2% C 0.153 H 282.9°. Best body text is #000000 at 7.34:1 contrast (WCAG AA passes).

Color values

HEX#908DF7
RGBrgb(144, 141, 247)
HSLhsl(242, 87%, 76%)
HSVhsv(242, 43%, 97%)
CMYKcmyk(41.7%, 42.9%, 0%, 3.1%)
CIE-LABlab(63.09, 26.83, -52.79)
CIE-LCHlch(63.09, 59.22, 296.94°)
OKLaboklab(69.23% 0.0342 -0.1491)
OKLCHoklch(69.23% 0.153 282.9)
XYZxyz(37.8101, 31.6929, 92.1028)
Luminance0.3169 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#908DF7 #F4F78D
analogous
#8DBFF7 #908DF7 #C58DF7
triadic
#908DF7 #F7908D #8DF790
tetradic
#908DF7 #F78DBF #F4F78D #8DF7C5
square
#908DF7 #F78DBF #F4F78D #8DF7C5
split-complementary
#908DF7 #F7C58D #BFF78D
monochromatic
#211BEF #5854F3 #908DF7 #C8C6FB #E3E2FD

Accessibility & contrast

On white

2.86
#908DF7 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.34
#908DF7 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #908DF7
7.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##908DF7#FFFFFF#000000##000000
##908DF71.002.867.347.34
#FFFFFF2.861.0021.0021.00
#0000007.3421.001.001.00
##0000007.3421.001.001.00

Color blindness preview

Protanopia (red-blind)
#669CFB
Deuteranopia (green-blind)
#6195F5
Tritanopia (blue-blind)
#70A2B6
Achromatopsia (no color)
#999999

Design tokens & code

CSS
--color: #908df7;
/* rgb */ color: rgb(144, 141, 247);
/* oklch */ color: oklch(69.2% 0.153 282.9);
Tailwind
colors: {
  custom: {
    50: '#b5aefa',
    500: '#908df7',
    950: '#000000',
  },
}
SCSS
$custom: #908df7;
$custom-light: #b5aefa;
$custom-dark: #000000;
JSON
{
  "hex": "#908df7",
  "rgb": {
    "r": 144,
    "g": 141,
    "b": 247
  },
  "hsl": {
    "h": 241.698,
    "s": 86.885,
    "l": 76.078
  },
  "oklch": {
    "l": 0.69225,
    "c": 0.15301,
    "h": 282.9
  },
  "luminance": 0.31694
}

Semantic roles & 50–950 ramp

primary
#908DF7
secondary
#F4F5D6
accent
#E302DD
background
#FBFAFF
surface
#F6F4FF
border
#D0CED7
text
#111017
muted
#807F85

Preview Lab

Preview with #908DF7

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

Preview Lab → · Contrast checker → · Palette generator →

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