#6B4CE7#6B4CE7

#6B4CE7 is a mid, highly saturated violet. Relative luminance 0.141; OKLCH L 54.2% C 0.221 H 285.5°. Best body text is #FFFFFF at 5.51:1 contrast (WCAG AA passes).

Color values

HEX#6B4CE7
RGBrgb(107, 76, 231)
HSLhsl(252, 76%, 60%)
HSVhsv(252, 67%, 91%)
CMYKcmyk(53.7%, 67.1%, 0%, 9.4%)
CIE-LABlab(44.32, 51.87, -74.25)
CIE-LCHlch(44.32, 90.57, 304.94°)
OKLaboklab(54.24% 0.0593 -0.2134)
OKLCHoklch(54.24% 0.221 285.5)
XYZxyz(23.0673, 14.0629, 77.0847)
Luminance0.1406 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6B4CE7 #C8E74C
analogous
#4C7AE7 #6B4CE7 #B84CE7
triadic
#6B4CE7 #E76B4C #4CE76B
tetradic
#6B4CE7 #E74C7A #C8E74C #4CE7B8
square
#6B4CE7 #E74C7A #C8E74C #4CE7B8
split-complementary
#6B4CE7 #E7B84C #7AE74C
monochromatic
#3216A3 #431DD9 #6B4CE7 #9882EE #C4B8F5

Accessibility & contrast

On white

5.51
#6B4CE7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.81
#6B4CE7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6B4CE7
5.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6B4CE7#FFFFFF#000000##FFFFFF
##6B4CE71.005.513.815.51
#FFFFFF5.511.0021.001.00
#0000003.8121.001.0021.00
##FFFFFF5.511.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #6b4ce7;
/* rgb */ color: rgb(107, 76, 231);
/* oklch */ color: oklch(54.2% 0.221 285.5);
Tailwind
colors: {
  custom: {
    50: '#a080f0',
    500: '#6b4ce7',
    950: '#000000',
  },
}
SCSS
$custom: #6b4ce7;
$custom-light: #a080f0;
$custom-dark: #000000;
JSON
{
  "hex": "#6b4ce7",
  "rgb": {
    "r": 107,
    "g": 76,
    "b": 231
  },
  "hsl": {
    "h": 252,
    "s": 76.355,
    "l": 60.196
  },
  "oklch": {
    "l": 0.54241,
    "c": 0.22147,
    "h": 285.5
  },
  "luminance": 0.14064
}

Semantic roles & 50–950 ramp

primary
#6B4CE7
secondary
#D9E5AA
accent
#D90DB0
background
#FAF7FE
surface
#F4EEFD
border
#CEC9D5
text
#100A17
muted
#7F7C85

Preview Lab

Preview with #6B4CE7

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

Preview Lab → · Contrast checker → · Palette generator →

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