#948FE8#948FE8

#948FE8 is a light, vivid blue. Relative luminance 0.318; OKLCH L 69.1% C 0.129 H 285.1°. Best body text is #000000 at 7.35:1 contrast (WCAG AA passes).

Color values

HEX#948FE8
RGBrgb(148, 143, 232)
HSLhsl(243, 66%, 74%)
HSVhsv(243, 38%, 91%)
CMYKcmyk(36.2%, 38.4%, 0%, 9%)
CIE-LABlab(63.15, 22.59, -44.41)
CIE-LCHlch(63.15, 49.82, 296.97°)
OKLaboklab(69.11% 0.0335 -0.1246)
OKLCHoklch(69.11% 0.129 285.1)
XYZxyz(36.5967, 31.7658, 80.5315)
Luminance0.3177 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#948FE8 #E3E88F
analogous
#8FB6E8 #948FE8 #C08FE8
triadic
#948FE8 #E8948F #8FE894
tetradic
#948FE8 #E88FB6 #E3E88F #8FE8C0
square
#948FE8 #E88FB6 #E3E88F #8FE8C0
split-complementary
#948FE8 #E8C08F #B6E88F
monochromatic
#342BD2 #635CDE #948FE8 #C5C2F2 #E7E6FA

Accessibility & contrast

On white

2.86
#948FE8 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.35
#948FE8 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #948FE8
7.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##948FE8#FFFFFF#000000##000000
##948FE81.002.867.357.35
#FFFFFF2.861.0021.0021.00
#0000007.3521.001.001.00
##0000007.3521.001.001.00

Color blindness preview

Protanopia (red-blind)
#729BEB
Deuteranopia (green-blind)
#7096E6
Tritanopia (blue-blind)
#7DA0B0
Achromatopsia (no color)
#999999

Design tokens & code

CSS
--color: #948fe8;
/* rgb */ color: rgb(148, 143, 232);
/* oklch */ color: oklch(69.1% 0.129 285.1);
Tailwind
colors: {
  custom: {
    50: '#b6afef',
    500: '#948fe8',
    950: '#000000',
  },
}
SCSS
$custom: #948fe8;
$custom-light: #b6afef;
$custom-dark: #000000;
JSON
{
  "hex": "#948fe8",
  "rgb": {
    "r": 148,
    "g": 143,
    "b": 232
  },
  "hsl": {
    "h": 243.371,
    "s": 65.926,
    "l": 73.529
  },
  "oklch": {
    "l": 0.69106,
    "c": 0.12903,
    "h": 285.1
  },
  "luminance": 0.31767
}

Semantic roles & 50–950 ramp

primary
#948FE8
secondary
#F0F1DA
accent
#CE18C4
background
#FBFAFE
surface
#F6F4FD
border
#D0CED5
text
#111016
muted
#807F84

Preview Lab

Preview with #948FE8

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

Preview Lab → · Contrast checker → · Palette generator →

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