#6B4BCA#6B4BCA

#6B4BCA is a mid, vivid violet. Relative luminance 0.124; OKLCH L 51.8% C 0.187 H 289.8°. Best body text is #FFFFFF at 6.03:1 contrast (WCAG AA passes).

Color values

HEX#6B4BCA
RGBrgb(107, 75, 202)
HSLhsl(255, 55%, 54%)
HSVhsv(255, 63%, 79%)
CMYKcmyk(47%, 62.9%, 0%, 20.8%)
CIE-LABlab(41.88, 44.09, -61.63)
CIE-LCHlch(41.88, 75.78, 305.58°)
OKLaboklab(51.78% 0.0636 -0.1763)
OKLCHoklch(51.78% 0.187 289.8)
XYZxyz(19.2371, 12.4215, 57.2496)
Luminance0.1242 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6B4BCA #AACA4B
analogous
#4B6BCA #6B4BCA #AB4BCA
triadic
#6B4BCA #CA6B4B #4BCA6B
tetradic
#6B4BCA #CA4B6B #AACA4B #4BCAAB
square
#6B4BCA #CA4B6B #AACA4B #4BCAAB
split-complementary
#6B4BCA #CAAB4B #6BCA4B
monochromatic
#382377 #4F31A7 #6B4BCA #927AD8 #B9AAE6

Accessibility & contrast

On white

6.03
#6B4BCA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.48
#6B4BCA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6B4BCA
6.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6B4BCA#FFFFFF#000000##FFFFFF
##6B4BCA1.006.033.486.03
#FFFFFF6.031.0021.001.00
#0000003.4821.001.0021.00
##FFFFFF6.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0065CE
Deuteranopia (green-blind)
#0060C7
Tritanopia (blue-blind)
#4D6983
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #6b4bca;
/* rgb */ color: rgb(107, 75, 202);
/* oklch */ color: oklch(51.8% 0.187 289.8);
Tailwind
colors: {
  custom: {
    50: '#9d7fdb',
    500: '#6b4bca',
    950: '#000000',
  },
}
SCSS
$custom: #6b4bca;
$custom-light: #9d7fdb;
$custom-dark: #000000;
JSON
{
  "hex": "#6b4bca",
  "rgb": {
    "r": 107,
    "g": 75,
    "b": 202
  },
  "hsl": {
    "h": 255.118,
    "s": 54.506,
    "l": 54.314
  },
  "oklch": {
    "l": 0.51776,
    "c": 0.18746,
    "h": 289.8
  },
  "luminance": 0.12422
}

Semantic roles & 50–950 ramp

primary
#6B4BCA
secondary
#C6D39D
accent
#DE4AB9
background
#FAF7FD
surface
#F4EEFB
border
#CEC9D4
text
#0F0A15
muted
#7F7C83

Preview Lab

Preview with #6B4BCA

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

Preview Lab → · Contrast checker → · Palette generator →

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