#948CF8#948CF8

#948CF8 is a light, vivid blue. Relative luminance 0.318; OKLCH L 69.4% C 0.155 H 285.0°. Best body text is #000000 at 7.37:1 contrast (WCAG AA passes).

Color values

HEX#948CF8
RGBrgb(148, 140, 248)
HSLhsl(244, 89%, 76%)
HSVhsv(244, 44%, 97%)
CMYKcmyk(40.3%, 43.5%, 0%, 2.7%)
CIE-LABlab(63.20, 28.66, -53.14)
CIE-LCHlch(63.20, 60.38, 298.34°)
OKLaboklab(69.4% 0.0401 -0.1501)
OKLCHoklch(69.4% 0.155 285)
XYZxyz(38.5293, 31.8279, 92.9021)
Luminance0.3183 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#948CF8 #F0F88C
analogous
#8CBAF8 #948CF8 #CA8CF8
triadic
#948CF8 #F8948C #8CF894
tetradic
#948CF8 #F88CBA #F0F88C #8CF8CA
square
#948CF8 #F88CBA #F0F88C #8CF8CA
split-complementary
#948CF8 #F8CA8C #BAF88C
monochromatic
#2919F1 #5E52F4 #948CF8 #CAC6FC #E4E2FD

Accessibility & contrast

On white

2.85
#948CF8 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.37
#948CF8 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #948CF8
7.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##948CF8#FFFFFF#000000##000000
##948CF81.002.857.377.37
#FFFFFF2.851.0021.0021.00
#0000007.3721.001.001.00
##0000007.3721.001.001.00

Color blindness preview

Protanopia (red-blind)
#659CFC
Deuteranopia (green-blind)
#6196F5
Tritanopia (blue-blind)
#77A2B6
Achromatopsia (no color)
#999999

Design tokens & code

CSS
--color: #948cf8;
/* rgb */ color: rgb(148, 140, 248);
/* oklch */ color: oklch(69.4% 0.155 285.0);
Tailwind
colors: {
  custom: {
    50: '#b7adfb',
    500: '#948cf8',
    950: '#000000',
  },
}
SCSS
$custom: #948cf8;
$custom-light: #b7adfb;
$custom-dark: #000000;
JSON
{
  "hex": "#948cf8",
  "rgb": {
    "r": 148,
    "g": 140,
    "b": 248
  },
  "hsl": {
    "h": 244.444,
    "s": 88.525,
    "l": 76.078
  },
  "oklch": {
    "l": 0.69402,
    "c": 0.15534,
    "h": 285
  },
  "luminance": 0.31829
}

Semantic roles & 50–950 ramp

primary
#948CF8
secondary
#F3F5D6
accent
#E500D4
background
#FBFAFF
surface
#F6F4FF
border
#D0CED7
text
#121017
muted
#817F85

Preview Lab

Preview with #948CF8

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

Preview Lab → · Contrast checker → · Palette generator →

#948CF8 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva