#918AFA#918AFA

#918AFA is a light, vivid blue. Relative luminance 0.311; OKLCH L 68.9% C 0.161 H 284.2°. Best body text is #000000 at 7.22:1 contrast (WCAG AA passes).

Color values

HEX#918AFA
RGBrgb(145, 138, 250)
HSLhsl(244, 92%, 76%)
HSVhsv(244, 45%, 98%)
CMYKcmyk(42%, 44.8%, 0%, 2%)
CIE-LABlab(62.59, 29.65, -55.22)
CIE-LCHlch(62.59, 62.68, 298.23°)
OKLaboklab(68.92% 0.0394 -0.1562)
OKLCHoklch(68.92% 0.161 284.2)
XYZxyz(38.0159, 31.0973, 94.4233)
Luminance0.3110 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#918AFA #F3FA8A
analogous
#8ABBFA #918AFA #C98AFA
triadic
#918AFA #FA918A #8AFA91
tetradic
#918AFA #FA8ABB #F3FA8A #8AFAC9
square
#918AFA #FA8ABB #F3FA8A #8AFAC9
split-complementary
#918AFA #FAC98A #BBFA8A
monochromatic
#2315F5 #5A4FF7 #918AFA #C8C5FD #E3E2FE

Accessibility & contrast

On white

2.91
#918AFA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.22
#918AFA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #918AFA
7.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##918AFA#FFFFFF#000000##000000
##918AFA1.002.917.227.22
#FFFFFF2.911.0021.0021.00
#0000007.2221.001.001.00
##0000007.2221.001.001.00

Color blindness preview

Protanopia (red-blind)
#5F9BFE
Deuteranopia (green-blind)
#5B94F7
Tritanopia (blue-blind)
#71A1B6
Achromatopsia (no color)
#979797

Design tokens & code

CSS
--color: #918afa;
/* rgb */ color: rgb(145, 138, 250);
/* oklch */ color: oklch(68.9% 0.161 284.2);
Tailwind
colors: {
  custom: {
    50: '#b6acfc',
    500: '#918afa',
    950: '#000000',
  },
}
SCSS
$custom: #918afa;
$custom-light: #b6acfc;
$custom-dark: #000000;
JSON
{
  "hex": "#918afa",
  "rgb": {
    "r": 145,
    "g": 138,
    "b": 250
  },
  "hsl": {
    "h": 243.75,
    "s": 91.803,
    "l": 76.078
  },
  "oklch": {
    "l": 0.68916,
    "c": 0.16114,
    "h": 284.2
  },
  "luminance": 0.31099
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #918AFA

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

Preview Lab → · Contrast checker → · Palette generator →

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