#6945E4#6945E4

#6945E4 is a mid, highly saturated violet. Relative luminance 0.129; OKLCH L 52.9% C 0.226 H 286.2°. Best body text is #FFFFFF at 5.88:1 contrast (WCAG AA passes).

Color values

HEX#6945E4
RGBrgb(105, 69, 228)
HSLhsl(254, 75%, 58%)
HSVhsv(254, 70%, 89%)
CMYKcmyk(53.9%, 69.7%, 0%, 10.6%)
CIE-LABlab(42.55, 54.40, -75.45)
CIE-LCHlch(42.55, 93.02, 305.79°)
OKLaboklab(52.85% 0.063 -0.217)
OKLCHoklch(52.85% 0.226 286.2)
XYZxyz(21.9532, 12.8597, 74.7091)
Luminance0.1286 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6945E4 #C0E445
analogous
#4570E4 #6945E4 #B845E4
triadic
#6945E4 #E46945 #45E469
tetradic
#6945E4 #E44570 #C0E445 #45E4B8
square
#6945E4 #E44570 #C0E445 #45E4B8
split-complementary
#6945E4 #E4B845 #70E445
monochromatic
#341698 #461ECE #6945E4 #947AEC #BFB0F4

Accessibility & contrast

On white

5.88
#6945E4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.57
#6945E4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6945E4
5.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6945E4#FFFFFF#000000##FFFFFF
##6945E41.005.883.575.88
#FFFFFF5.881.0021.001.00
#0000003.5721.001.0021.00
##FFFFFF5.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0069E9
Deuteranopia (green-blind)
#0060E1
Tritanopia (blue-blind)
#346F90
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #6945e4;
/* rgb */ color: rgb(105, 69, 228);
/* oklch */ color: oklch(52.9% 0.226 286.2);
Tailwind
colors: {
  custom: {
    50: '#9f7cee',
    500: '#6945e4',
    950: '#000000',
  },
}
SCSS
$custom: #6945e4;
$custom-light: #9f7cee;
$custom-dark: #000000;
JSON
{
  "hex": "#6945e4",
  "rgb": {
    "r": 105,
    "g": 69,
    "b": 228
  },
  "hsl": {
    "h": 253.585,
    "s": 74.648,
    "l": 58.235
  },
  "oklch": {
    "l": 0.52853,
    "c": 0.22592,
    "h": 286.2
  },
  "luminance": 0.12861
}

Semantic roles & 50–950 ramp

primary
#6945E4
secondary
#D4E2A3
accent
#F137C7
background
#FAF7FE
surface
#F4EEFD
border
#CEC9D5
text
#100A16
muted
#7F7C84

Preview Lab

Preview with #6945E4

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

Preview Lab → · Contrast checker → · Palette generator →

#6945E4 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva