#6B4CE3#6B4CE3

#6B4CE3 is a mid, highly saturated violet. Relative luminance 0.138; OKLCH L 53.9% C 0.217 H 286.0°. Best body text is #FFFFFF at 5.57:1 contrast (WCAG AA passes).

Color values

HEX#6B4CE3
RGBrgb(107, 76, 227)
HSLhsl(252, 73%, 59%)
HSVhsv(252, 67%, 89%)
CMYKcmyk(52.9%, 66.5%, 0%, 11%)
CIE-LABlab(44.00, 50.72, -72.50)
CIE-LCHlch(44.00, 88.48, 304.97°)
OKLaboklab(53.91% 0.0598 -0.2083)
OKLCHoklch(53.91% 0.217 286)
XYZxyz(22.5088, 13.8395, 74.1434)
Luminance0.1384 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6B4CE3 #C4E34C
analogous
#4C79E3 #6B4CE3 #B74CE3
triadic
#6B4CE3 #E36B4C #4CE36B
tetradic
#6B4CE3 #E34C79 #C4E34C #4CE3B7
square
#6B4CE3 #E34C79 #C4E34C #4CE3B7
split-complementary
#6B4CE3 #E3B74C #79E34C
monochromatic
#33189C #4521D1 #6B4CE3 #9781EB #C3B6F4

Accessibility & contrast

On white

5.57
#6B4CE3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #6B4CE3
5.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6B4CE3#FFFFFF#000000##FFFFFF
##6B4CE31.005.573.775.57
#FFFFFF5.571.0021.001.00
#0000003.7721.001.0021.00
##FFFFFF5.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006CE8
Deuteranopia (green-blind)
#0064E0
Tritanopia (blue-blind)
#3A7291
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #6b4ce3;
/* rgb */ color: rgb(107, 76, 227);
/* oklch */ color: oklch(53.9% 0.217 286.0);
Tailwind
colors: {
  custom: {
    50: '#a080ed',
    500: '#6b4ce3',
    950: '#000000',
  },
}
SCSS
$custom: #6b4ce3;
$custom-light: #a080ed;
$custom-dark: #000000;
JSON
{
  "hex": "#6b4ce3",
  "rgb": {
    "r": 107,
    "g": 76,
    "b": 227
  },
  "hsl": {
    "h": 252.318,
    "s": 72.947,
    "l": 59.412
  },
  "oklch": {
    "l": 0.5391,
    "c": 0.21669,
    "h": 286
  },
  "luminance": 0.13841
}

Semantic roles & 50–950 ramp

primary
#6B4CE3
secondary
#D7E3A8
accent
#F038CA
background
#FAF7FE
surface
#F4EEFD
border
#CEC9D5
text
#100A16
muted
#7F7C84

Preview Lab

Preview with #6B4CE3

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

Preview Lab → · Contrast checker → · Palette generator →

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