#908EF7#908EF7

#908EF7 is a light, vivid blue. Relative luminance 0.320; OKLCH L 69.4% C 0.152 H 282.6°. Best body text is #000000 at 7.40:1 contrast (WCAG AA passes).

Color values

HEX#908EF7
RGBrgb(144, 142, 247)
HSLhsl(241, 87%, 76%)
HSVhsv(241, 43%, 97%)
CMYKcmyk(41.7%, 42.5%, 0%, 3.1%)
CIE-LABlab(63.33, 26.25, -52.40)
CIE-LCHlch(63.33, 58.61, 296.61°)
OKLaboklab(69.41% 0.033 -0.148)
OKLCHoklch(69.41% 0.152 282.6)
XYZxyz(37.9582, 31.9891, 92.1521)
Luminance0.3199 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#908EF7 #F5F78E
analogous
#8EC1F7 #908EF7 #C58EF7
triadic
#908EF7 #F7908E #8EF790
tetradic
#908EF7 #F78EC1 #F5F78E #8EF7C5
square
#908EF7 #F78EC1 #F5F78E #8EF7C5
split-complementary
#908EF7 #F7C58E #C1F78E
monochromatic
#201CEF #5855F3 #908EF7 #C8C7FB #E3E2FD

Accessibility & contrast

On white

2.84
#908EF7 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.40
#908EF7 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #908EF7
7.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##908EF7#FFFFFF#000000##000000
##908EF71.002.847.407.40
#FFFFFF2.841.0021.0021.00
#0000007.4021.001.001.00
##0000007.4021.001.001.00

Color blindness preview

Protanopia (red-blind)
#679DFB
Deuteranopia (green-blind)
#6296F5
Tritanopia (blue-blind)
#70A3B7
Achromatopsia (no color)
#999999

Design tokens & code

CSS
--color: #908ef7;
/* rgb */ color: rgb(144, 142, 247);
/* oklch */ color: oklch(69.4% 0.152 282.6);
Tailwind
colors: {
  custom: {
    50: '#b5affa',
    500: '#908ef7',
    950: '#000000',
  },
}
SCSS
$custom: #908ef7;
$custom-light: #b5affa;
$custom-dark: #000000;
JSON
{
  "hex": "#908ef7",
  "rgb": {
    "r": 144,
    "g": 142,
    "b": 247
  },
  "hsl": {
    "h": 241.143,
    "s": 86.777,
    "l": 76.275
  },
  "oklch": {
    "l": 0.69411,
    "c": 0.15161,
    "h": 282.6
  },
  "luminance": 0.31991
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #908EF7

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

Preview Lab → · Contrast checker → · Palette generator →

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