#6947EF#6947EF

#6947EF is a mid, highly saturated violet. Relative luminance 0.137; OKLCH L 54.1% C 0.236 H 284.5°. Best body text is #FFFFFF at 5.60:1 contrast (WCAG AA passes).

Color values

HEX#6947EF
RGBrgb(105, 71, 239)
HSLhsl(252, 84%, 61%)
HSVhsv(252, 70%, 94%)
CMYKcmyk(56.1%, 70.3%, 0%, 6.3%)
CIE-LABlab(43.86, 56.49, -79.53)
CIE-LCHlch(43.86, 97.56, 305.39°)
OKLaboklab(54.07% 0.0593 -0.2289)
OKLCHoklch(54.07% 0.237 284.5)
XYZxyz(23.6542, 13.7403, 83.0503)
Luminance0.1374 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6947EF #CDEF47
analogous
#4779EF #6947EF #BD47EF
triadic
#6947EF #EF6947 #47EF69
tetradic
#6947EF #EF4779 #CDEF47 #47EFBD
square
#6947EF #EF4779 #CDEF47 #47EFBD
split-complementary
#6947EF #EFBD47 #79EF47
monochromatic
#2F0FAD #3E14E5 #6947EF #977FF4 #C5B8F9

Accessibility & contrast

On white

5.60
#6947EF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.75
#6947EF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6947EF
5.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6947EF#FFFFFF#000000##FFFFFF
##6947EF1.005.603.755.60
#FFFFFF5.601.0021.001.00
#0000003.7521.001.0021.00
##FFFFFF5.601.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #6947ef;
/* rgb */ color: rgb(105, 71, 239);
/* oklch */ color: oklch(54.1% 0.236 284.5);
Tailwind
colors: {
  custom: {
    50: '#a17df5',
    500: '#6947ef',
    950: '#000000',
  },
}
SCSS
$custom: #6947ef;
$custom-light: #a17df5;
$custom-dark: #000000;
JSON
{
  "hex": "#6947ef",
  "rgb": {
    "r": 105,
    "g": 71,
    "b": 239
  },
  "hsl": {
    "h": 252.143,
    "s": 84,
    "l": 60.784
  },
  "oklch": {
    "l": 0.5407,
    "c": 0.2365,
    "h": 284.5
  },
  "luminance": 0.13742
}

Semantic roles & 50–950 ramp

primary
#6947EF
secondary
#DCE9A9
accent
#E005B4
background
#FAF7FF
surface
#F4EEFF
border
#CEC9D7
text
#100A17
muted
#7F7C85

Preview Lab

Preview with #6947EF

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

Preview Lab → · Contrast checker → · Palette generator →

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