#6754AE#6754AE

#6754AE is a mid, vivid violet. Relative luminance 0.123; OKLCH L 50.9% C 0.138 H 290.3°. Best body text is #FFFFFF at 6.08:1 contrast (WCAG AA passes).

Color values

HEX#6754AE
RGBrgb(103, 84, 174)
HSLhsl(253, 36%, 51%)
HSVhsv(253, 52%, 68%)
CMYKcmyk(40.8%, 51.7%, 0%, 31.8%)
CIE-LABlab(41.66, 29.85, -45.65)
CIE-LCHlch(41.66, 54.54, 303.18°)
OKLaboklab(50.92% 0.048 -0.1294)
OKLCHoklch(50.92% 0.138 290.3)
XYZxyz(16.4017, 12.2797, 41.5422)
Luminance0.1228 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6754AE #9BAE54
analogous
#546EAE #6754AE #9454AE
triadic
#6754AE #AE6754 #54AE67
tetradic
#6754AE #AE546E #9BAE54 #54AE94
square
#6754AE #AE546E #9BAE54 #54AE94
split-complementary
#6754AE #AE9454 #6EAE54
monochromatic
#362C5C #4E3F86 #6754AE #8C7EC2 #B1A7D5

Accessibility & contrast

On white

6.08
#6754AE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.46
#6754AE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6754AE
6.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6754AE#FFFFFF#000000##FFFFFF
##6754AE1.006.083.466.08
#FFFFFF6.081.0021.001.00
#0000003.4621.001.0021.00
##FFFFFF6.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2E64B1
Deuteranopia (green-blind)
#3060AC
Tritanopia (blue-blind)
#546779
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #6754ae;
/* rgb */ color: rgb(103, 84, 174);
/* oklch */ color: oklch(50.9% 0.138 290.3);
Tailwind
colors: {
  custom: {
    50: '#9684c7',
    500: '#6754ae',
    950: '#000000',
  },
}
SCSS
$custom: #6754ae;
$custom-light: #9684c7;
$custom-dark: #000000;
JSON
{
  "hex": "#6754ae",
  "rgb": {
    "r": 103,
    "g": 84,
    "b": 174
  },
  "hsl": {
    "h": 252.667,
    "s": 35.714,
    "l": 50.588
  },
  "oklch": {
    "l": 0.50922,
    "c": 0.13807,
    "h": 290.3
  },
  "luminance": 0.1228
}

Semantic roles & 50–950 ramp

primary
#6754AE
secondary
#BAC39B
accent
#CC5CB4
background
#F9F8FC
surface
#F2EFF8
border
#CCCAD1
text
#0E0B13
muted
#7E7C82

Preview Lab

Preview with #6754AE

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

Preview Lab → · Contrast checker → · Palette generator →

#6754AE Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva