#6E43BA#6E43BA

#6E43BA is a mid, vivid violet. Relative luminance 0.109; OKLCH L 49.7% C 0.179 H 295.8°. Best body text is #FFFFFF at 6.61:1 contrast (WCAG AA passes).

Color values

HEX#6E43BA
RGBrgb(110, 67, 186)
HSLhsl(262, 47%, 50%)
HSVhsv(262, 64%, 73%)
CMYKcmyk(40.9%, 64%, 0%, 27.1%)
CIE-LABlab(39.37, 44.70, -56.36)
CIE-LCHlch(39.37, 71.94, 308.41°)
OKLaboklab(49.66% 0.0778 -0.1607)
OKLCHoklch(49.66% 0.179 295.8)
XYZxyz(17.2982, 10.8741, 47.6324)
Luminance0.1087 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6E43BA #8FBA43
analogous
#4353BA #6E43BA #AA43BA
triadic
#6E43BA #BA6E43 #43BA6E
tetradic
#6E43BA #BA4353 #8FBA43 #43BAAA
square
#6E43BA #BA4353 #8FBA43 #43BAAA
split-complementary
#6E43BA #BAAA43 #53BA43
monochromatic
#392360 #53338D #6E43BA #906FCB #B39CDB

Accessibility & contrast

On white

6.61
#6E43BA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.17
#6E43BA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6E43BA
6.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6E43BA#FFFFFF#000000##FFFFFF
##6E43BA1.006.613.176.61
#FFFFFF6.611.0021.001.00
#0000003.1721.001.0021.00
##FFFFFF6.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005EBE
Deuteranopia (green-blind)
#005BB7
Tritanopia (blue-blind)
#5B5E78
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #6e43ba;
/* rgb */ color: rgb(110, 67, 186);
/* oklch */ color: oklch(49.7% 0.179 295.8);
Tailwind
colors: {
  custom: {
    50: '#9d79d0',
    500: '#6e43ba',
    950: '#000000',
  },
}
SCSS
$custom: #6e43ba;
$custom-light: #9d79d0;
$custom-dark: #000000;
JSON
{
  "hex": "#6e43ba",
  "rgb": {
    "r": 110,
    "g": 67,
    "b": 186
  },
  "hsl": {
    "h": 261.681,
    "s": 47.036,
    "l": 49.608
  },
  "oklch": {
    "l": 0.49659,
    "c": 0.17858,
    "h": 295.8
  },
  "luminance": 0.10874
}

Semantic roles & 50–950 ramp

primary
#6E43BA
secondary
#B4C891
accent
#D751A6
background
#FAF7FC
surface
#F3EEF9
border
#CDC9D2
text
#0F0914
muted
#7F7B82

Preview Lab

Preview with #6E43BA

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

Preview Lab → · Contrast checker → · Palette generator →

#6E43BA Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva