#6745CE#6745CE

#6745CE is a mid, highly saturated violet. Relative luminance 0.116; OKLCH L 50.8% C 0.200 H 288.6°. Best body text is #FFFFFF at 6.33:1 contrast (WCAG AA passes).

Color values

HEX#6745CE
RGBrgb(103, 69, 206)
HSLhsl(255, 58%, 54%)
HSVhsv(255, 67%, 81%)
CMYKcmyk(50%, 66.5%, 0%, 19.2%)
CIE-LABlab(40.57, 47.81, -66.10)
CIE-LCHlch(40.57, 81.58, 305.88°)
OKLaboklab(50.83% 0.0638 -0.1896)
OKLCHoklch(50.83% 0.2 288.6)
XYZxyz(18.8590, 11.5952, 59.6250)
Luminance0.1160 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6745CE #ACCE45
analogous
#4568CE #6745CE #AC45CE
triadic
#6745CE #CE6745 #45CE67
tetradic
#6745CE #CE4568 #ACCE45 #45CEAC
square
#6745CE #CE4568 #ACCE45 #45CEAC
split-complementary
#6745CE #CEAC45 #68CE45
monochromatic
#362079 #4C2DA9 #6745CE #8F75DB #B6A6E8

Accessibility & contrast

On white

6.33
#6745CE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.32
#6745CE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6745CE
6.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6745CE#FFFFFF#000000##FFFFFF
##6745CE1.006.333.326.33
#FFFFFF6.331.0021.001.00
#0000003.3221.001.0021.00
##FFFFFF6.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0063D2
Deuteranopia (green-blind)
#005CCB
Tritanopia (blue-blind)
#436784
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #6745ce;
/* rgb */ color: rgb(103, 69, 206);
/* oklch */ color: oklch(50.8% 0.200 288.6);
Tailwind
colors: {
  custom: {
    50: '#9b7bde',
    500: '#6745ce',
    950: '#000000',
  },
}
SCSS
$custom: #6745ce;
$custom-light: #9b7bde;
$custom-dark: #000000;
JSON
{
  "hex": "#6745ce",
  "rgb": {
    "r": 103,
    "g": 69,
    "b": 206
  },
  "hsl": {
    "h": 254.891,
    "s": 58.298,
    "l": 53.922
  },
  "oklch": {
    "l": 0.5083,
    "c": 0.20003,
    "h": 288.6
  },
  "luminance": 0.11596
}

Semantic roles & 50–950 ramp

primary
#6745CE
secondary
#C6D59A
accent
#E246BB
background
#FAF7FD
surface
#F4EEFB
border
#CEC9D4
text
#0F0915
muted
#7F7B83

Preview Lab

Preview with #6745CE

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

Preview Lab → · Contrast checker → · Palette generator →

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