#948BEE#948BEE

#948BEE is a light, vivid blue. Relative luminance 0.309; OKLCH L 68.7% C 0.143 H 286.1°. Best body text is #000000 at 7.19:1 contrast (WCAG AA passes).

Color values

HEX#948BEE
RGBrgb(148, 139, 238)
HSLhsl(245, 74%, 74%)
HSVhsv(245, 42%, 93%)
CMYKcmyk(37.8%, 41.6%, 0%, 6.7%)
CIE-LABlab(62.45, 26.52, -48.82)
CIE-LCHlch(62.45, 55.56, 298.51°)
OKLaboklab(68.67% 0.0398 -0.1375)
OKLCHoklch(68.67% 0.143 286.1)
XYZxyz(36.8737, 30.9330, 84.9002)
Luminance0.3093 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#948BEE #E5EE8B
analogous
#8BB4EE #948BEE #C68BEE
triadic
#948BEE #EE948B #8BEE94
tetradic
#948BEE #EE8BB4 #E5EE8B #8BEEC6
square
#948BEE #EE8BB4 #E5EE8B #8BEEC6
split-complementary
#948BEE #EEC68B #B4EE8B
monochromatic
#3221DE #6356E6 #948BEE #C5C0F6 #E6E4FB

Accessibility & contrast

On white

2.92
#948BEE on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.19
#948BEE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #948BEE
7.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##948BEE#FFFFFF#000000##000000
##948BEE1.002.927.197.19
#FFFFFF2.921.0021.0021.00
#0000007.1921.001.001.00
##0000007.1921.001.001.00

Color blindness preview

Protanopia (red-blind)
#699AF2
Deuteranopia (green-blind)
#6794EC
Tritanopia (blue-blind)
#7B9EB1
Achromatopsia (no color)
#979797

Design tokens & code

CSS
--color: #948bee;
/* rgb */ color: rgb(148, 139, 238);
/* oklch */ color: oklch(68.7% 0.143 286.1);
Tailwind
colors: {
  custom: {
    50: '#b7adf4',
    500: '#948bee',
    950: '#000000',
  },
}
SCSS
$custom: #948bee;
$custom-light: #b7adf4;
$custom-dark: #000000;
JSON
{
  "hex": "#948bee",
  "rgb": {
    "r": 148,
    "g": 139,
    "b": 238
  },
  "hsl": {
    "h": 245.455,
    "s": 74.436,
    "l": 73.922
  },
  "oklch": {
    "l": 0.68669,
    "c": 0.1431,
    "h": 286.1
  },
  "luminance": 0.30934
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #948BEE

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

Preview Lab → · Contrast checker → · Palette generator →

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