#6A46E7#6A46E7

#6A46E7 is a mid, highly saturated violet. Relative luminance 0.132; OKLCH L 53.3% C 0.228 H 286.0°. Best body text is #FFFFFF at 5.76:1 contrast (WCAG AA passes).

Color values

HEX#6A46E7
RGBrgb(106, 70, 231)
HSLhsl(253, 77%, 59%)
HSVhsv(253, 70%, 91%)
CMYKcmyk(54.1%, 69.7%, 0%, 9.4%)
CIE-LABlab(43.08, 54.88, -76.28)
CIE-LCHlch(43.08, 93.97, 305.74°)
OKLaboklab(53.33% 0.063 -0.2194)
OKLCHoklch(53.33% 0.228 286)
XYZxyz(22.5535, 13.2128, 76.9477)
Luminance0.1321 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6A46E7 #C3E746
analogous
#4673E7 #6A46E7 #BB46E7
triadic
#6A46E7 #E76A46 #46E76A
tetradic
#6A46E7 #E74673 #C3E746 #46E7BB
square
#6A46E7 #E74673 #C3E746 #46E7BB
split-complementary
#6A46E7 #E7BB46 #73E746
monochromatic
#33159E #451CD4 #6A46E7 #967CEE #C1B2F5

Accessibility & contrast

On white

5.76
#6A46E7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.64
#6A46E7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6A46E7
5.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6A46E7#FFFFFF#000000##FFFFFF
##6A46E71.005.763.645.76
#FFFFFF5.761.0021.001.00
#0000003.6421.001.0021.00
##FFFFFF5.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006AEC
Deuteranopia (green-blind)
#0061E4
Tritanopia (blue-blind)
#337192
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #6a46e7;
/* rgb */ color: rgb(106, 70, 231);
/* oklch */ color: oklch(53.3% 0.228 286.0);
Tailwind
colors: {
  custom: {
    50: '#a07cf0',
    500: '#6a46e7',
    950: '#000000',
  },
}
SCSS
$custom: #6a46e7;
$custom-light: #a07cf0;
$custom-dark: #000000;
JSON
{
  "hex": "#6a46e7",
  "rgb": {
    "r": 106,
    "g": 70,
    "b": 231
  },
  "hsl": {
    "h": 253.416,
    "s": 77.033,
    "l": 59.02
  },
  "oklch": {
    "l": 0.53331,
    "c": 0.22823,
    "h": 286
  },
  "luminance": 0.13214
}

Semantic roles & 50–950 ramp

primary
#6A46E7
secondary
#D6E4A5
accent
#F434C9
background
#FAF7FE
surface
#F4EEFD
border
#CEC9D5
text
#100A17
muted
#7F7C85

Preview Lab

Preview with #6A46E7

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

Preview Lab → · Contrast checker → · Palette generator →

#6A46E7 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva