#6A45EF#6A45EF

#6A45EF is a mid, highly saturated violet. Relative luminance 0.136; OKLCH L 53.9% C 0.238 H 285.1°. Best body text is #FFFFFF at 5.66:1 contrast (WCAG AA passes).

Color values

HEX#6A45EF
RGBrgb(106, 69, 239)
HSLhsl(253, 84%, 60%)
HSVhsv(253, 71%, 94%)
CMYKcmyk(55.6%, 71.1%, 0%, 6.3%)
CIE-LABlab(43.58, 57.65, -79.98)
CIE-LCHlch(43.58, 98.60, 305.79°)
OKLaboklab(53.9% 0.0622 -0.2302)
OKLCHoklch(53.9% 0.238 285.1)
XYZxyz(23.6472, 13.5510, 83.0142)
Luminance0.1355 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6A45EF #CAEF45
analogous
#4575EF #6A45EF #BF45EF
triadic
#6A45EF #EF6A45 #45EF6A
tetradic
#6A45EF #EF4575 #CAEF45 #45EFBF
square
#6A45EF #EF4575 #CAEF45 #45EFBF
split-complementary
#6A45EF #EFBF45 #75EF45
monochromatic
#310FAB #4114E3 #6A45EF #977DF4 #C4B6F9

Accessibility & contrast

On white

5.66
#6A45EF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.71
#6A45EF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6A45EF
5.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6A45EF#FFFFFF#000000##FFFFFF
##6A45EF1.005.663.715.66
#FFFFFF5.661.0021.001.00
#0000003.7121.001.0021.00
##FFFFFF5.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006CF4
Deuteranopia (green-blind)
#0062EC
Tritanopia (blue-blind)
#297396
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #6a45ef;
/* rgb */ color: rgb(106, 69, 239);
/* oklch */ color: oklch(53.9% 0.238 285.1);
Tailwind
colors: {
  custom: {
    50: '#a17cf6',
    500: '#6a45ef',
    950: '#000000',
  },
}
SCSS
$custom: #6a45ef;
$custom-light: #a17cf6;
$custom-dark: #000000;
JSON
{
  "hex": "#6a45ef",
  "rgb": {
    "r": 106,
    "g": 69,
    "b": 239
  },
  "hsl": {
    "h": 253.059,
    "s": 84.158,
    "l": 60.392
  },
  "oklch": {
    "l": 0.53896,
    "c": 0.23847,
    "h": 285.1
  },
  "luminance": 0.13552
}

Semantic roles & 50–950 ramp

primary
#6A45EF
secondary
#DAE8A7
accent
#E105B1
background
#FAF7FF
surface
#F4EEFF
border
#CEC9D7
text
#100A17
muted
#7F7C85

Preview Lab

Preview with #6A45EF

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

Preview Lab → · Contrast checker → · Palette generator →

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