#6745A2#6745A2

#6745A2 is a mid, vivid violet. Relative luminance 0.097; OKLCH L 47.5% C 0.145 H 297.5°. Best body text is #FFFFFF at 7.12:1 contrast (WCAG AA passes).

Color values

HEX#6745A2
RGBrgb(103, 69, 162)
HSLhsl(262, 40%, 45%)
HSVhsv(262, 57%, 64%)
CMYKcmyk(36.4%, 57.4%, 0%, 36.5%)
CIE-LABlab(37.39, 35.45, -45.36)
CIE-LCHlch(37.39, 57.57, 308.01°)
OKLaboklab(47.51% 0.0668 -0.1286)
OKLCHoklch(47.51% 0.145 297.5)
XYZxyz(14.2416, 9.7482, 35.3067)
Luminance0.0975 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6745A2 #80A245
analogous
#4552A2 #6745A2 #9545A2
triadic
#6745A2 #A26745 #45A267
tetradic
#6745A2 #A24552 #80A245 #45A295
square
#6745A2 #A24552 #80A245 #45A295
split-complementary
#6745A2 #A29545 #52A245
monochromatic
#30204C #4C3377 #6745A2 #8666BE #A891D0

Accessibility & contrast

On white

7.12
#6745A2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.95
#6745A2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6745A2
7.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6745A2#FFFFFF#000000##FFFFFF
##6745A21.007.122.957.12
#FFFFFF7.121.0021.001.00
#0000002.9521.001.0021.00
##FFFFFF7.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1858A5
Deuteranopia (green-blind)
#2557A0
Tritanopia (blue-blind)
#5A586D
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #6745a2;
/* rgb */ color: rgb(103, 69, 162);
/* oklch */ color: oklch(47.5% 0.145 297.5);
Tailwind
colors: {
  custom: {
    50: '#967abe',
    500: '#6745a2',
    950: '#000000',
  },
}
SCSS
$custom: #6745a2;
$custom-light: #967abe;
$custom-dark: #000000;
JSON
{
  "hex": "#6745a2",
  "rgb": {
    "r": 103,
    "g": 69,
    "b": 162
  },
  "hsl": {
    "h": 261.935,
    "s": 40.26,
    "l": 45.294
  },
  "oklch": {
    "l": 0.47514,
    "c": 0.14494,
    "h": 297.5
  },
  "luminance": 0.09748
}

Semantic roles & 50–950 ramp

primary
#6745A2
secondary
#A8BC87
accent
#D058A4
background
#F9F7FB
surface
#F2EDF7
border
#CCC8D0
text
#0E0912
muted
#7E7B81

Preview Lab

Preview with #6745A2

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

Preview Lab → · Contrast checker → · Palette generator →

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