#6B46E4#6B46E4

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

Color values

HEX#6B46E4
RGBrgb(107, 70, 228)
HSLhsl(254, 75%, 58%)
HSVhsv(254, 69%, 89%)
CMYKcmyk(53.1%, 69.3%, 0%, 10.6%)
CIE-LABlab(42.92, 54.19, -74.83)
CIE-LCHlch(42.92, 92.39, 305.91°)
OKLaboklab(53.16% 0.0649 -0.2151)
OKLCHoklch(53.16% 0.225 286.8)
XYZxyz(22.2530, 13.1064, 74.7410)
Luminance0.1311 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6B46E4 #BFE446
analogous
#4670E4 #6B46E4 #BA46E4
triadic
#6B46E4 #E46B46 #46E46B
tetradic
#6B46E4 #E44670 #BFE446 #46E4BA
square
#6B46E4 #E44670 #BFE446 #46E4BA
split-complementary
#6B46E4 #E4BA46 #70E446
monochromatic
#351699 #471ECF #6B46E4 #967BEC #C0B1F4

Accessibility & contrast

On white

5.80
#6B46E4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.62
#6B46E4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6B46E4
5.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6B46E4#FFFFFF#000000##FFFFFF
##6B46E41.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)
#0069E9
Deuteranopia (green-blind)
#0061E1
Tritanopia (blue-blind)
#396F90
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #6b46e4;
/* rgb */ color: rgb(107, 70, 228);
/* oklch */ color: oklch(53.2% 0.225 286.8);
Tailwind
colors: {
  custom: {
    50: '#a07cee',
    500: '#6b46e4',
    950: '#000000',
  },
}
SCSS
$custom: #6b46e4;
$custom-light: #a07cee;
$custom-dark: #000000;
JSON
{
  "hex": "#6b46e4",
  "rgb": {
    "r": 107,
    "g": 70,
    "b": 228
  },
  "hsl": {
    "h": 254.051,
    "s": 74.528,
    "l": 58.431
  },
  "oklch": {
    "l": 0.53163,
    "c": 0.22467,
    "h": 286.8
  },
  "luminance": 0.13108
}

Semantic roles & 50–950 ramp

primary
#6B46E4
secondary
#D4E2A4
accent
#F137C5
background
#FAF7FE
surface
#F4EEFD
border
#CEC9D5
text
#100A16
muted
#7F7C84

Preview Lab

Preview with #6B46E4

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

Preview Lab → · Contrast checker → · Palette generator →

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