#946EFE#946EFE

#946EFE is a light, highly saturated violet. Relative luminance 0.246; OKLCH L 64.6% C 0.205 H 291.8°. Best body text is #000000 at 5.92:1 contrast (WCAG AA passes).

Color values

HEX#946EFE
RGBrgb(148, 110, 254)
HSLhsl(256, 99%, 71%)
HSVhsv(256, 57%, 100%)
CMYKcmyk(41.7%, 56.7%, 0%, 0.4%)
CIE-LABlab(56.69, 47.36, -66.87)
CIE-LCHlch(56.69, 81.94, 305.31°)
OKLaboklab(64.64% 0.0762 -0.1904)
OKLCHoklch(64.64% 0.205 291.8)
XYZxyz(35.6732, 24.6025, 96.6159)
Luminance0.2460 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#946EFE #D8FE6E
analogous
#6E90FE #946EFE #DC6EFE
triadic
#946EFE #FE946E #6EFE94
tetradic
#946EFE #FE6E90 #D8FE6E #6EFEDC
square
#946EFE #FE6E90 #D8FE6E #6EFEDC
split-complementary
#946EFE #FEDC6E #90FE6E
monochromatic
#4102F0 #6731FE #946EFE #C1ABFE #E9E1FF

Accessibility & contrast

On white

3.55
#946EFE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.92
#946EFE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #946EFE
5.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##946EFE#FFFFFF#000000##000000
##946EFE1.003.555.925.92
#FFFFFF3.551.0021.0021.00
#0000005.9221.001.001.00
##0000005.9221.001.001.00

Color blindness preview

Protanopia (red-blind)
#128AFF
Deuteranopia (green-blind)
#2385FB
Tritanopia (blue-blind)
#768DAC
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #946efe;
/* rgb */ color: rgb(148, 110, 254);
/* oklch */ color: oklch(64.6% 0.205 291.8);
Tailwind
colors: {
  custom: {
    50: '#b999ff',
    500: '#946efe',
    950: '#000000',
  },
}
SCSS
$custom: #946efe;
$custom-light: #b999ff;
$custom-dark: #000000;
JSON
{
  "hex": "#946efe",
  "rgb": {
    "r": 148,
    "g": 110,
    "b": 254
  },
  "hsl": {
    "h": 255.833,
    "s": 98.63,
    "l": 71.373
  },
  "oklch": {
    "l": 0.64644,
    "c": 0.20509,
    "h": 291.8
  },
  "luminance": 0.24604
}

Semantic roles & 50–950 ramp

primary
#946EFE
secondary
#EDF7D1
accent
#E600A9
background
#FBF9FF
surface
#F7F2FF
border
#D0CCD7
text
#120E18
muted
#817E86

Preview Lab

Preview with #946EFE

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

Preview Lab → · Contrast checker → · Palette generator →

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