#6847EF#6847EF

#6847EF is a mid, highly saturated violet. Relative luminance 0.137; OKLCH L 54.0% C 0.237 H 284.2°. Best body text is #FFFFFF at 5.62:1 contrast (WCAG AA passes).

Color values

HEX#6847EF
RGBrgb(104, 71, 239)
HSLhsl(252, 84%, 61%)
HSVhsv(252, 70%, 94%)
CMYKcmyk(56.5%, 70.3%, 0%, 6.3%)
CIE-LABlab(43.77, 56.35, -79.68)
CIE-LCHlch(43.77, 97.59, 305.27°)
OKLaboklab(53.99% 0.058 -0.2294)
OKLCHoklch(53.99% 0.237 284.2)
XYZxyz(23.5374, 13.6801, 83.0449)
Luminance0.1368 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6847EF #CEEF47
analogous
#477AEF #6847EF #BC47EF
triadic
#6847EF #EF6847 #47EF68
tetradic
#6847EF #EF477A #CEEF47 #47EFBC
square
#6847EF #EF477A #CEEF47 #47EFBC
split-complementary
#6847EF #EFBC47 #7AEF47
monochromatic
#2E0FAD #3D14E5 #6847EF #967FF4 #C4B8F9

Accessibility & contrast

On white

5.62
#6847EF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.74
#6847EF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6847EF
5.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6847EF#FFFFFF#000000##FFFFFF
##6847EF1.005.623.745.62
#FFFFFF5.621.0021.001.00
#0000003.7421.001.0021.00
##FFFFFF5.621.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #6847ef;
/* rgb */ color: rgb(104, 71, 239);
/* oklch */ color: oklch(54.0% 0.237 284.2);
Tailwind
colors: {
  custom: {
    50: '#a07df6',
    500: '#6847ef',
    950: '#000000',
  },
}
SCSS
$custom: #6847ef;
$custom-light: #a07df6;
$custom-dark: #000000;
JSON
{
  "hex": "#6847ef",
  "rgb": {
    "r": 104,
    "g": 71,
    "b": 239
  },
  "hsl": {
    "h": 251.786,
    "s": 84,
    "l": 60.784
  },
  "oklch": {
    "l": 0.53987,
    "c": 0.23661,
    "h": 284.2
  },
  "luminance": 0.13682
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #6847EF

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

Preview Lab → · Contrast checker → · Palette generator →

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