#908CED#908CED

#908CED is a light, vivid blue. Relative luminance 0.308; OKLCH L 68.5% C 0.141 H 283.9°. Best body text is #000000 at 7.16:1 contrast (WCAG AA passes).

Color values

HEX#908CED
RGBrgb(144, 140, 237)
HSLhsl(242, 73%, 74%)
HSVhsv(242, 41%, 93%)
CMYKcmyk(39.2%, 40.9%, 0%, 7.1%)
CIE-LABlab(62.34, 24.64, -48.47)
CIE-LCHlch(62.34, 54.38, 296.95°)
OKLaboklab(68.49% 0.0338 -0.1365)
OKLCHoklch(68.49% 0.141 283.9)
XYZxyz(36.1614, 30.7985, 84.1437)
Luminance0.3080 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#908CED #E9ED8C
analogous
#8CB9ED #908CED #C18CED
triadic
#908CED #ED908C #8CED90
tetradic
#908CED #ED8CB9 #E9ED8C #8CEDC1
square
#908CED #ED8CB9 #E9ED8C #8CEDC1
split-complementary
#908CED #EDC18C #B9ED8C
monochromatic
#2A22DC #5D57E5 #908CED #C3C1F5 #E5E5FB

Accessibility & contrast

On white

2.93
#908CED on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.16
#908CED on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #908CED
7.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##908CED#FFFFFF#000000##000000
##908CED1.002.937.167.16
#FFFFFF2.931.0021.0021.00
#0000007.1621.001.001.00
##0000007.1621.001.001.00

Color blindness preview

Protanopia (red-blind)
#6A9AF1
Deuteranopia (green-blind)
#6794EB
Tritanopia (blue-blind)
#759FB1
Achromatopsia (no color)
#979797

Design tokens & code

CSS
--color: #908ced;
/* rgb */ color: rgb(144, 140, 237);
/* oklch */ color: oklch(68.5% 0.141 283.9);
Tailwind
colors: {
  custom: {
    50: '#b4adf3',
    500: '#908ced',
    950: '#000000',
  },
}
SCSS
$custom: #908ced;
$custom-light: #b4adf3;
$custom-dark: #000000;
JSON
{
  "hex": "#908ced",
  "rgb": {
    "r": 144,
    "g": 140,
    "b": 237
  },
  "hsl": {
    "h": 242.474,
    "s": 72.932,
    "l": 73.922
  },
  "oklch": {
    "l": 0.68489,
    "c": 0.14064,
    "h": 283.9
  },
  "luminance": 0.308
}

Semantic roles & 50–950 ramp

primary
#908CED
secondary
#F1F3D8
accent
#D510CD
background
#FBFAFE
surface
#F6F4FD
border
#D0CED5
text
#111017
muted
#807F85

Preview Lab

Preview with #908CED

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

Preview Lab → · Contrast checker → · Palette generator →

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