#948BF4#948BF4

#948BF4 is a light, vivid blue. Relative luminance 0.313; OKLCH L 69.0% C 0.151 H 285.6°. Best body text is #000000 at 7.26:1 contrast (WCAG AA passes).

Color values

HEX#948BF4
RGBrgb(148, 139, 244)
HSLhsl(245, 83%, 75%)
HSVhsv(245, 43%, 96%)
CMYKcmyk(39.3%, 43%, 0%, 4.3%)
CIE-LABlab(62.75, 28.15, -51.65)
CIE-LCHlch(62.75, 58.82, 298.59°)
OKLaboklab(69% 0.0407 -0.1457)
OKLCHoklch(69% 0.151 285.6)
XYZxyz(37.7699, 31.2915, 89.6202)
Luminance0.3129 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#948BF4 #EBF48B
analogous
#8BB6F4 #948BF4 #C98BF4
triadic
#948BF4 #F4948B #8BF494
tetradic
#948BF4 #F48BB6 #EBF48B #8BF4C9
square
#948BF4 #F48BB6 #EBF48B #8BF4C9
split-complementary
#948BF4 #F4C98B #B6F48B
monochromatic
#2D1BE9 #6053EF #948BF4 #C8C3F9 #E5E3FC

Accessibility & contrast

On white

2.89
#948BF4 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.26
#948BF4 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #948BF4
7.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##948BF4#FFFFFF#000000##000000
##948BF41.002.897.267.26
#FFFFFF2.891.0021.0021.00
#0000007.2621.001.001.00
##0000007.2621.001.001.00

Color blindness preview

Protanopia (red-blind)
#669BF8
Deuteranopia (green-blind)
#6395F2
Tritanopia (blue-blind)
#79A0B4
Achromatopsia (no color)
#989898

Design tokens & code

CSS
--color: #948bf4;
/* rgb */ color: rgb(148, 139, 244);
/* oklch */ color: oklch(69.0% 0.151 285.6);
Tailwind
colors: {
  custom: {
    50: '#b7adf8',
    500: '#948bf4',
    950: '#000000',
  },
}
SCSS
$custom: #948bf4;
$custom-light: #b7adf8;
$custom-dark: #000000;
JSON
{
  "hex": "#948bf4",
  "rgb": {
    "r": 148,
    "g": 139,
    "b": 244
  },
  "hsl": {
    "h": 245.143,
    "s": 82.677,
    "l": 75.098
  },
  "oklch": {
    "l": 0.68996,
    "c": 0.15131,
    "h": 285.6
  },
  "luminance": 0.31293
}

Semantic roles & 50–950 ramp

primary
#948BF4
secondary
#F2F4D7
accent
#DF06CD
background
#FBFAFF
surface
#F6F4FF
border
#D0CED7
text
#121017
muted
#817F85

Preview Lab

Preview with #948BF4

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

Preview Lab → · Contrast checker → · Palette generator →

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