#948DED#948DED

#948DED is a light, vivid blue. Relative luminance 0.315; OKLCH L 69.0% C 0.139 H 285.5°. Best body text is #000000 at 7.29:1 contrast (WCAG AA passes).

Color values

HEX#948DED
RGBrgb(148, 141, 237)
HSLhsl(244, 73%, 74%)
HSVhsv(244, 41%, 93%)
CMYKcmyk(37.6%, 40.5%, 0%, 7.1%)
CIE-LABlab(62.89, 25.09, -47.57)
CIE-LCHlch(62.89, 53.78, 297.81°)
OKLaboklab(68.99% 0.037 -0.1338)
OKLCHoklch(68.99% 0.139 285.5)
XYZxyz(37.0194, 31.4588, 84.2260)
Luminance0.3146 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#948DED #E6ED8D
analogous
#8DB6ED #948DED #C48DED
triadic
#948DED #ED948D #8DED94
tetradic
#948DED #ED8DB6 #E6ED8D #8DEDC4
square
#948DED #ED8DB6 #E6ED8D #8DEDC4
split-complementary
#948DED #EDC48D #B6ED8D
monochromatic
#3123DC #6258E5 #948DED #C6C2F5 #E6E5FB

Accessibility & contrast

On white

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

On black

7.29
#948DED on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #948DED
7.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##948DED#FFFFFF#000000##000000
##948DED1.002.887.297.29
#FFFFFF2.881.0021.0021.00
#0000007.2921.001.001.00
##0000007.2921.001.001.00

Color blindness preview

Protanopia (red-blind)
#6D9BF1
Deuteranopia (green-blind)
#6A95EB
Tritanopia (blue-blind)
#7CA0B2
Achromatopsia (no color)
#989898

Design tokens & code

CSS
--color: #948ded;
/* rgb */ color: rgb(148, 141, 237);
/* oklch */ color: oklch(69.0% 0.139 285.5);
Tailwind
colors: {
  custom: {
    50: '#b7aef3',
    500: '#948ded',
    950: '#000000',
  },
}
SCSS
$custom: #948ded;
$custom-light: #b7aef3;
$custom-dark: #000000;
JSON
{
  "hex": "#948ded",
  "rgb": {
    "r": 148,
    "g": 141,
    "b": 237
  },
  "hsl": {
    "h": 244.375,
    "s": 72.727,
    "l": 74.118
  },
  "oklch": {
    "l": 0.68989,
    "c": 0.13884,
    "h": 285.5
  },
  "luminance": 0.3146
}

Semantic roles & 50–950 ramp

primary
#948DED
secondary
#F1F2D9
accent
#D511C7
background
#FBFAFE
surface
#F6F4FD
border
#D0CED5
text
#121017
muted
#817F85

Preview Lab

Preview with #948DED

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

Preview Lab → · Contrast checker → · Palette generator →

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