#6B4BE7#6B4BE7

#6B4BE7 is a mid, highly saturated violet. Relative luminance 0.139; OKLCH L 54.1% C 0.223 H 285.7°. Best body text is #FFFFFF at 5.55:1 contrast (WCAG AA passes).

Color values

HEX#6B4BE7
RGBrgb(107, 75, 231)
HSLhsl(252, 76%, 60%)
HSVhsv(252, 68%, 91%)
CMYKcmyk(53.7%, 67.5%, 0%, 9.4%)
CIE-LABlab(44.13, 52.41, -74.57)
CIE-LCHlch(44.13, 91.14, 305.10°)
OKLaboklab(54.1% 0.0601 -0.2143)
OKLCHoklch(54.1% 0.223 285.7)
XYZxyz(22.9990, 13.9262, 77.0620)
Luminance0.1393 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6B4BE7 #C7E74B
analogous
#4B79E7 #6B4BE7 #B94BE7
triadic
#6B4BE7 #E76B4B #4BE76B
tetradic
#6B4BE7 #E74B79 #C7E74B #4BE7B9
square
#6B4BE7 #E74B79 #C7E74B #4BE7B9
split-complementary
#6B4BE7 #E7B94B #79E74B
monochromatic
#3216A2 #431DD8 #6B4BE7 #9781EE #C4B7F5

Accessibility & contrast

On white

5.55
#6B4BE7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.79
#6B4BE7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6B4BE7
5.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6B4BE7#FFFFFF#000000##FFFFFF
##6B4BE71.005.553.795.55
#FFFFFF5.551.0021.001.00
#0000003.7921.001.0021.00
##FFFFFF5.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006DEC
Deuteranopia (green-blind)
#0064E4
Tritanopia (blue-blind)
#367393
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #6b4be7;
/* rgb */ color: rgb(107, 75, 231);
/* oklch */ color: oklch(54.1% 0.223 285.7);
Tailwind
colors: {
  custom: {
    50: '#a080f0',
    500: '#6b4be7',
    950: '#000000',
  },
}
SCSS
$custom: #6b4be7;
$custom-light: #a080f0;
$custom-dark: #000000;
JSON
{
  "hex": "#6b4be7",
  "rgb": {
    "r": 107,
    "g": 75,
    "b": 231
  },
  "hsl": {
    "h": 252.308,
    "s": 76.471,
    "l": 60
  },
  "oklch": {
    "l": 0.541,
    "c": 0.2226,
    "h": 285.7
  },
  "luminance": 0.13927
}

Semantic roles & 50–950 ramp

primary
#6B4BE7
secondary
#D9E5A9
accent
#F335CC
background
#FAF7FE
surface
#F4EEFD
border
#CEC9D5
text
#100A17
muted
#7F7C85

Preview Lab

Preview with #6B4BE7

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

Preview Lab → · Contrast checker → · Palette generator →

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