#948FE7#948FE7

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

Color values

HEX#948FE7
RGBrgb(148, 143, 231)
HSLhsl(243, 65%, 73%)
HSVhsv(243, 38%, 91%)
CMYKcmyk(35.9%, 38.1%, 0%, 9.4%)
CIE-LABlab(63.10, 22.33, -43.93)
CIE-LCHlch(63.10, 49.27, 296.94°)
OKLaboklab(69.05% 0.0333 -0.1232)
OKLCHoklch(69.05% 0.128 285.1)
XYZxyz(36.4550, 31.7092, 79.7855)
Luminance0.3171 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#948FE7 #E2E78F
analogous
#8FB6E7 #948FE7 #C08FE7
triadic
#948FE7 #E7948F #8FE794
tetradic
#948FE7 #E78FB6 #E2E78F #8FE7C0
square
#948FE7 #E78FB6 #E2E78F #8FE7C0
split-complementary
#948FE7 #E7C08F #B6E78F
monochromatic
#362CCF #645DDC #948FE7 #C4C1F2 #E7E6FA

Accessibility & contrast

On white

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

On black

7.34
#948FE7 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #948FE7
7.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##948FE7#FFFFFF#000000##000000
##948FE71.002.867.347.34
#FFFFFF2.861.0021.0021.00
#0000007.3421.001.001.00
##0000007.3421.001.001.00

Color blindness preview

Protanopia (red-blind)
#739BEA
Deuteranopia (green-blind)
#7096E5
Tritanopia (blue-blind)
#7EA0B0
Achromatopsia (no color)
#999999

Design tokens & code

CSS
--color: #948fe7;
/* rgb */ color: rgb(148, 143, 231);
/* oklch */ color: oklch(69.1% 0.128 285.1);
Tailwind
colors: {
  custom: {
    50: '#b6afef',
    500: '#948fe7',
    950: '#000000',
  },
}
SCSS
$custom: #948fe7;
$custom-light: #b6afef;
$custom-dark: #000000;
JSON
{
  "hex": "#948fe7",
  "rgb": {
    "r": 148,
    "g": 143,
    "b": 231
  },
  "hsl": {
    "h": 243.409,
    "s": 64.706,
    "l": 73.333
  },
  "oklch": {
    "l": 0.69054,
    "c": 0.12762,
    "h": 285.1
  },
  "luminance": 0.3171
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #948FE7

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

Preview Lab → · Contrast checker → · Palette generator →

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