#6846CA#6846CA

#6846CA is a mid, vivid violet. Relative luminance 0.116; OKLCH L 50.7% C 0.194 H 289.5°. Best body text is #FFFFFF at 6.33:1 contrast (WCAG AA passes).

Color values

HEX#6846CA
RGBrgb(104, 70, 202)
HSLhsl(255, 55%, 53%)
HSVhsv(255, 65%, 79%)
CMYKcmyk(48.5%, 65.3%, 0%, 20.8%)
CIE-LABlab(40.55, 46.30, -63.80)
CIE-LCHlch(40.55, 78.83, 305.97°)
OKLaboklab(50.75% 0.0647 -0.1828)
OKLCHoklch(50.75% 0.194 289.5)
XYZxyz(18.5567, 11.5869, 57.1244)
Luminance0.1159 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6846CA #A8CA46
analogous
#4666CA #6846CA #AA46CA
triadic
#6846CA #CA6846 #46CA68
tetradic
#6846CA #CA4666 #A8CA46 #46CAAA
square
#6846CA #CA4666 #A8CA46 #46CAAA
split-complementary
#6846CA #CAAA46 #66CA46
monochromatic
#372174 #4D2FA4 #6846CA #8F76D8 #B6A5E5

Accessibility & contrast

On white

6.33
#6846CA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.32
#6846CA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6846CA
6.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6846CA#FFFFFF#000000##FFFFFF
##6846CA1.006.333.326.33
#FFFFFF6.331.0021.001.00
#0000003.3221.001.0021.00
##FFFFFF6.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0062CE
Deuteranopia (green-blind)
#005CC7
Tritanopia (blue-blind)
#476682
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #6846ca;
/* rgb */ color: rgb(104, 70, 202);
/* oklch */ color: oklch(50.7% 0.194 289.5);
Tailwind
colors: {
  custom: {
    50: '#9b7bdb',
    500: '#6846ca',
    950: '#000000',
  },
}
SCSS
$custom: #6846ca;
$custom-light: #9b7bdb;
$custom-dark: #000000;
JSON
{
  "hex": "#6846ca",
  "rgb": {
    "r": 104,
    "g": 70,
    "b": 202
  },
  "hsl": {
    "h": 255.455,
    "s": 55.462,
    "l": 53.333
  },
  "oklch": {
    "l": 0.50746,
    "c": 0.19392,
    "h": 289.5
  },
  "luminance": 0.11588
}

Semantic roles & 50–950 ramp

primary
#6846CA
secondary
#C4D29A
accent
#DF49B8
background
#FAF7FD
surface
#F3EEFB
border
#CDC9D4
text
#0F0915
muted
#7F7B83

Preview Lab

Preview with #6846CA

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

Preview Lab → · Contrast checker → · Palette generator →

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