#6843AF#6843AF

#6843AF is a mid, vivid violet. Relative luminance 0.101; OKLCH L 48.2% C 0.165 H 295.3°. Best body text is #FFFFFF at 6.98:1 contrast (WCAG AA passes).

Color values

HEX#6843AF
RGBrgb(104, 67, 175)
HSLhsl(261, 45%, 47%)
HSVhsv(261, 62%, 69%)
CMYKcmyk(40.6%, 61.7%, 0%, 31.4%)
CIE-LABlab(37.94, 40.41, -52.22)
CIE-LCHlch(37.94, 66.03, 307.73°)
OKLaboklab(48.22% 0.0704 -0.1487)
OKLCHoklch(48.22% 0.165 295.3)
XYZxyz(15.4519, 10.0522, 41.6753)
Luminance0.1005 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6843AF #8AAF43
analogous
#4354AF #6843AF #9E43AF
triadic
#6843AF #AF6843 #43AF68
tetradic
#6843AF #AF4354 #8AAF43 #43AF9E
square
#6843AF #AF4354 #8AAF43 #43AF9E
split-complementary
#6843AF #AF9E43 #54AF43
monochromatic
#332156 #4E3283 #6843AF #8969C6 #AC96D7

Accessibility & contrast

On white

6.98
#6843AF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.01
#6843AF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6843AF
6.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6843AF#FFFFFF#000000##FFFFFF
##6843AF1.006.983.016.98
#FFFFFF6.981.0021.001.00
#0000003.0121.001.0021.00
##FFFFFF6.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005AB2
Deuteranopia (green-blind)
#0558AD
Tritanopia (blue-blind)
#565B72
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #6843af;
/* rgb */ color: rgb(104, 67, 175);
/* oklch */ color: oklch(48.2% 0.165 295.3);
Tailwind
colors: {
  custom: {
    50: '#9879c8',
    500: '#6843af',
    950: '#000000',
  },
}
SCSS
$custom: #6843af;
$custom-light: #9879c8;
$custom-dark: #000000;
JSON
{
  "hex": "#6843af",
  "rgb": {
    "r": 104,
    "g": 67,
    "b": 175
  },
  "hsl": {
    "h": 260.556,
    "s": 44.628,
    "l": 47.451
  },
  "oklch": {
    "l": 0.48222,
    "c": 0.16455,
    "h": 295.3
  },
  "luminance": 0.10053
}

Semantic roles & 50–950 ramp

primary
#6843AF
secondary
#B0C28B
accent
#D453A8
background
#F9F7FC
surface
#F2EDF8
border
#CCC8D1
text
#0E0913
muted
#7E7B82

Preview Lab

Preview with #6843AF

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

Preview Lab → · Contrast checker → · Palette generator →

#6843AF Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva