#6947E2#6947E2

#6947E2 is a mid, highly saturated violet. Relative luminance 0.130; OKLCH L 53.0% C 0.221 H 286.2°. Best body text is #FFFFFF at 5.83:1 contrast (WCAG AA passes).

Color values

HEX#6947E2
RGBrgb(105, 71, 226)
HSLhsl(253, 73%, 58%)
HSVhsv(253, 69%, 89%)
CMYKcmyk(53.5%, 68.6%, 0%, 11.4%)
CIE-LABlab(42.76, 52.79, -73.97)
CIE-LCHlch(42.76, 90.87, 305.51°)
OKLaboklab(52.95% 0.0617 -0.2126)
OKLCHoklch(52.95% 0.221 286.2)
XYZxyz(21.8023, 12.9995, 73.2971)
Luminance0.1300 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6947E2 #C0E247
analogous
#4772E2 #6947E2 #B647E2
triadic
#6947E2 #E26947 #47E269
tetradic
#6947E2 #E24772 #C0E247 #47E2B6
square
#6947E2 #E24772 #C0E247 #47E2B6
split-complementary
#6947E2 #E2B647 #72E247
monochromatic
#341897 #4620CC #6947E2 #947CEA #BFB1F3

Accessibility & contrast

On white

5.83
#6947E2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.60
#6947E2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6947E2
5.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6947E2#FFFFFF#000000##FFFFFF
##6947E21.005.833.605.83
#FFFFFF5.831.0021.001.00
#0000003.6021.001.0021.00
##FFFFFF5.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0069E7
Deuteranopia (green-blind)
#0060DF
Tritanopia (blue-blind)
#366F8F
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #6947e2;
/* rgb */ color: rgb(105, 71, 226);
/* oklch */ color: oklch(53.0% 0.221 286.2);
Tailwind
colors: {
  custom: {
    50: '#9f7dec',
    500: '#6947e2',
    950: '#000000',
  },
}
SCSS
$custom: #6947e2;
$custom-light: #9f7dec;
$custom-dark: #000000;
JSON
{
  "hex": "#6947e2",
  "rgb": {
    "r": 105,
    "g": 71,
    "b": 226
  },
  "hsl": {
    "h": 253.161,
    "s": 72.77,
    "l": 58.235
  },
  "oklch": {
    "l": 0.52952,
    "c": 0.22139,
    "h": 286.2
  },
  "luminance": 0.13001
}

Semantic roles & 50–950 ramp

primary
#6947E2
secondary
#D4E1A4
accent
#EF38C7
background
#FAF7FE
surface
#F4EEFD
border
#CEC9D5
text
#100A16
muted
#7F7C84

Preview Lab

Preview with #6947E2

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

Preview Lab → · Contrast checker → · Palette generator →

#6947E2 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva