#908EC6#908EC6

#908EC6 is a light, moderate blue. Relative luminance 0.294; OKLCH L 67.0% C 0.082 H 285.6°. Best body text is #000000 at 6.87:1 contrast (WCAG AA passes).

Color values

HEX#908EC6
RGBrgb(144, 142, 198)
HSLhsl(242, 33%, 67%)
HSVhsv(242, 28%, 78%)
CMYKcmyk(27.3%, 28.3%, 0%, 22.4%)
CIE-LABlab(61.09, 13.23, -28.68)
CIE-LCHlch(61.09, 31.58, 294.77°)
OKLaboklab(66.96% 0.0221 -0.0793)
OKLCHoklch(66.96% 0.082 285.6)
XYZxyz(31.3650, 29.3518, 57.4281)
Luminance0.2935 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#908EC6 #C4C68E
analogous
#8EA8C6 #908EC6 #AC8EC6
triadic
#908EC6 #C6908E #8EC690
tetradic
#908EC6 #C68EA8 #C4C68E #8EC6AC
square
#908EC6 #C68EA8 #C4C68E #8EC6AC
split-complementary
#908EC6 #C6AC8E #A8C68E
monochromatic
#4C4991 #6865B1 #908EC6 #B8B7DB #E0DFEF

Accessibility & contrast

On white

3.06
#908EC6 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.87
#908EC6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #908EC6
6.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##908EC6#FFFFFF#000000##000000
##908EC61.003.066.876.87
#FFFFFF3.061.0021.0021.00
#0000006.8721.001.001.00
##0000006.8721.001.001.00

Color blindness preview

Protanopia (red-blind)
#7F95C8
Deuteranopia (green-blind)
#7D92C5
Tritanopia (blue-blind)
#8398A2
Achromatopsia (no color)
#939393

Design tokens & code

CSS
--color: #908ec6;
/* rgb */ color: rgb(144, 142, 198);
/* oklch */ color: oklch(67.0% 0.082 285.6);
Tailwind
colors: {
  custom: {
    50: '#b1afd7',
    500: '#908ec6',
    950: '#000000',
  },
}
SCSS
$custom: #908ec6;
$custom-light: #b1afd7;
$custom-dark: #000000;
JSON
{
  "hex": "#908ec6",
  "rgb": {
    "r": 144,
    "g": 142,
    "b": 198
  },
  "hsl": {
    "h": 242.143,
    "s": 32.941,
    "l": 66.667
  },
  "oklch": {
    "l": 0.66957,
    "c": 0.08235,
    "h": 285.6
  },
  "luminance": 0.29353
}

Semantic roles & 50–950 ramp

primary
#908EC6
secondary
#E0E1CF
accent
#AC3AA8
background
#FBFAFD
surface
#F6F4FA
border
#D0CED3
text
#111014
muted
#807F83

Preview Lab

Preview with #908EC6

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

Preview Lab → · Contrast checker → · Palette generator →

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