#6740ED#6740ED

#6740ED is a mid, highly saturated violet. Relative luminance 0.127; OKLCH L 52.8% C 0.242 H 284.9°. Best body text is #FFFFFF at 5.94:1 contrast (WCAG AA passes).

Color values

HEX#6740ED
RGBrgb(103, 64, 237)
HSLhsl(254, 83%, 59%)
HSVhsv(254, 73%, 93%)
CMYKcmyk(56.5%, 73%, 0%, 7.1%)
CIE-LABlab(42.25, 59.17, -81.05)
CIE-LCHlch(42.25, 100.35, 306.13°)
OKLaboklab(52.84% 0.0622 -0.2334)
OKLCHoklch(52.84% 0.242 284.9)
XYZxyz(22.7083, 12.6634, 81.3520)
Luminance0.1267 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6740ED #C6ED40
analogous
#4070ED #6740ED #BE40ED
triadic
#6740ED #ED6740 #40ED67
tetradic
#6740ED #ED4070 #C6ED40 #40EDBE
square
#6740ED #ED4070 #C6ED40 #40EDBE
split-complementary
#6740ED #EDBE40 #70ED40
monochromatic
#310FA3 #4115DB #6740ED #9478F2 #C0B0F8

Accessibility & contrast

On white

5.94
#6740ED on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.53
#6740ED on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6740ED
5.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6740ED#FFFFFF#000000##FFFFFF
##6740ED1.005.943.535.94
#FFFFFF5.941.0021.001.00
#0000003.5321.001.0021.00
##FFFFFF5.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0069F2
Deuteranopia (green-blind)
#005EEA
Tritanopia (blue-blind)
#217093
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #6740ed;
/* rgb */ color: rgb(103, 64, 237);
/* oklch */ color: oklch(52.8% 0.242 284.9);
Tailwind
colors: {
  custom: {
    50: '#a079f4',
    500: '#6740ed',
    950: '#000000',
  },
}
SCSS
$custom: #6740ed;
$custom-light: #a079f4;
$custom-dark: #000000;
JSON
{
  "hex": "#6740ed",
  "rgb": {
    "r": 103,
    "g": 64,
    "b": 237
  },
  "hsl": {
    "h": 253.526,
    "s": 82.775,
    "l": 59.02
  },
  "oklch": {
    "l": 0.52835,
    "c": 0.24154,
    "h": 284.9
  },
  "luminance": 0.12665
}

Semantic roles & 50–950 ramp

primary
#6740ED
secondary
#D7E6A2
accent
#F92FCB
background
#FAF7FF
surface
#F4EEFF
border
#CEC9D7
text
#100917
muted
#7F7B85

Preview Lab

Preview with #6740ED

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

Preview Lab → · Contrast checker → · Palette generator →

#6740ED Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva