#6646E9#6646E9

#6646E9 is a mid, highly saturated violet. Relative luminance 0.131; OKLCH L 53.2% C 0.231 H 284.3°. Best body text is #FFFFFF at 5.80:1 contrast (WCAG AA passes).

Color values

HEX#6646E9
RGBrgb(102, 70, 233)
HSLhsl(252, 79%, 59%)
HSVhsv(252, 70%, 91%)
CMYKcmyk(56.2%, 70%, 0%, 8.6%)
CIE-LABlab(42.89, 54.87, -77.74)
CIE-LCHlch(42.89, 95.15, 305.22°)
OKLaboklab(53.16% 0.0571 -0.2238)
OKLCHoklch(53.16% 0.231 284.3)
XYZxyz(22.3731, 13.0869, 78.4221)
Luminance0.1309 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6646E9 #C9E946
analogous
#4678E9 #6646E9 #B846E9
triadic
#6646E9 #E96646 #46E966
tetradic
#6646E9 #E94678 #C9E946 #46E9B8
square
#6646E9 #E94678 #C9E946 #46E9B8
split-complementary
#6646E9 #E9B846 #78E946
monochromatic
#2F13A1 #3F1AD8 #6646E9 #937DF0 #C0B3F6

Accessibility & contrast

On white

5.80
#6646E9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.62
#6646E9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6646E9
5.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6646E9#FFFFFF#000000##FFFFFF
##6646E91.005.803.625.80
#FFFFFF5.801.0021.001.00
#0000003.6221.001.0021.00
##FFFFFF5.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006AEE
Deuteranopia (green-blind)
#0060E6
Tritanopia (blue-blind)
#237293
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #6646e9;
/* rgb */ color: rgb(102, 70, 233);
/* oklch */ color: oklch(53.2% 0.231 284.3);
Tailwind
colors: {
  custom: {
    50: '#9e7cf1',
    500: '#6646e9',
    950: '#000000',
  },
}
SCSS
$custom: #6646e9;
$custom-light: #9e7cf1;
$custom-dark: #000000;
JSON
{
  "hex": "#6646e9",
  "rgb": {
    "r": 102,
    "g": 70,
    "b": 233
  },
  "hsl": {
    "h": 251.779,
    "s": 78.744,
    "l": 59.412
  },
  "oklch": {
    "l": 0.53162,
    "c": 0.23094,
    "h": 284.3
  },
  "luminance": 0.13088
}

Semantic roles & 50–950 ramp

primary
#6646E9
secondary
#D9E5A6
accent
#F533CF
background
#FAF7FE
surface
#F4EEFD
border
#CEC9D5
text
#100A17
muted
#7F7C85

Preview Lab

Preview with #6646E9

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

Preview Lab → · Contrast checker → · Palette generator →

#6646E9 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva