#6A45D7#6A45D7

#6A45D7 is a mid, highly saturated violet. Relative luminance 0.122; OKLCH L 51.8% C 0.211 H 288.4°. Best body text is #FFFFFF at 6.10:1 contrast (WCAG AA passes).

Color values

HEX#6A45D7
RGBrgb(106, 69, 215)
HSLhsl(255, 65%, 56%)
HSVhsv(255, 68%, 84%)
CMYKcmyk(50.7%, 67.9%, 0%, 15.7%)
CIE-LABlab(41.57, 50.88, -69.63)
CIE-LCHlch(41.57, 86.24, 306.16°)
OKLaboklab(51.85% 0.0666 -0.1998)
OKLCHoklch(51.85% 0.211 288.4)
XYZxyz(20.3341, 12.2258, 65.5652)
Luminance0.1223 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6A45D7 #B2D745
analogous
#4569D7 #6A45D7 #B345D7
triadic
#6A45D7 #D76A45 #45D76A
tetradic
#6A45D7 #D74569 #B2D745 #45D7B3
square
#6A45D7 #D74569 #B2D745 #45D7B3
split-complementary
#6A45D7 #D7B345 #69D745
monochromatic
#371D85 #4C27B7 #6A45D7 #9277E2 #BBAAED

Accessibility & contrast

On white

6.10
#6A45D7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.45
#6A45D7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6A45D7
6.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6A45D7#FFFFFF#000000##FFFFFF
##6A45D71.006.103.456.10
#FFFFFF6.101.0021.001.00
#0000003.4521.001.0021.00
##FFFFFF6.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0065DB
Deuteranopia (green-blind)
#005ED4
Tritanopia (blue-blind)
#426A89
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #6a45d7;
/* rgb */ color: rgb(106, 69, 215);
/* oklch */ color: oklch(51.8% 0.211 288.4);
Tailwind
colors: {
  custom: {
    50: '#9e7be4',
    500: '#6a45d7',
    950: '#000000',
  },
}
SCSS
$custom: #6a45d7;
$custom-light: #9e7be4;
$custom-dark: #000000;
JSON
{
  "hex": "#6a45d7",
  "rgb": {
    "r": 106,
    "g": 69,
    "b": 215
  },
  "hsl": {
    "h": 255.205,
    "s": 64.602,
    "l": 55.686
  },
  "oklch": {
    "l": 0.51845,
    "c": 0.21065,
    "h": 288.4
  },
  "luminance": 0.12227
}

Semantic roles & 50–950 ramp

primary
#6A45D7
secondary
#CBDA9E
accent
#E840BD
background
#FAF7FE
surface
#F4EEFC
border
#CEC9D5
text
#0F0916
muted
#7F7B84

Preview Lab

Preview with #6A45D7

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

Preview Lab → · Contrast checker → · Palette generator →

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