#6B43E2#6B43E2

#6B43E2 is a mid, highly saturated violet. Relative luminance 0.126; OKLCH L 52.6% C 0.226 H 287.5°. Best body text is #FFFFFF at 5.96:1 contrast (WCAG AA passes).

Color values

HEX#6B43E2
RGBrgb(107, 67, 226)
HSLhsl(255, 73%, 57%)
HSVhsv(255, 70%, 89%)
CMYKcmyk(52.7%, 70.4%, 0%, 11.4%)
CIE-LABlab(42.20, 55.17, -74.88)
CIE-LCHlch(42.20, 93.01, 306.38°)
OKLaboklab(52.6% 0.0678 -0.2152)
OKLCHoklch(52.6% 0.226 287.5)
XYZxyz(21.7940, 12.6300, 73.2262)
Luminance0.1263 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6B43E2 #BAE243
analogous
#436BE2 #6B43E2 #BA43E2
triadic
#6B43E2 #E26B43 #43E26B
tetradic
#6B43E2 #E2436B #BAE243 #43E2BA
square
#6B43E2 #E2436B #BAE243 #43E2BA
split-complementary
#6B43E2 #E2BA43 #6BE243
monochromatic
#361794 #4A1FC9 #6B43E2 #9578EA #BEADF2

Accessibility & contrast

On white

5.96
#6B43E2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.53
#6B43E2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6B43E2
5.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6B43E2#FFFFFF#000000##FFFFFF
##6B43E21.005.963.535.96
#FFFFFF5.961.0021.001.00
#0000003.5321.001.0021.00
##FFFFFF5.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0067E7
Deuteranopia (green-blind)
#005FDF
Tritanopia (blue-blind)
#3B6D8E
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #6b43e2;
/* rgb */ color: rgb(107, 67, 226);
/* oklch */ color: oklch(52.6% 0.226 287.5);
Tailwind
colors: {
  custom: {
    50: '#a07bec',
    500: '#6b43e2',
    950: '#000000',
  },
}
SCSS
$custom: #6b43e2;
$custom-light: #a07bec;
$custom-dark: #000000;
JSON
{
  "hex": "#6b43e2",
  "rgb": {
    "r": 107,
    "g": 67,
    "b": 226
  },
  "hsl": {
    "h": 255.094,
    "s": 73.272,
    "l": 57.451
  },
  "oklch": {
    "l": 0.52596,
    "c": 0.22564,
    "h": 287.5
  },
  "luminance": 0.12631
}

Semantic roles & 50–950 ramp

primary
#6B43E2
secondary
#D0E1A0
accent
#F038C2
background
#FAF7FE
surface
#F4EEFD
border
#CEC9D5
text
#100916
muted
#7F7B84

Preview Lab

Preview with #6B43E2

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

Preview Lab → · Contrast checker → · Palette generator →

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