#6745CB#6745CB

#6745CB is a mid, vivid violet. Relative luminance 0.115; OKLCH L 50.6% C 0.196 H 289.1°. Best body text is #FFFFFF at 6.38:1 contrast (WCAG AA passes).

Color values

HEX#6745CB
RGBrgb(103, 69, 203)
HSLhsl(255, 56%, 53%)
HSVhsv(255, 66%, 80%)
CMYKcmyk(49.3%, 66%, 0%, 20.4%)
CIE-LABlab(40.33, 46.96, -64.75)
CIE-LCHlch(40.33, 79.98, 305.95°)
OKLaboklab(50.59% 0.0642 -0.1856)
OKLCHoklch(50.59% 0.196 289.1)
XYZxyz(18.4980, 11.4508, 57.7239)
Luminance0.1145 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6745CB #A9CB45
analogous
#4566CB #6745CB #AA45CB
triadic
#6745CB #CB6745 #45CB67
tetradic
#6745CB #CB4566 #A9CB45 #45CBAA
square
#6745CB #CB4566 #A9CB45 #45CBAA
split-complementary
#6745CB #CBAA45 #66CB45
monochromatic
#362175 #4C2EA5 #6745CB #8E75D8 #B5A5E6

Accessibility & contrast

On white

6.38
#6745CB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.29
#6745CB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6745CB
6.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6745CB#FFFFFF#000000##FFFFFF
##6745CB1.006.383.296.38
#FFFFFF6.381.0021.001.00
#0000003.2921.001.0021.00
##FFFFFF6.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0062CF
Deuteranopia (green-blind)
#005CC8
Tritanopia (blue-blind)
#456682
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #6745cb;
/* rgb */ color: rgb(103, 69, 203);
/* oklch */ color: oklch(50.6% 0.196 289.1);
Tailwind
colors: {
  custom: {
    50: '#9b7bdc',
    500: '#6745cb',
    950: '#000000',
  },
}
SCSS
$custom: #6745cb;
$custom-light: #9b7bdc;
$custom-dark: #000000;
JSON
{
  "hex": "#6745cb",
  "rgb": {
    "r": 103,
    "g": 69,
    "b": 203
  },
  "hsl": {
    "h": 255.224,
    "s": 56.303,
    "l": 53.333
  },
  "oklch": {
    "l": 0.50587,
    "c": 0.19641,
    "h": 289.1
  },
  "luminance": 0.11452
}

Semantic roles & 50–950 ramp

primary
#6745CB
secondary
#C4D399
accent
#E048B9
background
#FAF7FD
surface
#F3EEFB
border
#CDC9D4
text
#0F0915
muted
#7F7B83

Preview Lab

Preview with #6745CB

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

Preview Lab → · Contrast checker → · Palette generator →

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