#947DFD#947DFD

#947DFD is a light, vivid violet. Relative luminance 0.281; OKLCH L 67.0% C 0.183 H 288.7°. Best body text is #000000 at 6.61:1 contrast (WCAG AA passes).

Color values

HEX#947DFD
RGBrgb(148, 125, 253)
HSLhsl(251, 97%, 74%)
HSVhsv(251, 51%, 99%)
CMYKcmyk(41.5%, 50.6%, 0%, 0.8%)
CIE-LABlab(59.94, 38.66, -61.09)
CIE-LCHlch(59.94, 72.30, 302.32°)
OKLaboklab(67.04% 0.0588 -0.1734)
OKLCHoklch(67.04% 0.183 288.7)
XYZxyz(37.2710, 28.0537, 96.3606)
Luminance0.2806 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#947DFD #E6FD7D
analogous
#7DA6FD #947DFD #D47DFD
triadic
#947DFD #FD947D #7DFD94
tetradic
#947DFD #FD7DA6 #E6FD7D #7DFDD4
square
#947DFD #FD7DA6 #E6FD7D #7DFDD4
split-complementary
#947DFD #FDD47D #A6FD7D
monochromatic
#3104FB #6241FC #947DFD #C6B9FE #E6E1FF

Accessibility & contrast

On white

3.18
#947DFD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.61
#947DFD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #947DFD
6.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##947DFD#FFFFFF#000000##000000
##947DFD1.003.186.616.61
#FFFFFF3.181.0021.0021.00
#0000006.6121.001.001.00
##0000006.6121.001.001.00

Color blindness preview

Protanopia (red-blind)
#4593FF
Deuteranopia (green-blind)
#468DFA
Tritanopia (blue-blind)
#7698B1
Achromatopsia (no color)
#909090

Design tokens & code

CSS
--color: #947dfd;
/* rgb */ color: rgb(148, 125, 253);
/* oklch */ color: oklch(67.0% 0.183 288.7);
Tailwind
colors: {
  custom: {
    50: '#b9a3ff',
    500: '#947dfd',
    950: '#000000',
  },
}
SCSS
$custom: #947dfd;
$custom-light: #b9a3ff;
$custom-dark: #000000;
JSON
{
  "hex": "#947dfd",
  "rgb": {
    "r": 148,
    "g": 125,
    "b": 253
  },
  "hsl": {
    "h": 250.781,
    "s": 96.97,
    "l": 74.118
  },
  "oklch": {
    "l": 0.67035,
    "c": 0.18312,
    "h": 288.7
  },
  "luminance": 0.28055
}

Semantic roles & 50–950 ramp

primary
#947DFD
secondary
#F1F7D4
accent
#E600BC
background
#FBFAFF
surface
#F7F4FF
border
#D0CED7
text
#120F18
muted
#817F86

Preview Lab

Preview with #947DFD

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

Preview Lab → · Contrast checker → · Palette generator →

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