#946DFD#946DFD

#946DFD is a light, highly saturated violet. Relative luminance 0.243; OKLCH L 64.4% C 0.205 H 292.1°. Best body text is #000000 at 5.87:1 contrast (WCAG AA passes).

Color values

HEX#946DFD
RGBrgb(148, 109, 253)
HSLhsl(256, 97%, 71%)
HSVhsv(256, 57%, 99%)
CMYKcmyk(41.5%, 56.9%, 0%, 0.8%)
CIE-LABlab(56.41, 47.65, -66.76)
CIE-LCHlch(56.41, 82.02, 305.52°)
OKLaboklab(64.42% 0.0773 -0.1901)
OKLCHoklch(64.42% 0.205 292.1)
XYZxyz(35.4062, 24.3240, 95.7390)
Luminance0.2432 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#946DFD #D6FD6D
analogous
#6D8EFD #946DFD #DC6DFD
triadic
#946DFD #FD946D #6DFD94
tetradic
#946DFD #FD6D8E #D6FD6D #6DFDDC
square
#946DFD #FD6D8E #D6FD6D #6DFDDC
split-complementary
#946DFD #FDDC6D #8EFD6D
monochromatic
#4203EC #6831FC #946DFD #C0A9FE #E9E1FF

Accessibility & contrast

On white

3.58
#946DFD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.87
#946DFD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #946DFD
5.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##946DFD#FFFFFF#000000##000000
##946DFD1.003.585.875.87
#FFFFFF3.581.0021.0021.00
#0000005.8721.001.001.00
##0000005.8721.001.001.00

Color blindness preview

Protanopia (red-blind)
#0F89FF
Deuteranopia (green-blind)
#2384FA
Tritanopia (blue-blind)
#778CAB
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #946dfd;
/* rgb */ color: rgb(148, 109, 253);
/* oklch */ color: oklch(64.4% 0.205 292.1);
Tailwind
colors: {
  custom: {
    50: '#b998ff',
    500: '#946dfd',
    950: '#000000',
  },
}
SCSS
$custom: #946dfd;
$custom-light: #b998ff;
$custom-dark: #000000;
JSON
{
  "hex": "#946dfd",
  "rgb": {
    "r": 148,
    "g": 109,
    "b": 253
  },
  "hsl": {
    "h": 256.25,
    "s": 97.297,
    "l": 70.98
  },
  "oklch": {
    "l": 0.64421,
    "c": 0.20522,
    "h": 292.1
  },
  "luminance": 0.24325
}

Semantic roles & 50–950 ramp

primary
#946DFD
secondary
#ECF6D0
accent
#E600A7
background
#FBF9FF
surface
#F7F2FF
border
#D0CCD7
text
#120E18
muted
#817E86

Preview Lab

Preview with #946DFD

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

Preview Lab → · Contrast checker → · Palette generator →

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