#6946E8#6946E8

#6946E8 is a mid, highly saturated violet. Relative luminance 0.132; OKLCH L 53.3% C 0.229 H 285.5°. Best body text is #FFFFFF at 5.77:1 contrast (WCAG AA passes).

Color values

HEX#6946E8
RGBrgb(105, 70, 232)
HSLhsl(253, 78%, 59%)
HSVhsv(253, 70%, 91%)
CMYKcmyk(54.7%, 69.8%, 0%, 9%)
CIE-LABlab(43.08, 55.02, -76.86)
CIE-LCHlch(43.08, 94.52, 305.60°)
OKLaboklab(53.33% 0.0614 -0.2211)
OKLCHoklch(53.33% 0.229 285.5)
XYZxyz(22.5770, 13.2085, 77.6881)
Luminance0.1321 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6946E8 #C5E846
analogous
#4674E8 #6946E8 #BA46E8
triadic
#6946E8 #E86946 #46E869
tetradic
#6946E8 #E84674 #C5E846 #46E8BA
square
#6946E8 #E84674 #C5E846 #46E8BA
split-complementary
#6946E8 #E8BA46 #74E846
monochromatic
#3214A0 #431BD6 #6946E8 #957CEF #C1B3F6

Accessibility & contrast

On white

5.77
#6946E8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.64
#6946E8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6946E8
5.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6946E8#FFFFFF#000000##FFFFFF
##6946E81.005.773.645.77
#FFFFFF5.771.0021.001.00
#0000003.6421.001.0021.00
##FFFFFF5.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006AED
Deuteranopia (green-blind)
#0061E5
Tritanopia (blue-blind)
#2F7192
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #6946e8;
/* rgb */ color: rgb(105, 70, 232);
/* oklch */ color: oklch(53.3% 0.229 285.5);
Tailwind
colors: {
  custom: {
    50: '#a07cf1',
    500: '#6946e8',
    950: '#000000',
  },
}
SCSS
$custom: #6946e8;
$custom-light: #a07cf1;
$custom-dark: #000000;
JSON
{
  "hex": "#6946e8",
  "rgb": {
    "r": 105,
    "g": 70,
    "b": 232
  },
  "hsl": {
    "h": 252.963,
    "s": 77.885,
    "l": 59.216
  },
  "oklch": {
    "l": 0.5333,
    "c": 0.22948,
    "h": 285.5
  },
  "luminance": 0.1321
}

Semantic roles & 50–950 ramp

primary
#6946E8
secondary
#D7E5A5
accent
#F433CB
background
#FAF7FE
surface
#F4EEFD
border
#CEC9D5
text
#100A17
muted
#7F7C85

Preview Lab

Preview with #6946E8

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

Preview Lab → · Contrast checker → · Palette generator →

#6946E8 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva