#947EBC#947EBC

#947EBC is a light, moderate violet. Relative luminance 0.248; OKLCH L 63.7% C 0.094 H 300.0°. Best body text is #000000 at 5.97:1 contrast (WCAG AA passes).

Color values

HEX#947EBC
RGBrgb(148, 126, 188)
HSLhsl(261, 32%, 62%)
HSVhsv(261, 33%, 74%)
CMYKcmyk(21.3%, 33%, 0%, 26.3%)
CIE-LABlab(56.93, 21.29, -29.43)
CIE-LCHlch(56.93, 36.32, 305.88°)
OKLaboklab(63.7% 0.0471 -0.0813)
OKLCHoklch(63.7% 0.094 300)
XYZxyz(28.7487, 24.8484, 50.8488)
Luminance0.2485 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#947EBC #A6BC7E
analogous
#7E87BC #947EBC #B37EBC
triadic
#947EBC #BC947E #7EBC94
tetradic
#947EBC #BC7E87 #A6BC7E #7EBCB3
square
#947EBC #BC7E87 #A6BC7E #7EBCB3
split-complementary
#947EBC #BCB37E #87BC7E
monochromatic
#57417E #7356A6 #947EBC #B5A6D1 #D7CFE6

Accessibility & contrast

On white

3.52
#947EBC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.97
#947EBC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #947EBC
5.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##947EBC#FFFFFF#000000##000000
##947EBC1.003.525.975.97
#FFFFFF3.521.0021.0021.00
#0000005.9721.001.001.00
##0000005.9721.001.001.00

Color blindness preview

Protanopia (red-blind)
#7088BE
Deuteranopia (green-blind)
#7488BA
Tritanopia (blue-blind)
#8D8895
Achromatopsia (no color)
#898989

Design tokens & code

CSS
--color: #947ebc;
/* rgb */ color: rgb(148, 126, 188);
/* oklch */ color: oklch(63.7% 0.094 300.0);
Tailwind
colors: {
  custom: {
    50: '#b4a3d0',
    500: '#947ebc',
    950: '#000000',
  },
}
SCSS
$custom: #947ebc;
$custom-light: #b4a3d0;
$custom-dark: #000000;
JSON
{
  "hex": "#947ebc",
  "rgb": {
    "r": 148,
    "g": 126,
    "b": 188
  },
  "hsl": {
    "h": 261.29,
    "s": 31.633,
    "l": 61.569
  },
  "oklch": {
    "l": 0.63702,
    "c": 0.09398,
    "h": 300
  },
  "luminance": 0.24848
}

Semantic roles & 50–950 ramp

primary
#947EBC
secondary
#CED6BF
accent
#AA3B83
background
#FBFAFC
surface
#F6F3F9
border
#D0CDD2
text
#110F14
muted
#807F82

Preview Lab

Preview with #947EBC

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

Preview Lab → · Contrast checker → · Palette generator →

#947EBC Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva