#948AED#948AED

#948AED is a light, vivid blue. Relative luminance 0.306; OKLCH L 68.4% C 0.143 H 286.6°. Best body text is #000000 at 7.12:1 contrast (WCAG AA passes).

Color values

HEX#948AED
RGBrgb(148, 138, 237)
HSLhsl(246, 73%, 74%)
HSVhsv(246, 42%, 93%)
CMYKcmyk(37.6%, 41.8%, 0%, 7.1%)
CIE-LABlab(62.16, 26.82, -48.74)
CIE-LCHlch(62.16, 55.63, 298.83°)
OKLaboklab(68.43% 0.0409 -0.1372)
OKLCHoklch(68.43% 0.143 286.6)
XYZxyz(36.5831, 30.5861, 84.0806)
Luminance0.3059 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#948AED #E3ED8A
analogous
#8AB1ED #948AED #C58AED
triadic
#948AED #ED948A #8AED94
tetradic
#948AED #ED8AB1 #E3ED8A #8AEDC5
square
#948AED #ED8AB1 #E3ED8A #8AEDC5
split-complementary
#948AED #EDC58A #B1ED8A
monochromatic
#3422DB #6355E5 #948AED #C5BFF5 #E7E4FB

Accessibility & contrast

On white

2.95
#948AED on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.12
#948AED on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #948AED
7.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##948AED#FFFFFF#000000##000000
##948AED1.002.957.127.12
#FFFFFF2.951.0021.0021.00
#0000007.1221.001.001.00
##0000007.1221.001.001.00

Color blindness preview

Protanopia (red-blind)
#6899F1
Deuteranopia (green-blind)
#6794EB
Tritanopia (blue-blind)
#7C9DB0
Achromatopsia (no color)
#969696

Design tokens & code

CSS
--color: #948aed;
/* rgb */ color: rgb(148, 138, 237);
/* oklch */ color: oklch(68.4% 0.143 286.6);
Tailwind
colors: {
  custom: {
    50: '#b7acf3',
    500: '#948aed',
    950: '#000000',
  },
}
SCSS
$custom: #948aed;
$custom-light: #b7acf3;
$custom-dark: #000000;
JSON
{
  "hex": "#948aed",
  "rgb": {
    "r": 148,
    "g": 138,
    "b": 237
  },
  "hsl": {
    "h": 246.061,
    "s": 73.333,
    "l": 73.529
  },
  "oklch": {
    "l": 0.68429,
    "c": 0.14317,
    "h": 286.6
  },
  "luminance": 0.30587
}

Semantic roles & 50–950 ramp

primary
#948AED
secondary
#F0F3D8
accent
#D510C1
background
#FBFAFE
surface
#F6F4FD
border
#D0CED5
text
#121017
muted
#817F85

Preview Lab

Preview with #948AED

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

Preview Lab → · Contrast checker → · Palette generator →

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