#6B46CF#6B46CF

#6B46CF is a mid, vivid violet. Relative luminance 0.120; OKLCH L 51.4% C 0.200 H 289.9°. Best body text is #FFFFFF at 6.17:1 contrast (WCAG AA passes).

Color values

HEX#6B46CF
RGBrgb(107, 70, 207)
HSLhsl(256, 59%, 54%)
HSVhsv(256, 66%, 81%)
CMYKcmyk(48.3%, 66.2%, 0%, 18.8%)
CIE-LABlab(41.23, 48.27, -65.57)
CIE-LCHlch(41.23, 81.42, 306.36°)
OKLaboklab(51.43% 0.0682 -0.1879)
OKLCHoklch(51.43% 0.2 289.9)
XYZxyz(19.5128, 12.0103, 60.3095)
Luminance0.1201 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6B46CF #AACF46
analogous
#4666CF #6B46CF #AF46CF
triadic
#6B46CF #CF6B46 #46CF6B
tetradic
#6B46CF #CF4666 #AACF46 #46CFAF
square
#6B46CF #CF4666 #AACF46 #46CFAF
split-complementary
#6B46CF #CFAF46 #66CF46
monochromatic
#38207B #4F2CAB #6B46CF #9277DC #B9A7E8

Accessibility & contrast

On white

6.17
#6B46CF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.40
#6B46CF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6B46CF
6.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6B46CF#FFFFFF#000000##FFFFFF
##6B46CF1.006.173.406.17
#FFFFFF6.171.0021.001.00
#0000003.4021.001.0021.00
##FFFFFF6.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0064D3
Deuteranopia (green-blind)
#005ECC
Tritanopia (blue-blind)
#4A6885
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #6b46cf;
/* rgb */ color: rgb(107, 70, 207);
/* oklch */ color: oklch(51.4% 0.200 289.9);
Tailwind
colors: {
  custom: {
    50: '#9d7cdf',
    500: '#6b46cf',
    950: '#000000',
  },
}
SCSS
$custom: #6b46cf;
$custom-light: #9d7cdf;
$custom-dark: #000000;
JSON
{
  "hex": "#6b46cf",
  "rgb": {
    "r": 107,
    "g": 70,
    "b": 207
  },
  "hsl": {
    "h": 256.204,
    "s": 58.798,
    "l": 54.314
  },
  "oklch": {
    "l": 0.51427,
    "c": 0.1999,
    "h": 289.9
  },
  "luminance": 0.12011
}

Semantic roles & 50–950 ramp

primary
#6B46CF
secondary
#C6D59B
accent
#E246B8
background
#FAF7FD
surface
#F4EEFB
border
#CEC9D4
text
#0F0A15
muted
#7F7C83

Preview Lab

Preview with #6B46CF

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

Preview Lab → · Contrast checker → · Palette generator →

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