#948EC0#948EC0

#948EC0 is a light, moderate blue. Relative luminance 0.294; OKLCH L 67.0% C 0.074 H 289.8°. Best body text is #000000 at 6.89:1 contrast (WCAG AA passes).

Color values

HEX#948EC0
RGBrgb(148, 142, 192)
HSLhsl(247, 28%, 65%)
HSVhsv(247, 26%, 75%)
CMYKcmyk(22.9%, 26%, 0%, 24.7%)
CIE-LABlab(61.17, 12.99, -25.14)
CIE-LCHlch(61.17, 28.30, 297.33°)
OKLaboklab(67.02% 0.0249 -0.0692)
OKLCHoklch(67.02% 0.074 289.8)
XYZxyz(31.3979, 29.4472, 53.8886)
Luminance0.2945 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#948EC0 #BAC08E
analogous
#8EA1C0 #948EC0 #AD8EC0
triadic
#948EC0 #C0948E #8EC094
tetradic
#948EC0 #C08EA1 #BAC08E #8EC0AD
square
#948EC0 #C08EA1 #BAC08E #8EC0AD
split-complementary
#948EC0 #C0AD8E #A1C08E
monochromatic
#534C88 #6F67AA #948EC0 #B9B5D6 #DEDDEC

Accessibility & contrast

On white

3.05
#948EC0 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.89
#948EC0 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #948EC0
6.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##948EC0#FFFFFF#000000##000000
##948EC01.003.056.896.89
#FFFFFF3.051.0021.0021.00
#0000006.8921.001.001.00
##0000006.8921.001.001.00

Color blindness preview

Protanopia (red-blind)
#8295C2
Deuteranopia (green-blind)
#8293BF
Tritanopia (blue-blind)
#8B969F
Achromatopsia (no color)
#949494

Design tokens & code

CSS
--color: #948ec0;
/* rgb */ color: rgb(148, 142, 192);
/* oklch */ color: oklch(67.0% 0.074 289.8);
Tailwind
colors: {
  custom: {
    50: '#b4afd3',
    500: '#948ec0',
    950: '#000000',
  },
}
SCSS
$custom: #948ec0;
$custom-light: #b4afd3;
$custom-dark: #000000;
JSON
{
  "hex": "#948ec0",
  "rgb": {
    "r": 148,
    "g": 142,
    "b": 192
  },
  "hsl": {
    "h": 247.2,
    "s": 28.409,
    "l": 65.49
  },
  "oklch": {
    "l": 0.67022,
    "c": 0.07352,
    "h": 289.8
  },
  "luminance": 0.29448
}

Semantic roles & 50–950 ramp

primary
#948EC0
secondary
#DBDDCD
accent
#A73E9A
background
#FBFAFC
surface
#F6F4F9
border
#D0CED2
text
#111014
muted
#807F82

Preview Lab

Preview with #948EC0

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

Preview Lab → · Contrast checker → · Palette generator →

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