#908EFE#908EFE

#908EFE is a light, vivid blue. Relative luminance 0.324; OKLCH L 69.8% C 0.161 H 282.2°. Best body text is #000000 at 7.49:1 contrast (WCAG AA passes).

Color values

HEX#908EFE
RGBrgb(144, 142, 254)
HSLhsl(241, 98%, 78%)
HSVhsv(241, 44%, 100%)
CMYKcmyk(43.3%, 44.1%, 0%, 0.4%)
CIE-LABlab(63.70, 28.21, -55.66)
CIE-LCHlch(63.70, 62.40, 296.88°)
OKLaboklab(69.8% 0.034 -0.1575)
OKLCHoklch(69.8% 0.161 282.2)
XYZxyz(39.0587, 32.4293, 97.9482)
Luminance0.3243 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#908EFE #FCFE8E
analogous
#8EC4FE #908EFE #C88EFE
triadic
#908EFE #FE908E #8EFE90
tetradic
#908EFE #FE8EC4 #FCFE8E #8EFEC8
square
#908EFE #FE8EC4 #FCFE8E #8EFEC8
split-complementary
#908EFE #FEC88E #C4FE8E
monochromatic
#1915FD #5451FD #908EFE #CCCBFF #E1E1FF

Accessibility & contrast

On white

2.81
#908EFE on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.49
#908EFE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #908EFE
7.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##908EFE#FFFFFF#000000##000000
##908EFE1.002.817.497.49
#FFFFFF2.811.0021.0021.00
#0000007.4921.001.001.00
##0000007.4921.001.001.00

Color blindness preview

Protanopia (red-blind)
#639EFF
Deuteranopia (green-blind)
#5D96FB
Tritanopia (blue-blind)
#6DA5BA
Achromatopsia (no color)
#9A9A9A

Design tokens & code

CSS
--color: #908efe;
/* rgb */ color: rgb(144, 142, 254);
/* oklch */ color: oklch(69.8% 0.161 282.2);
Tailwind
colors: {
  custom: {
    50: '#b5afff',
    500: '#908efe',
    950: '#000000',
  },
}
SCSS
$custom: #908efe;
$custom-light: #b5afff;
$custom-dark: #000000;
JSON
{
  "hex": "#908efe",
  "rgb": {
    "r": 144,
    "g": 142,
    "b": 254
  },
  "hsl": {
    "h": 241.071,
    "s": 98.246,
    "l": 77.647
  },
  "oklch": {
    "l": 0.69804,
    "c": 0.16116,
    "h": 282.2
  },
  "luminance": 0.32431
}

Semantic roles & 50–950 ramp

primary
#908EFE
secondary
#F6F7D4
accent
#E600E1
background
#FBFAFF
surface
#F6F4FF
border
#D0CED7
text
#121018
muted
#817F86

Preview Lab

Preview with #908EFE

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

Preview Lab → · Contrast checker → · Palette generator →

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