#948EF8#948EF8

#948EF8 is a light, vivid blue. Relative luminance 0.324; OKLCH L 69.8% C 0.153 H 284.3°. Best body text is #000000 at 7.48:1 contrast (WCAG AA passes).

Color values

HEX#948EF8
RGBrgb(148, 142, 248)
HSLhsl(243, 88%, 76%)
HSVhsv(243, 43%, 97%)
CMYKcmyk(40.3%, 42.7%, 0%, 2.7%)
CIE-LABlab(63.69, 27.51, -52.37)
CIE-LCHlch(63.69, 59.16, 297.71°)
OKLaboklab(69.77% 0.0376 -0.1478)
OKLCHoklch(69.77% 0.153 284.3)
XYZxyz(38.8242, 32.4177, 93.0004)
Luminance0.3242 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#948EF8 #F2F88E
analogous
#8EBDF8 #948EF8 #C98EF8
triadic
#948EF8 #F8948E #8EF894
tetradic
#948EF8 #F88EBD #F2F88E #8EF8C9
square
#948EF8 #F88EBD #F2F88E #8EF8C9
split-complementary
#948EF8 #F8C98E #BDF88E
monochromatic
#271BF1 #5D54F4 #948EF8 #CBC8FC #E4E2FD

Accessibility & contrast

On white

2.81
#948EF8 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.48
#948EF8 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #948EF8
7.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##948EF8#FFFFFF#000000##000000
##948EF81.002.817.487.48
#FFFFFF2.811.0021.0021.00
#0000007.4821.001.001.00
##0000007.4821.001.001.00

Color blindness preview

Protanopia (red-blind)
#689EFC
Deuteranopia (green-blind)
#6497F6
Tritanopia (blue-blind)
#77A3B7
Achromatopsia (no color)
#9A9A9A

Design tokens & code

CSS
--color: #948ef8;
/* rgb */ color: rgb(148, 142, 248);
/* oklch */ color: oklch(69.8% 0.153 284.3);
Tailwind
colors: {
  custom: {
    50: '#b7affb',
    500: '#948ef8',
    950: '#000000',
  },
}
SCSS
$custom: #948ef8;
$custom-light: #b7affb;
$custom-dark: #000000;
JSON
{
  "hex": "#948ef8",
  "rgb": {
    "r": 148,
    "g": 142,
    "b": 248
  },
  "hsl": {
    "h": 243.396,
    "s": 88.333,
    "l": 76.471
  },
  "oklch": {
    "l": 0.69771,
    "c": 0.15252,
    "h": 284.3
  },
  "luminance": 0.32419
}

Semantic roles & 50–950 ramp

primary
#948EF8
secondary
#F3F5D6
accent
#E501D8
background
#FBFAFF
surface
#F6F4FF
border
#D0CED7
text
#121017
muted
#817F85

Preview Lab

Preview with #948EF8

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

Preview Lab → · Contrast checker → · Palette generator →

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