#6B46DF#6B46DF

#6B46DF is a mid, highly saturated violet. Relative luminance 0.128; OKLCH L 52.7% C 0.219 H 287.5°. Best body text is #FFFFFF at 5.89:1 contrast (WCAG AA passes).

Color values

HEX#6B46DF
RGBrgb(107, 70, 223)
HSLhsl(255, 71%, 57%)
HSVhsv(255, 69%, 87%)
CMYKcmyk(52%, 68.6%, 0%, 12.5%)
CIE-LABlab(42.51, 52.78, -72.66)
CIE-LCHlch(42.51, 89.81, 305.99°)
OKLaboklab(52.74% 0.0658 -0.2087)
OKLCHoklch(52.74% 0.219 287.5)
XYZxyz(21.5689, 12.8328, 71.1382)
Luminance0.1283 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6B46DF #BADF46
analogous
#466DDF #6B46DF #B846DF
triadic
#6B46DF #DF6B46 #46DF6B
tetradic
#6B46DF #DF466D #BADF46 #46DFB8
square
#6B46DF #DF466D #BADF46 #46DFB8
split-complementary
#6B46DF #DFB846 #6DDF46
monochromatic
#361991 #4A22C6 #6B46DF #957AE8 #BEAEF1

Accessibility & contrast

On white

5.89
#6B46DF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.57
#6B46DF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6B46DF
5.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6B46DF#FFFFFF#000000##FFFFFF
##6B46DF1.005.893.575.89
#FFFFFF5.891.0021.001.00
#0000003.5721.001.0021.00
##FFFFFF5.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0068E4
Deuteranopia (green-blind)
#0060DC
Tritanopia (blue-blind)
#3E6D8D
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #6b46df;
/* rgb */ color: rgb(107, 70, 223);
/* oklch */ color: oklch(52.7% 0.219 287.5);
Tailwind
colors: {
  custom: {
    50: '#a07cea',
    500: '#6b46df',
    950: '#000000',
  },
}
SCSS
$custom: #6b46df;
$custom-light: #a07cea;
$custom-dark: #000000;
JSON
{
  "hex": "#6b46df",
  "rgb": {
    "r": 107,
    "g": 70,
    "b": 223
  },
  "hsl": {
    "h": 254.51,
    "s": 70.507,
    "l": 57.451
  },
  "oklch": {
    "l": 0.5274,
    "c": 0.21885,
    "h": 287.5
  },
  "luminance": 0.12834
}

Semantic roles & 50–950 ramp

primary
#6B46DF
secondary
#D0DFA2
accent
#ED3BC2
background
#FAF7FE
surface
#F4EEFD
border
#CEC9D5
text
#100A16
muted
#7F7C84

Preview Lab

Preview with #6B46DF

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

Preview Lab → · Contrast checker → · Palette generator →

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