#908AFA#908AFA

#908AFA is a light, vivid blue. Relative luminance 0.310; OKLCH L 68.8% C 0.161 H 283.7°. Best body text is #000000 at 7.20:1 contrast (WCAG AA passes).

Color values

HEX#908AFA
RGBrgb(144, 138, 250)
HSLhsl(243, 92%, 76%)
HSVhsv(243, 45%, 98%)
CMYKcmyk(42.4%, 44.8%, 0%, 2%)
CIE-LABlab(62.51, 29.41, -55.35)
CIE-LCHlch(62.51, 62.68, 297.98°)
OKLaboklab(68.84% 0.0383 -0.1566)
OKLCHoklch(68.84% 0.161 283.7)
XYZxyz(37.8404, 31.0068, 94.4150)
Luminance0.3101 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#908AFA #F4FA8A
analogous
#8ABCFA #908AFA #C88AFA
triadic
#908AFA #FA908A #8AFA90
tetradic
#908AFA #FA8ABC #F4FA8A #8AFAC8
square
#908AFA #FA8ABC #F4FA8A #8AFAC8
split-complementary
#908AFA #FAC88A #BCFA8A
monochromatic
#2115F5 #584FF7 #908AFA #C8C5FD #E3E2FE

Accessibility & contrast

On white

2.92
#908AFA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.20
#908AFA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #908AFA
7.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##908AFA#FFFFFF#000000##000000
##908AFA1.002.927.207.20
#FFFFFF2.921.0021.0021.00
#0000007.2021.001.001.00
##0000007.2021.001.001.00

Color blindness preview

Protanopia (red-blind)
#5F9BFE
Deuteranopia (green-blind)
#5A94F7
Tritanopia (blue-blind)
#6FA1B6
Achromatopsia (no color)
#979797

Design tokens & code

CSS
--color: #908afa;
/* rgb */ color: rgb(144, 138, 250);
/* oklch */ color: oklch(68.8% 0.161 283.7);
Tailwind
colors: {
  custom: {
    50: '#b5acfc',
    500: '#908afa',
    950: '#000000',
  },
}
SCSS
$custom: #908afa;
$custom-light: #b5acfc;
$custom-dark: #000000;
JSON
{
  "hex": "#908afa",
  "rgb": {
    "r": 144,
    "g": 138,
    "b": 250
  },
  "hsl": {
    "h": 243.214,
    "s": 91.803,
    "l": 76.078
  },
  "oklch": {
    "l": 0.6884,
    "c": 0.16124,
    "h": 283.7
  },
  "luminance": 0.31008
}

Semantic roles & 50–950 ramp

primary
#908AFA
secondary
#F4F6D5
accent
#E600D9
background
#FBFAFF
surface
#F6F4FF
border
#D0CED7
text
#121017
muted
#817F85

Preview Lab

Preview with #908AFA

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

Preview Lab → · Contrast checker → · Palette generator →

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