#6B4BE6#6B4BE6

#6B4BE6 is a mid, highly saturated violet. Relative luminance 0.139; OKLCH L 54.0% C 0.221 H 285.8°. Best body text is #FFFFFF at 5.56:1 contrast (WCAG AA passes).

Color values

HEX#6B4BE6
RGBrgb(107, 75, 230)
HSLhsl(252, 76%, 60%)
HSVhsv(252, 67%, 90%)
CMYKcmyk(53.5%, 67.4%, 0%, 9.8%)
CIE-LABlab(44.05, 52.12, -74.13)
CIE-LCHlch(44.05, 90.62, 305.11°)
OKLaboklab(54.02% 0.0603 -0.2131)
OKLCHoklch(54.02% 0.221 285.8)
XYZxyz(22.8581, 13.8699, 76.3203)
Luminance0.1387 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6B4BE6 #C6E64B
analogous
#4B79E6 #6B4BE6 #B84BE6
triadic
#6B4BE6 #E66B4B #4BE66B
tetradic
#6B4BE6 #E64B79 #C6E64B #4BE6B8
square
#6B4BE6 #E64B79 #C6E64B #4BE6B8
split-complementary
#6B4BE6 #E6B84B #79E64B
monochromatic
#3316A0 #441ED6 #6B4BE6 #9781ED #C3B6F5

Accessibility & contrast

On white

5.56
#6B4BE6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.77
#6B4BE6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6B4BE6
5.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6B4BE6#FFFFFF#000000##FFFFFF
##6B4BE61.005.563.775.56
#FFFFFF5.561.0021.001.00
#0000003.7721.001.0021.00
##FFFFFF5.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006CEB
Deuteranopia (green-blind)
#0063E3
Tritanopia (blue-blind)
#377393
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #6b4be6;
/* rgb */ color: rgb(107, 75, 230);
/* oklch */ color: oklch(54.0% 0.221 285.8);
Tailwind
colors: {
  custom: {
    50: '#a080ef',
    500: '#6b4be6',
    950: '#000000',
  },
}
SCSS
$custom: #6b4be6;
$custom-light: #a080ef;
$custom-dark: #000000;
JSON
{
  "hex": "#6b4be6",
  "rgb": {
    "r": 107,
    "g": 75,
    "b": 230
  },
  "hsl": {
    "h": 252.387,
    "s": 75.61,
    "l": 59.804
  },
  "oklch": {
    "l": 0.54016,
    "c": 0.22142,
    "h": 285.8
  },
  "luminance": 0.13871
}

Semantic roles & 50–950 ramp

primary
#6B4BE6
secondary
#D8E4A8
accent
#F236CB
background
#FAF7FE
surface
#F4EEFD
border
#CEC9D5
text
#100A17
muted
#7F7C85

Preview Lab

Preview with #6B4BE6

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

Preview Lab → · Contrast checker → · Palette generator →

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