#6B4DE5#6B4DE5

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

Color values

HEX#6B4DE5
RGBrgb(107, 77, 229)
HSLhsl(252, 75%, 60%)
HSVhsv(252, 66%, 90%)
CMYKcmyk(53.3%, 66.4%, 0%, 10.2%)
CIE-LABlab(44.36, 50.75, -73.05)
CIE-LCHlch(44.36, 88.95, 304.79°)
OKLaboklab(54.22% 0.0587 -0.2099)
OKLCHoklch(54.22% 0.218 285.6)
XYZxyz(22.8559, 14.0895, 75.6287)
Luminance0.1409 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6B4DE5 #C7E54D
analogous
#4D7BE5 #6B4DE5 #B74DE5
triadic
#6B4DE5 #E56B4D #4DE56B
tetradic
#6B4DE5 #E54D7B #C7E54D #4DE5B7
square
#6B4DE5 #E54D7B #C7E54D #4DE5B7
split-complementary
#6B4DE5 #E5B74D #7BE54D
monochromatic
#3217A0 #431FD6 #6B4DE5 #9782ED #C4B8F5

Accessibility & contrast

On white

5.50
#6B4DE5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.82
#6B4DE5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6B4DE5
5.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6B4DE5#FFFFFF#000000##FFFFFF
##6B4DE51.005.503.825.50
#FFFFFF5.501.0021.001.00
#0000003.8221.001.0021.00
##FFFFFF5.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006DEA
Deuteranopia (green-blind)
#0064E2
Tritanopia (blue-blind)
#377493
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #6b4de5;
/* rgb */ color: rgb(107, 77, 229);
/* oklch */ color: oklch(54.2% 0.218 285.6);
Tailwind
colors: {
  custom: {
    50: '#a081ee',
    500: '#6b4de5',
    950: '#000000',
  },
}
SCSS
$custom: #6b4de5;
$custom-light: #a081ee;
$custom-dark: #000000;
JSON
{
  "hex": "#6b4de5",
  "rgb": {
    "r": 107,
    "g": 77,
    "b": 229
  },
  "hsl": {
    "h": 251.842,
    "s": 74.51,
    "l": 60
  },
  "oklch": {
    "l": 0.54218,
    "c": 0.21793,
    "h": 285.6
  },
  "luminance": 0.14091
}

Semantic roles & 50–950 ramp

primary
#6B4DE5
secondary
#D9E4AA
accent
#F137CC
background
#FAF8FE
surface
#F4EFFD
border
#CECAD5
text
#100A17
muted
#7F7C85

Preview Lab

Preview with #6B4DE5

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

Preview Lab → · Contrast checker → · Palette generator →

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