#908BFA#908BFA

#908BFA is a light, vivid blue. Relative luminance 0.313; OKLCH L 69.0% C 0.160 H 283.4°. Best body text is #000000 at 7.26:1 contrast (WCAG AA passes).

Color values

HEX#908BFA
RGBrgb(144, 139, 250)
HSLhsl(243, 92%, 76%)
HSVhsv(243, 44%, 98%)
CMYKcmyk(42.4%, 44.4%, 0%, 2%)
CIE-LABlab(62.76, 28.83, -54.96)
CIE-LCHlch(62.76, 62.06, 297.68°)
OKLaboklab(69.02% 0.0371 -0.1555)
OKLCHoklch(69.02% 0.16 283.4)
XYZxyz(37.9845, 31.2951, 94.4631)
Luminance0.3130 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#908BFA #F5FA8B
analogous
#8BBEFA #908BFA #C88BFA
triadic
#908BFA #FA908B #8BFA90
tetradic
#908BFA #FA8BBE #F5FA8B #8BFAC8
square
#908BFA #FA8BBE #F5FA8B #8BFAC8
split-complementary
#908BFA #FAC88B #BEFA8B
monochromatic
#2016F5 #5850F7 #908BFA #C8C6FD #E3E2FE

Accessibility & contrast

On white

2.89
#908BFA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.26
#908BFA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #908BFA
7.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##908BFA#FFFFFF#000000##000000
##908BFA1.002.897.267.26
#FFFFFF2.891.0021.0021.00
#0000007.2621.001.001.00
##0000007.2621.001.001.00

Color blindness preview

Protanopia (red-blind)
#619BFE
Deuteranopia (green-blind)
#5C94F7
Tritanopia (blue-blind)
#6FA2B6
Achromatopsia (no color)
#989898

Design tokens & code

CSS
--color: #908bfa;
/* rgb */ color: rgb(144, 139, 250);
/* oklch */ color: oklch(69.0% 0.160 283.4);
Tailwind
colors: {
  custom: {
    50: '#b5adfc',
    500: '#908bfa',
    950: '#000000',
  },
}
SCSS
$custom: #908bfa;
$custom-light: #b5adfc;
$custom-dark: #000000;
JSON
{
  "hex": "#908bfa",
  "rgb": {
    "r": 144,
    "g": 139,
    "b": 250
  },
  "hsl": {
    "h": 242.703,
    "s": 91.736,
    "l": 76.275
  },
  "oklch": {
    "l": 0.69023,
    "c": 0.15986,
    "h": 283.4
  },
  "luminance": 0.31297
}

Semantic roles & 50–950 ramp

primary
#908BFA
secondary
#F4F6D5
accent
#E600DB
background
#FBFAFF
surface
#F6F4FF
border
#D0CED7
text
#121017
muted
#817F85

Preview Lab

Preview with #908BFA

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

Preview Lab → · Contrast checker → · Palette generator →

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