#948DF0#948DF0

#948DF0 is a light, vivid blue. Relative luminance 0.316; OKLCH L 69.1% C 0.143 H 285.2°. Best body text is #000000 at 7.33:1 contrast (WCAG AA passes).

Color values

HEX#948DF0
RGBrgb(148, 141, 240)
HSLhsl(244, 77%, 75%)
HSVhsv(244, 41%, 94%)
CMYKcmyk(38.3%, 41.3%, 0%, 5.9%)
CIE-LABlab(63.04, 25.90, -48.99)
CIE-LCHlch(63.04, 55.42, 297.86°)
OKLaboklab(69.15% 0.0376 -0.1379)
OKLCHoklch(69.15% 0.143 285.2)
XYZxyz(37.4614, 31.6356, 86.5537)
Luminance0.3164 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#948DF0 #E9F08D
analogous
#8DB8F0 #948DF0 #C58DF0
triadic
#948DF0 #F0948D #8DF094
tetradic
#948DF0 #F08DB8 #E9F08D #8DF0C5
square
#948DF0 #F08DB8 #E9F08D #8DF0C5
split-complementary
#948DF0 #F0C58D #B8F08D
monochromatic
#2E21E2 #6157E9 #948DF0 #C7C3F7 #E6E4FB

Accessibility & contrast

On white

2.87
#948DF0 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.33
#948DF0 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #948DF0
7.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##948DF0#FFFFFF#000000##000000
##948DF01.002.877.337.33
#FFFFFF2.871.0021.0021.00
#0000007.3321.001.001.00
##0000007.3321.001.001.00

Color blindness preview

Protanopia (red-blind)
#6B9BF4
Deuteranopia (green-blind)
#6896EE
Tritanopia (blue-blind)
#7AA0B3
Achromatopsia (no color)
#999999

Design tokens & code

CSS
--color: #948df0;
/* rgb */ color: rgb(148, 141, 240);
/* oklch */ color: oklch(69.1% 0.143 285.2);
Tailwind
colors: {
  custom: {
    50: '#b7aef5',
    500: '#948df0',
    950: '#000000',
  },
}
SCSS
$custom: #948df0;
$custom-light: #b7aef5;
$custom-dark: #000000;
JSON
{
  "hex": "#948df0",
  "rgb": {
    "r": 148,
    "g": 141,
    "b": 240
  },
  "hsl": {
    "h": 244.242,
    "s": 76.744,
    "l": 74.706
  },
  "oklch": {
    "l": 0.69149,
    "c": 0.14297,
    "h": 285.2
  },
  "luminance": 0.31637
}

Semantic roles & 50–950 ramp

primary
#948DF0
secondary
#F1F3D8
accent
#D90DCB
background
#FBFAFF
surface
#F6F4FE
border
#D0CED6
text
#121017
muted
#817F85

Preview Lab

Preview with #948DF0

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

Preview Lab → · Contrast checker → · Palette generator →

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