#948DF2#948DF2

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

Color values

HEX#948DF2
RGBrgb(148, 141, 242)
HSLhsl(244, 80%, 75%)
HSVhsv(244, 42%, 95%)
CMYKcmyk(38.8%, 41.7%, 0%, 5.1%)
CIE-LABlab(63.14, 26.45, -49.94)
CIE-LCHlch(63.14, 56.51, 297.90°)
OKLaboklab(69.26% 0.0379 -0.1407)
OKLCHoklch(69.26% 0.146 285.1)
XYZxyz(37.7601, 31.7551, 88.1270)
Luminance0.3176 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#948DF2 #EBF28D
analogous
#8DB9F2 #948DF2 #C68DF2
triadic
#948DF2 #F2948D #8DF294
tetradic
#948DF2 #F28DB9 #EBF28D #8DF2C6
square
#948DF2 #F28DB9 #EBF28D #8DF2C6
split-complementary
#948DF2 #F2C68D #B9F28D
monochromatic
#2D1FE5 #6056EC #948DF2 #C8C4F8 #E5E4FC

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##948DF2#FFFFFF#000000##000000
##948DF21.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)
#6A9CF6
Deuteranopia (green-blind)
#6796F0
Tritanopia (blue-blind)
#79A1B4
Achromatopsia (no color)
#999999

Design tokens & code

CSS
--color: #948df2;
/* rgb */ color: rgb(148, 141, 242);
/* oklch */ color: oklch(69.3% 0.146 285.1);
Tailwind
colors: {
  custom: {
    50: '#b7aef7',
    500: '#948df2',
    950: '#000000',
  },
}
SCSS
$custom: #948df2;
$custom-light: #b7aef7;
$custom-dark: #000000;
JSON
{
  "hex": "#948df2",
  "rgb": {
    "r": 148,
    "g": 141,
    "b": 242
  },
  "hsl": {
    "h": 244.158,
    "s": 79.528,
    "l": 75.098
  },
  "oklch": {
    "l": 0.69257,
    "c": 0.14573,
    "h": 285.1
  },
  "luminance": 0.31756
}

Semantic roles & 50–950 ramp

primary
#948DF2
secondary
#F2F4D7
accent
#DC0ACD
background
#FBFAFF
surface
#F6F4FF
border
#D0CED7
text
#121017
muted
#817F85

Preview Lab

Preview with #948DF2

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

Preview Lab → · Contrast checker → · Palette generator →

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