#908ED4#908ED4

#908ED4 is a light, moderate blue. Relative luminance 0.300; OKLCH L 67.6% C 0.103 H 284.6°. Best body text is #000000 at 7.01:1 contrast (WCAG AA passes).

Color values

HEX#908ED4
RGBrgb(144, 142, 212)
HSLhsl(242, 45%, 69%)
HSVhsv(242, 33%, 83%)
CMYKcmyk(32.1%, 33%, 0%, 16.9%)
CIE-LABlab(61.68, 16.80, -35.61)
CIE-LCHlch(61.68, 39.38, 295.25°)
OKLaboklab(67.6% 0.0259 -0.0992)
OKLCHoklch(67.6% 0.103 284.6)
XYZxyz(33.0551, 30.0279, 66.3290)
Luminance0.3003 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#908ED4 #D2D48E
analogous
#8EAFD4 #908ED4 #B38ED4
triadic
#908ED4 #D4908E #8ED490
tetradic
#908ED4 #D48EAF #D2D48E #8ED4B3
square
#908ED4 #D48EAF #D2D48E #8ED4B3
split-complementary
#908ED4 #D4B38E #AFD48E
monochromatic
#4340A8 #6462C3 #908ED4 #BCBAE5 #E7E7F6

Accessibility & contrast

On white

3.00
#908ED4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

7.01
#908ED4 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #908ED4
7.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##908ED4#FFFFFF#000000##000000
##908ED41.003.007.017.01
#FFFFFF3.001.0021.0021.00
#0000007.0121.001.001.00
##0000007.0121.001.001.00

Color blindness preview

Protanopia (red-blind)
#7997D7
Deuteranopia (green-blind)
#7793D2
Tritanopia (blue-blind)
#7F9BA7
Achromatopsia (no color)
#959595

Design tokens & code

CSS
--color: #908ed4;
/* rgb */ color: rgb(144, 142, 212);
/* oklch */ color: oklch(67.6% 0.103 284.6);
Tailwind
colors: {
  custom: {
    50: '#b2afe1',
    500: '#908ed4',
    950: '#000000',
  },
}
SCSS
$custom: #908ed4;
$custom-light: #b2afe1;
$custom-dark: #000000;
JSON
{
  "hex": "#908ed4",
  "rgb": {
    "r": 144,
    "g": 142,
    "b": 212
  },
  "hsl": {
    "h": 241.714,
    "s": 44.872,
    "l": 69.412
  },
  "oklch": {
    "l": 0.67604,
    "c": 0.10254,
    "h": 284.6
  },
  "luminance": 0.30029
}

Semantic roles & 50–950 ramp

primary
#908ED4
secondary
#E8E9D5
accent
#B82DB4
background
#FBFAFD
surface
#F6F4FB
border
#D0CED4
text
#111015
muted
#807F83

Preview Lab

Preview with #908ED4

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

Preview Lab → · Contrast checker → · Palette generator →

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