#6745E6#6745E6

#6745E6 is a mid, highly saturated violet. Relative luminance 0.129; OKLCH L 52.9% C 0.228 H 285.2°. Best body text is #FFFFFF at 5.88:1 contrast (WCAG AA passes).

Color values

HEX#6745E6
RGBrgb(103, 69, 230)
HSLhsl(253, 76%, 59%)
HSVhsv(253, 70%, 90%)
CMYKcmyk(55.2%, 70%, 0%, 9.8%)
CIE-LABlab(42.54, 54.67, -76.61)
CIE-LCHlch(42.54, 94.12, 305.51°)
OKLaboklab(52.85% 0.0599 -0.2204)
OKLCHoklch(52.85% 0.228 285.2)
XYZxyz(22.0002, 12.8517, 76.1689)
Luminance0.1285 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6745E6 #C4E645
analogous
#4573E6 #6745E6 #B745E6
triadic
#6745E6 #E66745 #45E667
tetradic
#6745E6 #E64573 #C4E645 #45E6B7
square
#6745E6 #E64573 #C4E645 #45E6B7
split-complementary
#6745E6 #E6B745 #73E645
monochromatic
#31159C #421CD2 #6745E6 #937BED #BFB1F5

Accessibility & contrast

On white

5.88
#6745E6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.57
#6745E6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6745E6
5.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6745E6#FFFFFF#000000##FFFFFF
##6745E61.005.883.575.88
#FFFFFF5.881.0021.001.00
#0000003.5721.001.0021.00
##FFFFFF5.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0069EB
Deuteranopia (green-blind)
#005FE3
Tritanopia (blue-blind)
#2B7091
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #6745e6;
/* rgb */ color: rgb(103, 69, 230);
/* oklch */ color: oklch(52.9% 0.228 285.2);
Tailwind
colors: {
  custom: {
    50: '#9e7cef',
    500: '#6745e6',
    950: '#000000',
  },
}
SCSS
$custom: #6745e6;
$custom-light: #9e7cef;
$custom-dark: #000000;
JSON
{
  "hex": "#6745e6",
  "rgb": {
    "r": 103,
    "g": 69,
    "b": 230
  },
  "hsl": {
    "h": 252.671,
    "s": 76.303,
    "l": 58.627
  },
  "oklch": {
    "l": 0.52852,
    "c": 0.22842,
    "h": 285.2
  },
  "luminance": 0.12853
}

Semantic roles & 50–950 ramp

primary
#6745E6
secondary
#D6E3A4
accent
#F335CB
background
#FAF7FE
surface
#F4EEFD
border
#CEC9D5
text
#100A17
muted
#7F7C85

Preview Lab

Preview with #6745E6

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

Preview Lab → · Contrast checker → · Palette generator →

#6745E6 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva