#6D2EC7#6D2EC7

#6D2EC7 is a mid, highly saturated violet. Relative luminance 0.093; OKLCH L 48.0% C 0.218 H 295.6°. Best body text is #FFFFFF at 7.33:1 contrast (WCAG AA passes).

Color values

HEX#6D2EC7
RGBrgb(109, 46, 199)
HSLhsl(265, 62%, 48%)
HSVhsv(265, 77%, 78%)
CMYKcmyk(45.2%, 76.9%, 0%, 22%)
CIE-LABlab(36.61, 58.17, -68.48)
CIE-LCHlch(36.61, 89.85, 310.35°)
OKLaboklab(47.99% 0.0941 -0.1962)
OKLCHoklch(47.99% 0.218 295.6)
XYZxyz(17.5897, 9.3283, 54.8955)
Luminance0.0933 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6D2EC7 #88C72E
analogous
#2E3BC7 #6D2EC7 #B92EC7
triadic
#6D2EC7 #C76D2E #2EC76D
tetradic
#6D2EC7 #C72E3B #88C72E #2EC7B9
square
#6D2EC7 #C72E3B #88C72E #2EC7B9
split-complementary
#6D2EC7 #C7B92E #3BC72E
monochromatic
#371764 #522395 #6D2EC7 #8E59D9 #B08BE4

Accessibility & contrast

On white

7.33
#6D2EC7 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.87
#6D2EC7 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6D2EC7
7.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6D2EC7#FFFFFF#000000##FFFFFF
##6D2EC71.007.332.877.33
#FFFFFF7.331.0021.001.00
#0000002.8721.001.0021.00
##FFFFFF7.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0057CB
Deuteranopia (green-blind)
#0054C4
Tritanopia (blue-blind)
#54587A
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #6d2ec7;
/* rgb */ color: rgb(109, 46, 199);
/* oklch */ color: oklch(48.0% 0.218 295.6);
Tailwind
colors: {
  custom: {
    50: '#9f6ed9',
    500: '#6d2ec7',
    950: '#000000',
  },
}
SCSS
$custom: #6d2ec7;
$custom-light: #9f6ed9;
$custom-dark: #000000;
JSON
{
  "hex": "#6d2ec7",
  "rgb": {
    "r": 109,
    "g": 46,
    "b": 199
  },
  "hsl": {
    "h": 264.706,
    "s": 62.449,
    "l": 48.039
  },
  "oklch": {
    "l": 0.47992,
    "c": 0.21764,
    "h": 295.6
  },
  "luminance": 0.09329
}

Semantic roles & 50–950 ramp

primary
#6D2EC7
secondary
#AFCE83
accent
#E642A2
background
#FAF6FD
surface
#F4ECFB
border
#CEC7D4
text
#100815
muted
#7F7B83

Preview Lab

Preview with #6D2EC7

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

Preview Lab → · Contrast checker → · Palette generator →

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