#6D52E7#6D52E7

#6D52E7 is a mid, highly saturated violet. Relative luminance 0.151; OKLCH L 55.3% C 0.214 H 285.3°. Best body text is #FFFFFF at 5.24:1 contrast (WCAG AA passes).

Color values

HEX#6D52E7
RGBrgb(109, 82, 231)
HSLhsl(251, 76%, 61%)
HSVhsv(251, 65%, 91%)
CMYKcmyk(52.8%, 64.5%, 0%, 9.4%)
CIE-LABlab(45.71, 48.92, -71.98)
CIE-LCHlch(45.71, 87.03, 304.20°)
OKLaboklab(55.28% 0.0565 -0.2067)
OKLCHoklch(55.28% 0.214 285.3)
XYZxyz(23.7434, 15.0540, 77.2404)
Luminance0.1505 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6D52E7 #CCE752
analogous
#5282E7 #6D52E7 #B752E7
triadic
#6D52E7 #E76D52 #52E76D
tetradic
#6D52E7 #E75282 #CCE752 #52E7B7
square
#6D52E7 #E75282 #CCE752 #52E7B7
split-complementary
#6D52E7 #E7B752 #82E752
monochromatic
#3117A7 #411FDD #6D52E7 #9A88EE #C8BDF6

Accessibility & contrast

On white

5.24
#6D52E7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.01
#6D52E7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6D52E7
5.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6D52E7#FFFFFF#000000##FFFFFF
##6D52E71.005.244.015.24
#FFFFFF5.241.0021.001.00
#0000004.0121.001.0021.00
##FFFFFF5.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0070EC
Deuteranopia (green-blind)
#0068E4
Tritanopia (blue-blind)
#3A7795
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #6d52e7;
/* rgb */ color: rgb(109, 82, 231);
/* oklch */ color: oklch(55.3% 0.214 285.3);
Tailwind
colors: {
  custom: {
    50: '#a184f0',
    500: '#6d52e7',
    950: '#000000',
  },
}
SCSS
$custom: #6d52e7;
$custom-light: #a184f0;
$custom-dark: #000000;
JSON
{
  "hex": "#6d52e7",
  "rgb": {
    "r": 109,
    "g": 82,
    "b": 231
  },
  "hsl": {
    "h": 250.872,
    "s": 75.635,
    "l": 61.373
  },
  "oklch": {
    "l": 0.55282,
    "c": 0.21426,
    "h": 285.3
  },
  "luminance": 0.15055
}

Semantic roles & 50–950 ramp

primary
#6D52E7
secondary
#DCE6AF
accent
#D80EB3
background
#FAF8FE
surface
#F4EFFD
border
#CECAD5
text
#100B17
muted
#7F7C85

Preview Lab

Preview with #6D52E7

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

Preview Lab → · Contrast checker → · Palette generator →

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