#908BF1#908BF1

#908BF1 is a light, vivid blue. Relative luminance 0.307; OKLCH L 68.5% C 0.148 H 284.0°. Best body text is #000000 at 7.15:1 contrast (WCAG AA passes).

Color values

HEX#908BF1
RGBrgb(144, 139, 241)
HSLhsl(243, 78%, 75%)
HSVhsv(243, 42%, 95%)
CMYKcmyk(40.2%, 42.3%, 0%, 5.5%)
CIE-LABlab(62.29, 26.32, -50.75)
CIE-LCHlch(62.29, 57.17, 297.42°)
OKLaboklab(68.52% 0.0357 -0.1432)
OKLCHoklch(68.52% 0.148 284)
XYZxyz(36.6069, 30.7440, 87.2074)
Luminance0.3075 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#908BF1 #ECF18B
analogous
#8BB9F1 #908BF1 #C38BF1
triadic
#908BF1 #F1908B #8BF190
tetradic
#908BF1 #F18BB9 #ECF18B #8BF1C3
square
#908BF1 #F18BB9 #ECF18B #8BF1C3
split-complementary
#908BF1 #F1C38B #B9F18B
monochromatic
#271EE4 #5C54EA #908BF1 #C4C2F8 #E5E4FC

Accessibility & contrast

On white

2.94
#908BF1 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.15
#908BF1 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #908BF1
7.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##908BF1#FFFFFF#000000##000000
##908BF11.002.947.157.15
#FFFFFF2.941.0021.0021.00
#0000007.1521.001.001.00
##0000007.1521.001.001.00

Color blindness preview

Protanopia (red-blind)
#669AF5
Deuteranopia (green-blind)
#6393EF
Tritanopia (blue-blind)
#749FB2
Achromatopsia (no color)
#979797

Design tokens & code

CSS
--color: #908bf1;
/* rgb */ color: rgb(144, 139, 241);
/* oklch */ color: oklch(68.5% 0.148 284.0);
Tailwind
colors: {
  custom: {
    50: '#b4acf6',
    500: '#908bf1',
    950: '#000000',
  },
}
SCSS
$custom: #908bf1;
$custom-light: #b4acf6;
$custom-dark: #000000;
JSON
{
  "hex": "#908bf1",
  "rgb": {
    "r": 144,
    "g": 139,
    "b": 241
  },
  "hsl": {
    "h": 242.941,
    "s": 78.462,
    "l": 74.51
  },
  "oklch": {
    "l": 0.68519,
    "c": 0.14757,
    "h": 284
  },
  "luminance": 0.30745
}

Semantic roles & 50–950 ramp

primary
#908BF1
secondary
#F2F4D7
accent
#DB0BD1
background
#FBFAFF
surface
#F6F4FE
border
#D0CED6
text
#111017
muted
#807F85

Preview Lab

Preview with #908BF1

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

Preview Lab → · Contrast checker → · Palette generator →

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