#946CFB#946CFB

#946CFB is a light, highly saturated violet. Relative luminance 0.240; OKLCH L 64.1% C 0.204 H 292.6°. Best body text is #000000 at 5.80:1 contrast (WCAG AA passes).

Color values

HEX#946CFB
RGBrgb(148, 108, 251)
HSLhsl(257, 95%, 70%)
HSVhsv(257, 57%, 98%)
CMYKcmyk(41%, 57%, 0%, 1.6%)
CIE-LABlab(56.07, 47.67, -66.20)
CIE-LCHlch(56.07, 81.57, 305.76°)
OKLaboklab(64.13% 0.0784 -0.1885)
OKLCHoklch(64.13% 0.204 292.6)
XYZxyz(34.9832, 23.9851, 94.0345)
Luminance0.2399 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#946CFB #D3FB6C
analogous
#6C8BFB #946CFB #DB6CFB
triadic
#946CFB #FB946C #6CFB94
tetradic
#946CFB #FB6C8B #D3FB6C #6CFBDB
square
#946CFB #FB6C8B #D3FB6C #6CFBDB
split-complementary
#946CFB #FBDB6C #8BFB6C
monochromatic
#4506E6 #6930F9 #946CFB #BFA8FD #E9E1FE

Accessibility & contrast

On white

3.62
#946CFB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.80
#946CFB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #946CFB
5.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##946CFB#FFFFFF#000000##000000
##946CFB1.003.625.805.80
#FFFFFF3.621.0021.0021.00
#0000005.8021.001.001.00
##0000005.8021.001.001.00

Color blindness preview

Protanopia (red-blind)
#1088FF
Deuteranopia (green-blind)
#2484F8
Tritanopia (blue-blind)
#788BA9
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #946cfb;
/* rgb */ color: rgb(148, 108, 251);
/* oklch */ color: oklch(64.1% 0.204 292.6);
Tailwind
colors: {
  custom: {
    50: '#b997fd',
    500: '#946cfb',
    950: '#000000',
  },
}
SCSS
$custom: #946cfb;
$custom-light: #b997fd;
$custom-dark: #000000;
JSON
{
  "hex": "#946cfb",
  "rgb": {
    "r": 148,
    "g": 108,
    "b": 251
  },
  "hsl": {
    "h": 256.783,
    "s": 94.702,
    "l": 70.392
  },
  "oklch": {
    "l": 0.64133,
    "c": 0.20413,
    "h": 292.6
  },
  "luminance": 0.23986
}

Semantic roles & 50–950 ramp

primary
#946CFB
secondary
#EAF5CE
accent
#E600A5
background
#FBF9FF
surface
#F7F2FF
border
#D0CCD7
text
#120E18
muted
#817E86

Preview Lab

Preview with #946CFB

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

Preview Lab → · Contrast checker → · Palette generator →

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