#6746DF#6746DF

#6746DF is a mid, highly saturated violet. Relative luminance 0.126; OKLCH L 52.4% C 0.219 H 286.0°. Best body text is #FFFFFF at 5.97:1 contrast (WCAG AA passes).

Color values

HEX#6746DF
RGBrgb(103, 70, 223)
HSLhsl(253, 71%, 57%)
HSVhsv(253, 69%, 87%)
CMYKcmyk(53.8%, 68.6%, 0%, 12.5%)
CIE-LABlab(42.14, 52.14, -73.29)
CIE-LCHlch(42.14, 89.94, 305.43°)
OKLaboklab(52.39% 0.0603 -0.2107)
OKLCHoklch(52.39% 0.219 286)
XYZxyz(21.0990, 12.5904, 71.1162)
Luminance0.1259 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6746DF #BEDF46
analogous
#4672DF #6746DF #B346DF
triadic
#6746DF #DF6746 #46DF67
tetradic
#6746DF #DF4672 #BEDF46 #46DFB3
square
#6746DF #DF4672 #BEDF46 #46DFB3
split-complementary
#6746DF #DFB346 #72DF46
monochromatic
#331991 #4522C6 #6746DF #927AE8 #BDAEF1

Accessibility & contrast

On white

5.97
#6746DF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.52
#6746DF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6746DF
5.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6746DF#FFFFFF#000000##FFFFFF
##6746DF1.005.973.525.97
#FFFFFF5.971.0021.001.00
#0000003.5221.001.0021.00
##FFFFFF5.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0067E4
Deuteranopia (green-blind)
#005FDC
Tritanopia (blue-blind)
#336E8D
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #6746df;
/* rgb */ color: rgb(103, 70, 223);
/* oklch */ color: oklch(52.4% 0.219 286.0);
Tailwind
colors: {
  custom: {
    50: '#9d7cea',
    500: '#6746df',
    950: '#000000',
  },
}
SCSS
$custom: #6746df;
$custom-light: #9d7cea;
$custom-dark: #000000;
JSON
{
  "hex": "#6746df",
  "rgb": {
    "r": 103,
    "g": 70,
    "b": 223
  },
  "hsl": {
    "h": 252.941,
    "s": 70.507,
    "l": 57.451
  },
  "oklch": {
    "l": 0.52386,
    "c": 0.21914,
    "h": 286
  },
  "luminance": 0.12592
}

Semantic roles & 50–950 ramp

primary
#6746DF
secondary
#D2DFA2
accent
#ED3BC7
background
#FAF7FE
surface
#F4EEFD
border
#CEC9D5
text
#100A16
muted
#7F7C84

Preview Lab

Preview with #6746DF

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

Preview Lab → · Contrast checker → · Palette generator →

#6746DF Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva