#948DEC#948DEC

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

Color values

HEX#948DEC
RGBrgb(148, 141, 236)
HSLhsl(244, 71%, 74%)
HSVhsv(244, 40%, 93%)
CMYKcmyk(37.3%, 40.3%, 0%, 7.5%)
CIE-LABlab(62.84, 24.82, -47.10)
CIE-LCHlch(62.84, 53.24, 297.79°)
OKLaboklab(68.94% 0.0369 -0.1324)
OKLCHoklch(68.94% 0.137 285.6)
XYZxyz(36.8737, 31.4006, 83.4587)
Luminance0.3140 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#948DEC #E5EC8D
analogous
#8DB6EC #948DEC #C48DEC
triadic
#948DEC #EC948D #8DEC94
tetradic
#948DEC #EC8DB6 #E5EC8D #8DECC4
square
#948DEC #EC8DB6 #E5EC8D #8DECC4
split-complementary
#948DEC #ECC48D #B6EC8D
monochromatic
#3224DA #6359E3 #948DEC #C5C1F5 #E6E5FB

Accessibility & contrast

On white

2.88
#948DEC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.28
#948DEC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #948DEC
7.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##948DEC#FFFFFF#000000##000000
##948DEC1.002.887.287.28
#FFFFFF2.881.0021.0021.00
#0000007.2821.001.001.00
##0000007.2821.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #948dec;
/* rgb */ color: rgb(148, 141, 236);
/* oklch */ color: oklch(68.9% 0.137 285.6);
Tailwind
colors: {
  custom: {
    50: '#b6aef2',
    500: '#948dec',
    950: '#000000',
  },
}
SCSS
$custom: #948dec;
$custom-light: #b6aef2;
$custom-dark: #000000;
JSON
{
  "hex": "#948dec",
  "rgb": {
    "r": 148,
    "g": 141,
    "b": 236
  },
  "hsl": {
    "h": 244.421,
    "s": 71.429,
    "l": 73.922
  },
  "oklch": {
    "l": 0.68936,
    "c": 0.13746,
    "h": 285.6
  },
  "luminance": 0.31402
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #948DEC

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

Preview Lab → · Contrast checker → · Palette generator →

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