#947DD4#947DD4

#947DD4 is a light, vivid violet. Relative luminance 0.257; OKLCH L 64.7% C 0.129 H 294.7°. Best body text is #000000 at 6.14:1 contrast (WCAG AA passes).

Color values

HEX#947DD4
RGBrgb(148, 125, 212)
HSLhsl(256, 50%, 66%)
HSVhsv(256, 41%, 83%)
CMYKcmyk(30.2%, 41%, 0%, 16.9%)
CIE-LABlab(57.77, 27.79, -41.72)
CIE-LCHlch(57.77, 50.13, 303.67°)
OKLaboklab(64.7% 0.0537 -0.1168)
OKLCHoklch(64.7% 0.129 294.7)
XYZxyz(31.4271, 25.7161, 65.5826)
Luminance0.2572 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#947DD4 #BDD47D
analogous
#7D91D4 #947DD4 #BF7DD4
triadic
#947DD4 #D4947D #7DD494
tetradic
#947DD4 #D47D91 #BDD47D #7DD4BF
square
#947DD4 #D47D91 #BDD47D #7DD4BF
split-complementary
#947DD4 #D4BF7D #91D47D
monochromatic
#5235A1 #6E4FC5 #947DD4 #BAABE3 #E0D9F2

Accessibility & contrast

On white

3.42
#947DD4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.14
#947DD4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #947DD4
6.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##947DD4#FFFFFF#000000##000000
##947DD41.003.426.146.14
#FFFFFF3.421.0021.0021.00
#0000006.1421.001.001.00
##0000006.1421.001.001.00

Color blindness preview

Protanopia (red-blind)
#638CD7
Deuteranopia (green-blind)
#6789D2
Tritanopia (blue-blind)
#868D9E
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #947dd4;
/* rgb */ color: rgb(148, 125, 212);
/* oklch */ color: oklch(64.7% 0.129 294.7);
Tailwind
colors: {
  custom: {
    50: '#b5a3e1',
    500: '#947dd4',
    950: '#000000',
  },
}
SCSS
$custom: #947dd4;
$custom-light: #b5a3e1;
$custom-dark: #000000;
JSON
{
  "hex": "#947dd4",
  "rgb": {
    "r": 148,
    "g": 125,
    "b": 212
  },
  "hsl": {
    "h": 255.862,
    "s": 50.289,
    "l": 66.078
  },
  "oklch": {
    "l": 0.64698,
    "c": 0.12856,
    "h": 294.7
  },
  "luminance": 0.25717
}

Semantic roles & 50–950 ramp

primary
#947DD4
secondary
#DDE5C8
accent
#BE2896
background
#FBFAFD
surface
#F6F3FB
border
#D0CDD4
text
#110F15
muted
#807F83

Preview Lab

Preview with #947DD4

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

Preview Lab → · Contrast checker → · Palette generator →

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