#908FD4#908FD4

#908FD4 is a light, moderate blue. Relative luminance 0.303; OKLCH L 67.8% C 0.101 H 284.0°. Best body text is #000000 at 7.07:1 contrast (WCAG AA passes).

Color values

HEX#908FD4
RGBrgb(144, 143, 212)
HSLhsl(241, 45%, 70%)
HSVhsv(241, 33%, 83%)
CMYKcmyk(32.1%, 32.5%, 0%, 16.9%)
CIE-LABlab(61.94, 16.22, -35.21)
CIE-LCHlch(61.94, 38.77, 294.73°)
OKLaboklab(67.8% 0.0245 -0.0981)
OKLCHoklch(67.8% 0.101 284)
XYZxyz(33.2045, 30.3268, 66.3788)
Luminance0.3033 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#908FD4 #D3D48F
analogous
#8FB0D4 #908FD4 #B38FD4
triadic
#908FD4 #D4908F #8FD490
tetradic
#908FD4 #D48FB0 #D3D48F #8FD4B3
square
#908FD4 #D48FB0 #D3D48F #8FD4B3
split-complementary
#908FD4 #D4B38F #B0D48F
monochromatic
#4241A8 #6463C3 #908FD4 #BCBBE5 #E8E7F6

Accessibility & contrast

On white

2.97
#908FD4 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.07
#908FD4 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #908FD4
7.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##908FD4#FFFFFF#000000##000000
##908FD41.002.977.077.07
#FFFFFF2.971.0021.0021.00
#0000007.0721.001.001.00
##0000007.0721.001.001.00

Color blindness preview

Protanopia (red-blind)
#7B98D7
Deuteranopia (green-blind)
#7894D2
Tritanopia (blue-blind)
#7F9CA8
Achromatopsia (no color)
#969696

Design tokens & code

CSS
--color: #908fd4;
/* rgb */ color: rgb(144, 143, 212);
/* oklch */ color: oklch(67.8% 0.101 284.0);
Tailwind
colors: {
  custom: {
    50: '#b2afe1',
    500: '#908fd4',
    950: '#000000',
  },
}
SCSS
$custom: #908fd4;
$custom-light: #b2afe1;
$custom-dark: #000000;
JSON
{
  "hex": "#908fd4",
  "rgb": {
    "r": 144,
    "g": 143,
    "b": 212
  },
  "hsl": {
    "h": 240.87,
    "s": 44.516,
    "l": 69.608
  },
  "oklch": {
    "l": 0.67801,
    "c": 0.10109,
    "h": 284
  },
  "luminance": 0.30328
}

Semantic roles & 50–950 ramp

primary
#908FD4
secondary
#E9E9D6
accent
#B82EB6
background
#FBFAFD
surface
#F6F4FB
border
#D0CED4
text
#111015
muted
#807F83

Preview Lab

Preview with #908FD4

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

Preview Lab → · Contrast checker → · Palette generator →

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