#6843CA#6843CA

#6843CA is a mid, vivid violet. Relative luminance 0.112; OKLCH L 50.3% C 0.198 H 290.0°. Best body text is #FFFFFF at 6.47:1 contrast (WCAG AA passes).

Color values

HEX#6843CA
RGBrgb(104, 67, 202)
HSLhsl(256, 56%, 53%)
HSVhsv(256, 67%, 79%)
CMYKcmyk(48.5%, 66.8%, 0%, 20.8%)
CIE-LABlab(39.95, 47.94, -64.78)
CIE-LCHlch(39.95, 80.59, 306.50°)
OKLaboklab(50.31% 0.0677 -0.1857)
OKLCHoklch(50.31% 0.198 290)
XYZxyz(18.3737, 11.2209, 57.0634)
Luminance0.1122 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6843CA #A5CA43
analogous
#4362CA #6843CA #AB43CA
triadic
#6843CA #CA6843 #43CA68
tetradic
#6843CA #CA4362 #A5CA43 #43CAAB
square
#6843CA #CA4362 #A5CA43 #43CAAB
split-complementary
#6843CA #CAAB43 #62CA43
monochromatic
#372072 #4E2EA2 #6843CA #8E73D7 #B5A2E5

Accessibility & contrast

On white

6.47
#6843CA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.24
#6843CA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6843CA
6.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6843CA#FFFFFF#000000##FFFFFF
##6843CA1.006.473.246.47
#FFFFFF6.471.0021.001.00
#0000003.2421.001.0021.00
##FFFFFF6.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0061CE
Deuteranopia (green-blind)
#005BC7
Tritanopia (blue-blind)
#486481
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #6843ca;
/* rgb */ color: rgb(104, 67, 202);
/* oklch */ color: oklch(50.3% 0.198 290.0);
Tailwind
colors: {
  custom: {
    50: '#9b7adb',
    500: '#6843ca',
    950: '#000000',
  },
}
SCSS
$custom: #6843ca;
$custom-light: #9b7adb;
$custom-dark: #000000;
JSON
{
  "hex": "#6843ca",
  "rgb": {
    "r": 104,
    "g": 67,
    "b": 202
  },
  "hsl": {
    "h": 256.444,
    "s": 56.017,
    "l": 52.745
  },
  "oklch": {
    "l": 0.50312,
    "c": 0.19762,
    "h": 290
  },
  "luminance": 0.11222
}

Semantic roles & 50–950 ramp

primary
#6843CA
secondary
#C2D297
accent
#DF48B6
background
#FAF7FD
surface
#F4EEFB
border
#CEC9D4
text
#0F0915
muted
#7F7B83

Preview Lab

Preview with #6843CA

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

Preview Lab → · Contrast checker → · Palette generator →

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