#948DFD#948DFD

#948DFD is a light, vivid blue. Relative luminance 0.324; OKLCH L 69.9% C 0.161 H 284.3°. Best body text is #000000 at 7.49:1 contrast (WCAG AA passes).

Color values

HEX#948DFD
RGBrgb(148, 141, 253)
HSLhsl(244, 97%, 77%)
HSVhsv(244, 44%, 99%)
CMYKcmyk(41.5%, 44.3%, 0%, 0.8%)
CIE-LABlab(63.70, 29.47, -55.09)
CIE-LCHlch(63.70, 62.47, 298.14°)
OKLaboklab(69.87% 0.0396 -0.1557)
OKLCHoklch(69.87% 0.161 284.3)
XYZxyz(39.4621, 32.4359, 97.0910)
Luminance0.3244 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#948DFD #F6FD8D
analogous
#8DBEFD #948DFD #CC8DFD
triadic
#948DFD #FD948D #8DFD94
tetradic
#948DFD #FD8DBE #F6FD8D #8DFDCC
square
#948DFD #FD8DBE #F6FD8D #8DFDCC
split-complementary
#948DFD #FDCC8D #BEFD8D
monochromatic
#2315FB #5C51FC #948DFD #CCC9FE #E3E1FE

Accessibility & contrast

On white

2.80
#948DFD on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.49
#948DFD on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #948DFD
7.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##948DFD#FFFFFF#000000##000000
##948DFD1.002.807.497.49
#FFFFFF2.801.0021.0021.00
#0000007.4921.001.001.00
##0000007.4921.001.001.00

Color blindness preview

Protanopia (red-blind)
#639EFF
Deuteranopia (green-blind)
#5F97FA
Tritanopia (blue-blind)
#74A4B9
Achromatopsia (no color)
#9A9A9A

Design tokens & code

CSS
--color: #948dfd;
/* rgb */ color: rgb(148, 141, 253);
/* oklch */ color: oklch(69.9% 0.161 284.3);
Tailwind
colors: {
  custom: {
    50: '#b8aefe',
    500: '#948dfd',
    950: '#000000',
  },
}
SCSS
$custom: #948dfd;
$custom-light: #b8aefe;
$custom-dark: #000000;
JSON
{
  "hex": "#948dfd",
  "rgb": {
    "r": 148,
    "g": 141,
    "b": 253
  },
  "hsl": {
    "h": 243.75,
    "s": 96.552,
    "l": 77.255
  },
  "oklch": {
    "l": 0.69866,
    "c": 0.1607,
    "h": 284.3
  },
  "luminance": 0.32438
}

Semantic roles & 50–950 ramp

primary
#948DFD
secondary
#F5F7D4
accent
#E600D7
background
#FBFAFF
surface
#F6F4FF
border
#D0CED7
text
#121018
muted
#817F86

Preview Lab

Preview with #948DFD

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

Preview Lab → · Contrast checker → · Palette generator →

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