#6B43CB#6B43CB

#6B43CB is a mid, vivid violet. Relative luminance 0.115; OKLCH L 50.7% C 0.199 H 291.1°. Best body text is #FFFFFF at 6.38:1 contrast (WCAG AA passes).

Color values

HEX#6B43CB
RGBrgb(107, 67, 203)
HSLhsl(258, 57%, 53%)
HSVhsv(258, 67%, 80%)
CMYKcmyk(47.3%, 67%, 0%, 20.4%)
CIE-LABlab(40.33, 48.76, -64.73)
CIE-LCHlch(40.33, 81.04, 306.99°)
OKLaboklab(50.68% 0.0717 -0.1854)
OKLCHoklch(50.68% 0.199 291.1)
XYZxyz(18.8470, 11.4512, 57.7056)
Luminance0.1145 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6B43CB #A3CB43
analogous
#435FCB #6B43CB #AF43CB
triadic
#6B43CB #CB6B43 #43CB6B
tetradic
#6B43CB #CB435F #A3CB43 #43CBAF
square
#6B43CB #CB435F #A3CB43 #43CBAF
split-complementary
#6B43CB #CBAF43 #5FCB43
monochromatic
#392074 #502DA4 #6B43CB #9173D8 #B6A3E6

Accessibility & contrast

On white

6.38
#6B43CB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.29
#6B43CB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6B43CB
6.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6B43CB#FFFFFF#000000##FFFFFF
##6B43CB1.006.383.296.38
#FFFFFF6.381.0021.001.00
#0000003.2921.001.0021.00
##FFFFFF6.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0061CF
Deuteranopia (green-blind)
#005CC8
Tritanopia (blue-blind)
#4D6581
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #6b43cb;
/* rgb */ color: rgb(107, 67, 203);
/* oklch */ color: oklch(50.7% 0.199 291.1);
Tailwind
colors: {
  custom: {
    50: '#9d7adc',
    500: '#6b43cb',
    950: '#000000',
  },
}
SCSS
$custom: #6b43cb;
$custom-light: #9d7adc;
$custom-dark: #000000;
JSON
{
  "hex": "#6b43cb",
  "rgb": {
    "r": 107,
    "g": 67,
    "b": 203
  },
  "hsl": {
    "h": 257.647,
    "s": 56.667,
    "l": 52.941
  },
  "oklch": {
    "l": 0.50681,
    "c": 0.1988,
    "h": 291.1
  },
  "luminance": 0.11452
}

Semantic roles & 50–950 ramp

primary
#6B43CB
secondary
#C1D298
accent
#E048B3
background
#FAF7FD
surface
#F4EEFB
border
#CEC9D4
text
#0F0915
muted
#7F7B83

Preview Lab

Preview with #6B43CB

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

Preview Lab → · Contrast checker → · Palette generator →

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