#908CF6#908CF6

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

Color values

HEX#908CF6
RGBrgb(144, 140, 246)
HSLhsl(242, 85%, 76%)
HSVhsv(242, 43%, 96%)
CMYKcmyk(41.5%, 43.1%, 0%, 3.5%)
CIE-LABlab(62.79, 27.13, -52.71)
CIE-LCHlch(62.79, 59.28, 297.24°)
OKLaboklab(68.98% 0.0353 -0.1489)
OKLCHoklch(68.98% 0.153 283.3)
XYZxyz(37.5094, 31.3378, 91.2433)
Luminance0.3134 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#908CF6 #F2F68C
analogous
#8CBDF6 #908CF6 #C58CF6
triadic
#908CF6 #F6908C #8CF690
tetradic
#908CF6 #F68CBD #F2F68C #8CF6C5
square
#908CF6 #F68CBD #F2F68C #8CF6C5
split-complementary
#908CF6 #F6C58C #BDF68C
monochromatic
#221AED #5953F2 #908CF6 #C7C5FA #E4E3FD

Accessibility & contrast

On white

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

On black

7.27
#908CF6 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #908CF6
7.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##908CF6#FFFFFF#000000##000000
##908CF61.002.897.277.27
#FFFFFF2.891.0021.0021.00
#0000007.2721.001.001.00
##0000007.2721.001.001.00

Color blindness preview

Protanopia (red-blind)
#659BFA
Deuteranopia (green-blind)
#6094F4
Tritanopia (blue-blind)
#71A1B5
Achromatopsia (no color)
#989898

Design tokens & code

CSS
--color: #908cf6;
/* rgb */ color: rgb(144, 140, 246);
/* oklch */ color: oklch(69.0% 0.153 283.3);
Tailwind
colors: {
  custom: {
    50: '#b5adf9',
    500: '#908cf6',
    950: '#000000',
  },
}
SCSS
$custom: #908cf6;
$custom-light: #b5adf9;
$custom-dark: #000000;
JSON
{
  "hex": "#908cf6",
  "rgb": {
    "r": 144,
    "g": 140,
    "b": 246
  },
  "hsl": {
    "h": 242.264,
    "s": 85.484,
    "l": 75.686
  },
  "oklch": {
    "l": 0.68983,
    "c": 0.15302,
    "h": 283.3
  },
  "luminance": 0.31339
}

Semantic roles & 50–950 ramp

primary
#908CF6
secondary
#F4F5D6
accent
#E204DA
background
#FBFAFF
surface
#F6F4FF
border
#D0CED7
text
#111017
muted
#807F85

Preview Lab

Preview with #908CF6

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

Preview Lab → · Contrast checker → · Palette generator →

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