#946AFA#946AFA

#946AFA is a light, highly saturated violet. Relative luminance 0.235; OKLCH L 63.8% C 0.206 H 293.1°. Best body text is #000000 at 5.70:1 contrast (WCAG AA passes).

Color values

HEX#946AFA
RGBrgb(148, 106, 250)
HSLhsl(258, 94%, 70%)
HSVhsv(258, 58%, 98%)
CMYKcmyk(40.8%, 57.6%, 0%, 2%)
CIE-LABlab(55.59, 48.50, -66.42)
CIE-LCHlch(55.59, 82.24, 306.13°)
OKLaboklab(63.76% 0.0807 -0.1891)
OKLCHoklch(63.76% 0.206 293.1)
XYZxyz(34.6174, 23.5052, 93.1370)
Luminance0.2351 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#946AFA #D0FA6A
analogous
#6A88FA #946AFA #DC6AFA
triadic
#946AFA #FA946A #6AFA94
tetradic
#946AFA #FA6A88 #D0FA6A #6AFADC
square
#946AFA #FA6A88 #D0FA6A #6AFADC
split-complementary
#946AFA #FADC6A #88FA6A
monochromatic
#4708E2 #692FF8 #946AFA #BFA5FC #E9E0FE

Accessibility & contrast

On white

3.68
#946AFA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.70
#946AFA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #946AFA
5.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##946AFA#FFFFFF#000000##000000
##946AFA1.003.685.705.70
#FFFFFF3.681.0021.0021.00
#0000005.7021.001.001.00
##0000005.7021.001.001.00

Color blindness preview

Protanopia (red-blind)
#0387FF
Deuteranopia (green-blind)
#2183F7
Tritanopia (blue-blind)
#7989A8
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #946afa;
/* rgb */ color: rgb(148, 106, 250);
/* oklch */ color: oklch(63.8% 0.206 293.1);
Tailwind
colors: {
  custom: {
    50: '#b996fd',
    500: '#946afa',
    950: '#000000',
  },
}
SCSS
$custom: #946afa;
$custom-light: #b996fd;
$custom-dark: #000000;
JSON
{
  "hex": "#946afa",
  "rgb": {
    "r": 148,
    "g": 106,
    "b": 250
  },
  "hsl": {
    "h": 257.5,
    "s": 93.506,
    "l": 69.804
  },
  "oklch": {
    "l": 0.63757,
    "c": 0.20562,
    "h": 293.1
  },
  "luminance": 0.23506
}

Semantic roles & 50–950 ramp

primary
#946AFA
secondary
#E8F4CC
accent
#E600A3
background
#FBF9FF
surface
#F7F2FF
border
#D0CCD7
text
#120D18
muted
#817E86

Preview Lab

Preview with #946AFA

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

Preview Lab → · Contrast checker → · Palette generator →

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