#946CDC#946CDC

#946CDC is a light, vivid violet. Relative luminance 0.222; OKLCH L 62.2% C 0.166 H 297.9°. Best body text is #000000 at 5.44:1 contrast (WCAG AA passes).

Color values

HEX#946CDC
RGBrgb(148, 108, 220)
HSLhsl(261, 62%, 64%)
HSVhsv(261, 51%, 86%)
CMYKcmyk(32.7%, 50.9%, 0%, 13.7%)
CIE-LABlab(54.23, 39.58, -51.84)
CIE-LCHlch(54.23, 65.22, 307.36°)
OKLaboklab(62.17% 0.0775 -0.1463)
OKLCHoklch(62.17% 0.166 297.9)
XYZxyz(30.4904, 22.1880, 70.3726)
Luminance0.2219 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#946CDC #B4DC6C
analogous
#6C7CDC #946CDC #CC6CDC
triadic
#946CDC #DC946C #6CDC94
tetradic
#946CDC #DC6C7C #B4DC6C #6CDCCC
square
#946CDC #DC6C7C #B4DC6C #6CDCCC
split-complementary
#946CDC #DCCC6C #7CDC6C
monochromatic
#5528A6 #703BD0 #946CDC #B89DE8 #DCCFF4

Accessibility & contrast

On white

3.86
#946CDC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.44
#946CDC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #946CDC
5.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##946CDC#FFFFFF#000000##000000
##946CDC1.003.865.445.44
#FFFFFF3.861.0021.0021.00
#0000005.4421.001.001.00
##0000005.4421.001.001.00

Color blindness preview

Protanopia (red-blind)
#4382E0
Deuteranopia (green-blind)
#4D81D9
Tritanopia (blue-blind)
#84829A
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #946cdc;
/* rgb */ color: rgb(148, 108, 220);
/* oklch */ color: oklch(62.2% 0.166 297.9);
Tailwind
colors: {
  custom: {
    50: '#b797e7',
    500: '#946cdc',
    950: '#000000',
  },
}
SCSS
$custom: #946cdc;
$custom-light: #b797e7;
$custom-dark: #000000;
JSON
{
  "hex": "#946cdc",
  "rgb": {
    "r": 148,
    "g": 108,
    "b": 220
  },
  "hsl": {
    "h": 261.429,
    "s": 61.538,
    "l": 64.314
  },
  "oklch": {
    "l": 0.62174,
    "c": 0.16554,
    "h": 297.9
  },
  "luminance": 0.22188
}

Semantic roles & 50–950 ramp

primary
#946CDC
secondary
#D7E5BE
accent
#C91C8B
background
#FBF9FE
surface
#F6F2FC
border
#D0CCD5
text
#120D16
muted
#817E84

Preview Lab

Preview with #946CDC

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

Preview Lab → · Contrast checker → · Palette generator →

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