#948DEB#948DEB

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

Color values

HEX#948DEB
RGBrgb(148, 141, 235)
HSLhsl(244, 70%, 74%)
HSVhsv(244, 40%, 92%)
CMYKcmyk(37%, 40%, 0%, 7.8%)
CIE-LABlab(62.80, 24.55, -46.62)
CIE-LCHlch(62.80, 52.69, 297.77°)
OKLaboklab(68.88% 0.0367 -0.131)
OKLCHoklch(68.88% 0.136 285.6)
XYZxyz(36.7289, 31.3426, 82.6957)
Luminance0.3134 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#948DEB #E4EB8D
analogous
#8DB5EB #948DEB #C38DEB
triadic
#948DEB #EB948D #8DEB94
tetradic
#948DEB #EB8DB5 #E4EB8D #8DEBC3
square
#948DEB #EB8DB5 #E4EB8D #8DEBC3
split-complementary
#948DEB #EBC38D #B5EB8D
monochromatic
#3326D8 #6359E2 #948DEB #C5C1F4 #E7E5FA

Accessibility & contrast

On white

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

On black

7.27
#948DEB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #948DEB
7.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##948DEB#FFFFFF#000000##000000
##948DEB1.002.897.277.27
#FFFFFF2.891.0021.0021.00
#0000007.2721.001.001.00
##0000007.2721.001.001.00

Color blindness preview

Protanopia (red-blind)
#6E9BEF
Deuteranopia (green-blind)
#6C95E9
Tritanopia (blue-blind)
#7C9FB1
Achromatopsia (no color)
#989898

Design tokens & code

CSS
--color: #948deb;
/* rgb */ color: rgb(148, 141, 235);
/* oklch */ color: oklch(68.9% 0.136 285.6);
Tailwind
colors: {
  custom: {
    50: '#b6aef2',
    500: '#948deb',
    950: '#000000',
  },
}
SCSS
$custom: #948deb;
$custom-light: #b6aef2;
$custom-dark: #000000;
JSON
{
  "hex": "#948deb",
  "rgb": {
    "r": 148,
    "g": 141,
    "b": 235
  },
  "hsl": {
    "h": 244.468,
    "s": 70.149,
    "l": 73.725
  },
  "oklch": {
    "l": 0.68883,
    "c": 0.13608,
    "h": 285.6
  },
  "luminance": 0.31344
}

Semantic roles & 50–950 ramp

primary
#948DEB
secondary
#F0F2D9
accent
#D213C4
background
#FBFAFE
surface
#F6F4FD
border
#D0CED5
text
#111017
muted
#807F85

Preview Lab

Preview with #948DEB

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

Preview Lab → · Contrast checker → · Palette generator →

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