#908EF8#908EF8

#908EF8 is a light, vivid blue. Relative luminance 0.321; OKLCH L 69.5% C 0.153 H 282.5°. Best body text is #000000 at 7.41:1 contrast (WCAG AA passes).

Color values

HEX#908EF8
RGBrgb(144, 142, 248)
HSLhsl(241, 88%, 76%)
HSVhsv(241, 43%, 97%)
CMYKcmyk(41.9%, 42.7%, 0%, 2.7%)
CIE-LABlab(63.38, 26.53, -52.87)
CIE-LCHlch(63.38, 59.15, 296.65°)
OKLaboklab(69.47% 0.0332 -0.1493)
OKLCHoklch(69.47% 0.153 282.5)
XYZxyz(38.1129, 32.0510, 92.9670)
Luminance0.3205 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#908EF8 #F6F88E
analogous
#8EC1F8 #908EF8 #C58EF8
triadic
#908EF8 #F8908E #8EF890
tetradic
#908EF8 #F88EC1 #F6F88E #8EF8C5
square
#908EF8 #F88EC1 #F6F88E #8EF8C5
split-complementary
#908EF8 #F8C58E #C1F88E
monochromatic
#1F1BF1 #5754F4 #908EF8 #C9C8FC #E3E2FD

Accessibility & contrast

On white

2.83
#908EF8 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.41
#908EF8 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #908EF8
7.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##908EF8#FFFFFF#000000##000000
##908EF81.002.837.417.41
#FFFFFF2.831.0021.0021.00
#0000007.4121.001.001.00
##0000007.4121.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #908ef8;
/* rgb */ color: rgb(144, 142, 248);
/* oklch */ color: oklch(69.5% 0.153 282.5);
Tailwind
colors: {
  custom: {
    50: '#b5affb',
    500: '#908ef8',
    950: '#000000',
  },
}
SCSS
$custom: #908ef8;
$custom-light: #b5affb;
$custom-dark: #000000;
JSON
{
  "hex": "#908ef8",
  "rgb": {
    "r": 144,
    "g": 142,
    "b": 248
  },
  "hsl": {
    "h": 241.132,
    "s": 88.333,
    "l": 76.471
  },
  "oklch": {
    "l": 0.69467,
    "c": 0.15298,
    "h": 282.5
  },
  "luminance": 0.32053
}

Semantic roles & 50–950 ramp

primary
#908EF8
secondary
#F5F5D6
accent
#E501E1
background
#FBFAFF
surface
#F6F4FF
border
#D0CED7
text
#111017
muted
#807F85

Preview Lab

Preview with #908EF8

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

Preview Lab → · Contrast checker → · Palette generator →

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