#6847CA#6847CA

#6847CA is a mid, vivid violet. Relative luminance 0.117; OKLCH L 50.9% C 0.193 H 289.3°. Best body text is #FFFFFF at 6.28:1 contrast (WCAG AA passes).

Color values

HEX#6847CA
RGBrgb(104, 71, 202)
HSLhsl(255, 55%, 54%)
HSVhsv(255, 65%, 79%)
CMYKcmyk(48.5%, 64.9%, 0%, 20.8%)
CIE-LABlab(40.76, 45.75, -63.47)
CIE-LCHlch(40.76, 78.24, 305.79°)
OKLaboklab(50.89% 0.0637 -0.1818)
OKLCHoklch(50.89% 0.193 289.3)
XYZxyz(18.6198, 11.7130, 57.1454)
Luminance0.1171 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6847CA #A9CA47
analogous
#4767CA #6847CA #AA47CA
triadic
#6847CA #CA6847 #47CA68
tetradic
#6847CA #CA4767 #A9CA47 #47CAAA
square
#6847CA #CA4767 #A9CA47 #47CAAA
split-complementary
#6847CA #CAAA47 #67CA47
monochromatic
#372275 #4D2FA4 #6847CA #8F77D8 #B6A6E5

Accessibility & contrast

On white

6.28
#6847CA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.34
#6847CA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6847CA
6.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6847CA#FFFFFF#000000##FFFFFF
##6847CA1.006.283.346.28
#FFFFFF6.281.0021.001.00
#0000003.3421.001.0021.00
##FFFFFF6.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0063CE
Deuteranopia (green-blind)
#005DC7
Tritanopia (blue-blind)
#476782
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #6847ca;
/* rgb */ color: rgb(104, 71, 202);
/* oklch */ color: oklch(50.9% 0.193 289.3);
Tailwind
colors: {
  custom: {
    50: '#9b7cdb',
    500: '#6847ca',
    950: '#000000',
  },
}
SCSS
$custom: #6847ca;
$custom-light: #9b7cdb;
$custom-dark: #000000;
JSON
{
  "hex": "#6847ca",
  "rgb": {
    "r": 104,
    "g": 71,
    "b": 202
  },
  "hsl": {
    "h": 255.115,
    "s": 55.274,
    "l": 53.529
  },
  "oklch": {
    "l": 0.50894,
    "c": 0.19266,
    "h": 289.3
  },
  "luminance": 0.11714
}

Semantic roles & 50–950 ramp

primary
#6847CA
secondary
#C4D29A
accent
#DF49B9
background
#FAF7FD
surface
#F3EEFB
border
#CDC9D4
text
#0F0A15
muted
#7F7C83

Preview Lab

Preview with #6847CA

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

Preview Lab → · Contrast checker → · Palette generator →

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