#948FF8#948FF8

#948FF8 is a light, vivid blue. Relative luminance 0.327; OKLCH L 70.0% C 0.151 H 283.9°. Best body text is #000000 at 7.54:1 contrast (WCAG AA passes).

Color values

HEX#948FF8
RGBrgb(148, 143, 248)
HSLhsl(243, 88%, 77%)
HSVhsv(243, 42%, 97%)
CMYKcmyk(40.3%, 42.3%, 0%, 2.7%)
CIE-LABlab(63.93, 26.93, -51.98)
CIE-LCHlch(63.93, 58.55, 297.39°)
OKLaboklab(69.96% 0.0364 -0.1467)
OKLCHoklch(69.96% 0.151 283.9)
XYZxyz(38.9736, 32.7166, 93.0502)
Luminance0.3272 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#948FF8 #F3F88F
analogous
#8FBFF8 #948FF8 #C98FF8
triadic
#948FF8 #F8948F #8FF894
tetradic
#948FF8 #F88FBF #F3F88F #8FF8C9
square
#948FF8 #F88FBF #F3F88F #8FF8C9
split-complementary
#948FF8 #F8C98F #BFF88F
monochromatic
#261CF1 #5D55F4 #948FF8 #CBC9FC #E3E2FD

Accessibility & contrast

On white

2.78
#948FF8 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.54
#948FF8 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #948FF8
7.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##948FF8#FFFFFF#000000##000000
##948FF81.002.787.547.54
#FFFFFF2.781.0021.0021.00
#0000007.5421.001.001.00
##0000007.5421.001.001.00

Color blindness preview

Protanopia (red-blind)
#699EFC
Deuteranopia (green-blind)
#6598F6
Tritanopia (blue-blind)
#77A4B8
Achromatopsia (no color)
#9B9B9B

Design tokens & code

CSS
--color: #948ff8;
/* rgb */ color: rgb(148, 143, 248);
/* oklch */ color: oklch(70.0% 0.151 283.9);
Tailwind
colors: {
  custom: {
    50: '#b7affb',
    500: '#948ff8',
    950: '#000000',
  },
}
SCSS
$custom: #948ff8;
$custom-light: #b7affb;
$custom-dark: #000000;
JSON
{
  "hex": "#948ff8",
  "rgb": {
    "r": 148,
    "g": 143,
    "b": 248
  },
  "hsl": {
    "h": 242.857,
    "s": 88.235,
    "l": 76.667
  },
  "oklch": {
    "l": 0.69957,
    "c": 0.15112,
    "h": 283.9
  },
  "luminance": 0.32718
}

Semantic roles & 50–950 ramp

primary
#948FF8
secondary
#F4F5D6
accent
#E501DA
background
#FBFAFF
surface
#F6F4FF
border
#D0CED7
text
#121017
muted
#817F85

Preview Lab

Preview with #948FF8

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

Preview Lab → · Contrast checker → · Palette generator →

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