#948DF4#948DF4

#948DF4 is a light, vivid blue. Relative luminance 0.319; OKLCH L 69.4% C 0.148 H 284.9°. Best body text is #000000 at 7.38:1 contrast (WCAG AA passes).

Color values

HEX#948DF4
RGBrgb(148, 141, 244)
HSLhsl(244, 82%, 75%)
HSVhsv(244, 42%, 96%)
CMYKcmyk(39.3%, 42.2%, 0%, 4.3%)
CIE-LABlab(63.24, 26.99, -50.88)
CIE-LCHlch(63.24, 57.60, 297.94°)
OKLaboklab(69.37% 0.0382 -0.1435)
OKLCHoklch(69.37% 0.148 284.9)
XYZxyz(38.0621, 31.8759, 89.7176)
Luminance0.3188 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#948DF4 #EDF48D
analogous
#8DB9F4 #948DF4 #C88DF4
triadic
#948DF4 #F4948D #8DF494
tetradic
#948DF4 #F48DB9 #EDF48D #8DF4C8
square
#948DF4 #F48DB9 #EDF48D #8DF4C8
split-complementary
#948DF4 #F4C88D #B9F48D
monochromatic
#2B1DE9 #6055EF #948DF4 #C8C5F9 #E5E3FC

Accessibility & contrast

On white

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

On black

7.38
#948DF4 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #948DF4
7.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##948DF4#FFFFFF#000000##000000
##948DF41.002.857.387.38
#FFFFFF2.851.0021.0021.00
#0000007.3821.001.001.00
##0000007.3821.001.001.00

Color blindness preview

Protanopia (red-blind)
#699CF8
Deuteranopia (green-blind)
#6696F2
Tritanopia (blue-blind)
#79A1B5
Achromatopsia (no color)
#999999

Design tokens & code

CSS
--color: #948df4;
/* rgb */ color: rgb(148, 141, 244);
/* oklch */ color: oklch(69.4% 0.148 284.9);
Tailwind
colors: {
  custom: {
    50: '#b7aef8',
    500: '#948df4',
    950: '#000000',
  },
}
SCSS
$custom: #948df4;
$custom-light: #b7aef8;
$custom-dark: #000000;
JSON
{
  "hex": "#948df4",
  "rgb": {
    "r": 148,
    "g": 141,
    "b": 244
  },
  "hsl": {
    "h": 244.078,
    "s": 82.4,
    "l": 75.49
  },
  "oklch": {
    "l": 0.69366,
    "c": 0.14847,
    "h": 284.9
  },
  "luminance": 0.31877
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #948DF4

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

Preview Lab → · Contrast checker → · Palette generator →

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