#6B4FE5#6B4FE5

#6B4FE5 is a mid, highly saturated violet. Relative luminance 0.144; OKLCH L 54.5% C 0.216 H 285.3°. Best body text is #FFFFFF at 5.42:1 contrast (WCAG AA passes).

Color values

HEX#6B4FE5
RGBrgb(107, 79, 229)
HSLhsl(251, 74%, 60%)
HSVhsv(251, 66%, 90%)
CMYKcmyk(53.3%, 65.5%, 0%, 10.2%)
CIE-LABlab(44.76, 49.65, -72.39)
CIE-LCHlch(44.76, 87.79, 304.45°)
OKLaboklab(54.51% 0.0569 -0.2079)
OKLCHoklch(54.51% 0.216 285.3)
XYZxyz(22.9980, 14.3736, 75.6761)
Luminance0.1437 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6B4FE5 #C9E54F
analogous
#4F7EE5 #6B4FE5 #B64FE5
triadic
#6B4FE5 #E56B4F #4FE56B
tetradic
#6B4FE5 #E54F7E #C9E54F #4FE5B6
square
#6B4FE5 #E54F7E #C9E54F #4FE5B6
split-complementary
#6B4FE5 #E5B64F #7EE54F
monochromatic
#3218A2 #4220D7 #6B4FE5 #9884ED #C5BAF5

Accessibility & contrast

On white

5.42
#6B4FE5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.87
#6B4FE5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6B4FE5
5.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6B4FE5#FFFFFF#000000##FFFFFF
##6B4FE51.005.423.875.42
#FFFFFF5.421.0021.001.00
#0000003.8721.001.0021.00
##FFFFFF5.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006EEA
Deuteranopia (green-blind)
#0065E2
Tritanopia (blue-blind)
#377593
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #6b4fe5;
/* rgb */ color: rgb(107, 79, 229);
/* oklch */ color: oklch(54.5% 0.216 285.3);
Tailwind
colors: {
  custom: {
    50: '#a082ee',
    500: '#6b4fe5',
    950: '#000000',
  },
}
SCSS
$custom: #6b4fe5;
$custom-light: #a082ee;
$custom-dark: #000000;
JSON
{
  "hex": "#6b4fe5",
  "rgb": {
    "r": 107,
    "g": 79,
    "b": 229
  },
  "hsl": {
    "h": 251.2,
    "s": 74.257,
    "l": 60.392
  },
  "oklch": {
    "l": 0.54509,
    "c": 0.21559,
    "h": 285.3
  },
  "luminance": 0.14375
}

Semantic roles & 50–950 ramp

primary
#6B4FE5
secondary
#DAE5AB
accent
#D60FB1
background
#FAF8FE
surface
#F4EFFD
border
#CECAD5
text
#100B17
muted
#7F7C85

Preview Lab

Preview with #6B4FE5

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

Preview Lab → · Contrast checker → · Palette generator →

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