#6843AC#6843AC

#6843AC is a mid, vivid violet. Relative luminance 0.099; OKLCH L 48.0% C 0.161 H 296.0°. Best body text is #FFFFFF at 7.03:1 contrast (WCAG AA passes).

Color values

HEX#6843AC
RGBrgb(104, 67, 172)
HSLhsl(261, 44%, 47%)
HSVhsv(261, 61%, 67%)
CMYKcmyk(39.5%, 61%, 0%, 32.5%)
CIE-LABlab(37.73, 39.58, -50.78)
CIE-LCHlch(37.73, 64.38, 307.94°)
OKLaboklab(48% 0.0705 -0.1445)
OKLCHoklch(48% 0.161 296)
XYZxyz(15.1605, 9.9356, 40.1407)
Luminance0.0994 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6843AC #87AC43
analogous
#4353AC #6843AC #9D43AC
triadic
#6843AC #AC6843 #43AC68
tetradic
#6843AC #AC4353 #87AC43 #43AC9D
square
#6843AC #AC4353 #87AC43 #43AC9D
split-complementary
#6843AC #AC9D43 #53AC43
monochromatic
#332154 #4D3280 #6843AC #8868C4 #AB94D5

Accessibility & contrast

On white

7.03
#6843AC on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.99
#6843AC on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6843AC
7.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6843AC#FFFFFF#000000##FFFFFF
##6843AC1.007.032.997.03
#FFFFFF7.031.0021.001.00
#0000002.9921.001.0021.00
##FFFFFF7.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0059AF
Deuteranopia (green-blind)
#1057AA
Tritanopia (blue-blind)
#575A71
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #6843ac;
/* rgb */ color: rgb(104, 67, 172);
/* oklch */ color: oklch(48.0% 0.161 296.0);
Tailwind
colors: {
  custom: {
    50: '#9879c5',
    500: '#6843ac',
    950: '#000000',
  },
}
SCSS
$custom: #6843ac;
$custom-light: #9879c5;
$custom-dark: #000000;
JSON
{
  "hex": "#6843ac",
  "rgb": {
    "r": 104,
    "g": 67,
    "b": 172
  },
  "hsl": {
    "h": 261.143,
    "s": 43.933,
    "l": 46.863
  },
  "oklch": {
    "l": 0.48003,
    "c": 0.16079,
    "h": 296
  },
  "luminance": 0.09936
}

Semantic roles & 50–950 ramp

primary
#6843AC
secondary
#AEC18A
accent
#D454A7
background
#F9F7FC
surface
#F2EDF8
border
#CCC8D1
text
#0E0913
muted
#7E7B82

Preview Lab

Preview with #6843AC

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

Preview Lab → · Contrast checker → · Palette generator →

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