#6D45DE#6D45DE

#6D45DE is a mid, highly saturated violet. Relative luminance 0.128; OKLCH L 52.7% C 0.219 H 288.5°. Best body text is #FFFFFF at 5.91:1 contrast (WCAG AA passes).

Color values

HEX#6D45DE
RGBrgb(109, 69, 222)
HSLhsl(256, 70%, 57%)
HSVhsv(256, 69%, 87%)
CMYKcmyk(50.9%, 68.9%, 0%, 12.9%)
CIE-LABlab(42.43, 53.34, -72.22)
CIE-LCHlch(42.43, 89.78, 306.45°)
OKLaboklab(52.7% 0.0696 -0.2074)
OKLCHoklch(52.7% 0.219 288.5)
XYZxyz(21.6158, 12.7804, 70.4210)
Luminance0.1278 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6D45DE #B6DE45
analogous
#456ADE #6D45DE #B945DE
triadic
#6D45DE #DE6D45 #45DE6D
tetradic
#6D45DE #DE456A #B6DE45 #45DEB9
square
#6D45DE #DE456A #B6DE45 #45DEB9
split-complementary
#6D45DE #DEB945 #6ADE45
monochromatic
#38198F #4D23C3 #6D45DE #9679E7 #BFADF0

Accessibility & contrast

On white

5.91
#6D45DE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.56
#6D45DE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6D45DE
5.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6D45DE#FFFFFF#000000##FFFFFF
##6D45DE1.005.913.565.91
#FFFFFF5.911.0021.001.00
#0000003.5621.001.0021.00
##FFFFFF5.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0067E3
Deuteranopia (green-blind)
#0060DB
Tritanopia (blue-blind)
#436C8C
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #6d45de;
/* rgb */ color: rgb(109, 69, 222);
/* oklch */ color: oklch(52.7% 0.219 288.5);
Tailwind
colors: {
  custom: {
    50: '#a17ce9',
    500: '#6d45de',
    950: '#000000',
  },
}
SCSS
$custom: #6d45de;
$custom-light: #a17ce9;
$custom-dark: #000000;
JSON
{
  "hex": "#6d45de",
  "rgb": {
    "r": 109,
    "g": 69,
    "b": 222
  },
  "hsl": {
    "h": 255.686,
    "s": 69.863,
    "l": 57.059
  },
  "oklch": {
    "l": 0.52704,
    "c": 0.21871,
    "h": 288.5
  },
  "luminance": 0.12781
}

Semantic roles & 50–950 ramp

primary
#6D45DE
secondary
#CEDFA0
accent
#ED3BBE
background
#FAF7FE
surface
#F4EEFD
border
#CEC9D5
text
#100A16
muted
#7F7C84

Preview Lab

Preview with #6D45DE

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

Preview Lab → · Contrast checker → · Palette generator →

#6D45DE Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva