#908CFA#908CFA

#908CFA is a light, vivid blue. Relative luminance 0.316; OKLCH L 69.2% C 0.158 H 283.1°. Best body text is #000000 at 7.32:1 contrast (WCAG AA passes).

Color values

HEX#908CFA
RGBrgb(144, 140, 250)
HSLhsl(242, 92%, 76%)
HSVhsv(242, 44%, 98%)
CMYKcmyk(42.4%, 44%, 0%, 2%)
CIE-LABlab(63.00, 28.25, -54.58)
CIE-LCHlch(63.00, 61.45, 297.37°)
OKLaboklab(69.21% 0.0359 -0.1544)
OKLCHoklch(69.21% 0.158 283.1)
XYZxyz(38.1300, 31.5860, 94.5116)
Luminance0.3159 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#908CFA #F6FA8C
analogous
#8CBFFA #908CFA #C78CFA
triadic
#908CFA #FA908C #8CFA90
tetradic
#908CFA #FA8CBF #F6FA8C #8CFAC7
square
#908CFA #FA8CBF #F6FA8C #8CFAC7
split-complementary
#908CFA #FAC78C #BFFA8C
monochromatic
#1F17F5 #5751F7 #908CFA #C9C7FD #E3E2FE

Accessibility & contrast

On white

2.87
#908CFA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.32
#908CFA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #908CFA
7.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##908CFA#FFFFFF#000000##000000
##908CFA1.002.877.327.32
#FFFFFF2.871.0021.0021.00
#0000007.3221.001.001.00
##0000007.3221.001.001.00

Color blindness preview

Protanopia (red-blind)
#629CFE
Deuteranopia (green-blind)
#5D95F7
Tritanopia (blue-blind)
#6FA2B7
Achromatopsia (no color)
#989898

Design tokens & code

CSS
--color: #908cfa;
/* rgb */ color: rgb(144, 140, 250);
/* oklch */ color: oklch(69.2% 0.158 283.1);
Tailwind
colors: {
  custom: {
    50: '#b5adfc',
    500: '#908cfa',
    950: '#000000',
  },
}
SCSS
$custom: #908cfa;
$custom-light: #b5adfc;
$custom-dark: #000000;
JSON
{
  "hex": "#908cfa",
  "rgb": {
    "r": 144,
    "g": 140,
    "b": 250
  },
  "hsl": {
    "h": 242.182,
    "s": 91.667,
    "l": 76.471
  },
  "oklch": {
    "l": 0.69208,
    "c": 0.15848,
    "h": 283.1
  },
  "luminance": 0.31588
}

Semantic roles & 50–950 ramp

primary
#908CFA
secondary
#F5F6D5
accent
#E600DD
background
#FBFAFF
surface
#F6F4FF
border
#D0CED7
text
#121017
muted
#817F85

Preview Lab

Preview with #908CFA

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

Preview Lab → · Contrast checker → · Palette generator →

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