#948CFE#948CFE

#948CFE is a light, vivid blue. Relative luminance 0.322; OKLCH L 69.7% C 0.163 H 284.5°. Best body text is #000000 at 7.44:1 contrast (WCAG AA passes).

Color values

HEX#948CFE
RGBrgb(148, 140, 254)
HSLhsl(244, 98%, 77%)
HSVhsv(244, 45%, 100%)
CMYKcmyk(41.7%, 44.9%, 0%, 0.4%)
CIE-LABlab(63.51, 30.32, -55.93)
CIE-LCHlch(63.51, 63.62, 298.46°)
OKLaboklab(69.74% 0.0409 -0.1582)
OKLCHoklch(69.74% 0.163 284.5)
XYZxyz(39.4751, 32.2063, 97.8832)
Luminance0.3221 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#948CFE #F6FE8C
analogous
#8CBDFE #948CFE #CD8CFE
triadic
#948CFE #FE948C #8CFE94
tetradic
#948CFE #FE8CBD #F6FE8C #8CFECD
square
#948CFE #FE8CBD #F6FE8C #8CFECD
split-complementary
#948CFE #FECD8C #BDFE8C
monochromatic
#2313FD #5C4FFD #948CFE #CCC9FF #E3E1FF

Accessibility & contrast

On white

2.82
#948CFE on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.44
#948CFE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #948CFE
7.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##948CFE#FFFFFF#000000##000000
##948CFE1.002.827.447.44
#FFFFFF2.821.0021.0021.00
#0000007.4421.001.001.00
##0000007.4421.001.001.00

Color blindness preview

Protanopia (red-blind)
#609DFF
Deuteranopia (green-blind)
#5D96FB
Tritanopia (blue-blind)
#74A3B9
Achromatopsia (no color)
#9A9A9A

Design tokens & code

CSS
--color: #948cfe;
/* rgb */ color: rgb(148, 140, 254);
/* oklch */ color: oklch(69.7% 0.163 284.5);
Tailwind
colors: {
  custom: {
    50: '#b8adff',
    500: '#948cfe',
    950: '#000000',
  },
}
SCSS
$custom: #948cfe;
$custom-light: #b8adff;
$custom-dark: #000000;
JSON
{
  "hex": "#948cfe",
  "rgb": {
    "r": 148,
    "g": 140,
    "b": 254
  },
  "hsl": {
    "h": 244.211,
    "s": 98.276,
    "l": 77.255
  },
  "oklch": {
    "l": 0.69741,
    "c": 0.16345,
    "h": 284.5
  },
  "luminance": 0.32208
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #948CFE

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

Preview Lab → · Contrast checker → · Palette generator →

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