#908EFD#908EFD

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

Color values

HEX#908EFD
RGBrgb(144, 142, 253)
HSLhsl(241, 97%, 77%)
HSVhsv(241, 44%, 99%)
CMYKcmyk(43.1%, 43.9%, 0%, 0.8%)
CIE-LABlab(63.64, 27.93, -55.20)
CIE-LCHlch(63.64, 61.86, 296.84°)
OKLaboklab(69.75% 0.0339 -0.1562)
OKLCHoklch(69.75% 0.16 282.2)
XYZxyz(38.8990, 32.3654, 97.1070)
Luminance0.3237 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#908EFD #FBFD8E
analogous
#8EC4FD #908EFD #C78EFD
triadic
#908EFD #FD908E #8EFD90
tetradic
#908EFD #FD8EC4 #FBFD8E #8EFDC7
square
#908EFD #FD8EC4 #FBFD8E #8EFDC7
split-complementary
#908EFD #FDC78E #C4FD8E
monochromatic
#1A16FB #5552FC #908EFD #CBCAFE #E1E1FE

Accessibility & contrast

On white

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

On black

7.47
#908EFD on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #908EFD
7.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##908EFD#FFFFFF#000000##000000
##908EFD1.002.817.477.47
#FFFFFF2.811.0021.0021.00
#0000007.4721.001.001.00
##0000007.4721.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #908efd;
/* rgb */ color: rgb(144, 142, 253);
/* oklch */ color: oklch(69.7% 0.160 282.2);
Tailwind
colors: {
  custom: {
    50: '#b5affe',
    500: '#908efd',
    950: '#000000',
  },
}
SCSS
$custom: #908efd;
$custom-light: #b5affe;
$custom-dark: #000000;
JSON
{
  "hex": "#908efd",
  "rgb": {
    "r": 144,
    "g": 142,
    "b": 253
  },
  "hsl": {
    "h": 241.081,
    "s": 96.522,
    "l": 77.451
  },
  "oklch": {
    "l": 0.69747,
    "c": 0.15981,
    "h": 282.2
  },
  "luminance": 0.32367
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #908EFD

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

Preview Lab → · Contrast checker → · Palette generator →

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