#908EDD#908EDD

#908EDD is a light, moderate blue. Relative luminance 0.305; OKLCH L 68.0% C 0.115 H 284.0°. Best body text is #000000 at 7.10:1 contrast (WCAG AA passes).

Color values

HEX#908EDD
RGBrgb(144, 142, 221)
HSLhsl(242, 54%, 71%)
HSVhsv(242, 36%, 87%)
CMYKcmyk(34.8%, 35.7%, 0%, 13.3%)
CIE-LABlab(62.08, 19.16, -40.01)
CIE-LCHlch(62.08, 44.36, 295.59°)
OKLaboklab(68.04% 0.028 -0.1119)
OKLCHoklch(68.04% 0.115 284)
XYZxyz(34.2222, 30.4947, 72.4756)
Luminance0.3050 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#908EDD #DBDD8E
analogous
#8EB3DD #908EDD #B78EDD
triadic
#908EDD #DD908E #8EDD90
tetradic
#908EDD #DD8EB3 #DBDD8E #8EDDB7
square
#908EDD #DD8EB3 #DBDD8E #8EDDB7
split-complementary
#908EDD #DDB78E #B3DD8E
monochromatic
#3B38B9 #625FCF #908EDD #BEBDEB #E8E7F8

Accessibility & contrast

On white

2.96
#908EDD on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.10
#908EDD on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #908EDD
7.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##908EDD#FFFFFF#000000##000000
##908EDD1.002.967.107.10
#FFFFFF2.961.0021.0021.00
#0000007.1021.001.001.00
##0000007.1021.001.001.00

Color blindness preview

Protanopia (red-blind)
#7599E0
Deuteranopia (green-blind)
#7394DB
Tritanopia (blue-blind)
#7C9DAB
Achromatopsia (no color)
#969696

Design tokens & code

CSS
--color: #908edd;
/* rgb */ color: rgb(144, 142, 221);
/* oklch */ color: oklch(68.0% 0.115 284.0);
Tailwind
colors: {
  custom: {
    50: '#b3afe8',
    500: '#908edd',
    950: '#000000',
  },
}
SCSS
$custom: #908edd;
$custom-light: #b3afe8;
$custom-dark: #000000;
JSON
{
  "hex": "#908edd",
  "rgb": {
    "r": 144,
    "g": 142,
    "b": 221
  },
  "hsl": {
    "h": 241.519,
    "s": 53.741,
    "l": 71.176
  },
  "oklch": {
    "l": 0.68043,
    "c": 0.11537,
    "h": 284
  },
  "luminance": 0.30496
}

Semantic roles & 50–950 ramp

primary
#908EDD
secondary
#EDEED9
accent
#C124BD
background
#FBFAFE
surface
#F6F4FC
border
#D0CED5
text
#111016
muted
#807F84

Preview Lab

Preview with #908EDD

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

Preview Lab → · Contrast checker → · Palette generator →

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