#6745CA#6745CA

#6745CA is a mid, vivid violet. Relative luminance 0.114; OKLCH L 50.5% C 0.195 H 289.2°. Best body text is #FFFFFF at 6.40:1 contrast (WCAG AA passes).

Color values

HEX#6745CA
RGBrgb(103, 69, 202)
HSLhsl(255, 56%, 53%)
HSVhsv(255, 66%, 79%)
CMYKcmyk(49%, 65.8%, 0%, 20.8%)
CIE-LABlab(40.25, 46.67, -64.30)
CIE-LCHlch(40.25, 79.45, 305.97°)
OKLaboklab(50.51% 0.0643 -0.1843)
OKLCHoklch(50.51% 0.195 289.2)
XYZxyz(18.3792, 11.4033, 57.0983)
Luminance0.1140 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6745CA #A8CA45
analogous
#4565CA #6745CA #A945CA
triadic
#6745CA #CA6745 #45CA67
tetradic
#6745CA #CA4565 #A8CA45 #45CAA9
square
#6745CA #CA4565 #A8CA45 #45CAA9
split-complementary
#6745CA #CAA945 #65CA45
monochromatic
#362174 #4C2FA3 #6745CA #8E75D8 #B5A4E5

Accessibility & contrast

On white

6.40
#6745CA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.28
#6745CA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6745CA
6.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6745CA#FFFFFF#000000##FFFFFF
##6745CA1.006.403.286.40
#FFFFFF6.401.0021.001.00
#0000003.2821.001.0021.00
##FFFFFF6.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0062CE
Deuteranopia (green-blind)
#005CC7
Tritanopia (blue-blind)
#456681
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #6745ca;
/* rgb */ color: rgb(103, 69, 202);
/* oklch */ color: oklch(50.5% 0.195 289.2);
Tailwind
colors: {
  custom: {
    50: '#9b7bdb',
    500: '#6745ca',
    950: '#000000',
  },
}
SCSS
$custom: #6745ca;
$custom-light: #9b7bdb;
$custom-dark: #000000;
JSON
{
  "hex": "#6745ca",
  "rgb": {
    "r": 103,
    "g": 69,
    "b": 202
  },
  "hsl": {
    "h": 255.338,
    "s": 55.649,
    "l": 53.137
  },
  "oklch": {
    "l": 0.50506,
    "c": 0.19519,
    "h": 289.2
  },
  "luminance": 0.11404
}

Semantic roles & 50–950 ramp

primary
#6745CA
secondary
#C3D299
accent
#DF49B9
background
#FAF7FD
surface
#F3EEFB
border
#CDC9D4
text
#0F0915
muted
#7F7B83

Preview Lab

Preview with #6745CA

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

Preview Lab → · Contrast checker → · Palette generator →

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