#948EFF#948EFF

#948EFF is a light, vivid blue. Relative luminance 0.329; OKLCH L 70.2% C 0.162 H 283.8°. Best body text is #000000 at 7.57:1 contrast (WCAG AA passes).

Color values

HEX#948EFF
RGBrgb(148, 142, 255)
HSLhsl(243, 100%, 78%)
HSVhsv(243, 44%, 100%)
CMYKcmyk(42%, 44.3%, 0%, 0%)
CIE-LABlab(64.05, 29.44, -55.63)
CIE-LCHlch(64.05, 62.94, 297.89°)
OKLaboklab(70.16% 0.0387 -0.1573)
OKLCHoklch(70.16% 0.162 283.8)
XYZxyz(39.9305, 32.8603, 98.8271)
Luminance0.3286 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#948EFF #F9FF8E
analogous
#8EC0FF #948EFF #CC8EFF
triadic
#948EFF #FF948E #8EFF94
tetradic
#948EFF #FF8EC0 #F9FF8E #8EFFCC
square
#948EFF #FF8EC0 #F9FF8E #8EFFCC
split-complementary
#948EFF #FFCC8E #C0FF8E
monochromatic
#2014FF #5A51FF #948EFF #CECBFF #E2E0FF

Accessibility & contrast

On white

2.77
#948EFF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.57
#948EFF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #948EFF
7.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##948EFF#FFFFFF#000000##000000
##948EFF1.002.777.577.57
#FFFFFF2.771.0021.0021.00
#0000007.5721.001.001.00
##0000007.5721.001.001.00

Color blindness preview

Protanopia (red-blind)
#639FFF
Deuteranopia (green-blind)
#5F98FC
Tritanopia (blue-blind)
#73A5BA
Achromatopsia (no color)
#9B9B9B

Design tokens & code

CSS
--color: #948eff;
/* rgb */ color: rgb(148, 142, 255);
/* oklch */ color: oklch(70.2% 0.162 283.8);
Tailwind
colors: {
  custom: {
    50: '#b8afff',
    500: '#948eff',
    950: '#000000',
  },
}
SCSS
$custom: #948eff;
$custom-light: #b8afff;
$custom-dark: #000000;
JSON
{
  "hex": "#948eff",
  "rgb": {
    "r": 148,
    "g": 142,
    "b": 255
  },
  "hsl": {
    "h": 243.186,
    "s": 100,
    "l": 77.843
  },
  "oklch": {
    "l": 0.70162,
    "c": 0.16202,
    "h": 283.8
  },
  "luminance": 0.32862
}

Semantic roles & 50–950 ramp

primary
#948EFF
secondary
#F5F7D4
accent
#E600D9
background
#FBFAFF
surface
#F6F4FF
border
#D0CED7
text
#121018
muted
#817F86

Preview Lab

Preview with #948EFF

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

Preview Lab → · Contrast checker → · Palette generator →

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