#6D4FF2#6D4FF2

#6D4FF2 is a mid, highly saturated violet. Relative luminance 0.153; OKLCH L 55.7% C 0.231 H 284.5°. Best body text is #FFFFFF at 5.18:1 contrast (WCAG AA passes).

Color values

HEX#6D4FF2
RGBrgb(109, 79, 242)
HSLhsl(251, 86%, 63%)
HSVhsv(251, 67%, 95%)
CMYKcmyk(55%, 67.4%, 0%, 5.1%)
CIE-LABlab(45.98, 53.74, -77.73)
CIE-LCHlch(45.98, 94.50, 304.66°)
OKLaboklab(55.75% 0.0577 -0.2236)
OKLCHoklch(55.75% 0.231 284.5)
XYZxyz(25.1248, 15.2525, 85.6073)
Luminance0.1525 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6D4FF2 #D4F24F
analogous
#4F82F2 #6D4FF2 #BE4FF2
triadic
#6D4FF2 #F26D4F #4FF26D
tetradic
#6D4FF2 #F24F82 #D4F24F #4FF2BE
square
#6D4FF2 #F24F82 #D4F24F #4FF2BE
split-complementary
#6D4FF2 #F2BE4F #82F24F
monochromatic
#2D0EB9 #3E16EE #6D4FF2 #9C88F6 #CCC1FA

Accessibility & contrast

On white

5.18
#6D4FF2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.05
#6D4FF2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6D4FF2
5.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6D4FF2#FFFFFF#000000##FFFFFF
##6D4FF21.005.184.055.18
#FFFFFF5.181.0021.001.00
#0000004.0521.001.0021.00
##FFFFFF5.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0072F7
Deuteranopia (green-blind)
#0068EF
Tritanopia (blue-blind)
#2E799A
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #6d4ff2;
/* rgb */ color: rgb(109, 79, 242);
/* oklch */ color: oklch(55.7% 0.231 284.5);
Tailwind
colors: {
  custom: {
    50: '#a383f8',
    500: '#6d4ff2',
    950: '#000000',
  },
}
SCSS
$custom: #6d4ff2;
$custom-light: #a383f8;
$custom-dark: #000000;
JSON
{
  "hex": "#6d4ff2",
  "rgb": {
    "r": 109,
    "g": 79,
    "b": 242
  },
  "hsl": {
    "h": 251.043,
    "s": 86.243,
    "l": 62.941
  },
  "oklch": {
    "l": 0.55747,
    "c": 0.2309,
    "h": 284.5
  },
  "luminance": 0.15254
}

Semantic roles & 50–950 ramp

primary
#6D4FF2
secondary
#E1ECB1
accent
#E303BA
background
#FAF8FF
surface
#F4EFFF
border
#CECAD7
text
#100B17
muted
#7F7C85

Preview Lab

Preview with #6D4FF2

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

Preview Lab → · Contrast checker → · Palette generator →

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