#6D52EE#6D52EE

#6D52EE is a mid, highly saturated violet. Relative luminance 0.155; OKLCH L 55.8% C 0.223 H 284.5°. Best body text is #FFFFFF at 5.13:1 contrast (WCAG AA passes).

Color values

HEX#6D52EE
RGBrgb(109, 82, 238)
HSLhsl(250, 82%, 63%)
HSVhsv(250, 66%, 93%)
CMYKcmyk(54.2%, 65.5%, 0%, 6.7%)
CIE-LABlab(46.25, 50.96, -75.03)
CIE-LCHlch(46.25, 90.70, 304.18°)
OKLaboklab(55.85% 0.0557 -0.2156)
OKLCHoklch(55.85% 0.223 284.5)
XYZxyz(24.7519, 15.4574, 82.5517)
Luminance0.1546 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6D52EE #D3EE52
analogous
#5285EE #6D52EE #BB52EE
triadic
#6D52EE #EE6D52 #52EE6D
tetradic
#6D52EE #EE5285 #D3EE52 #52EEBB
square
#6D52EE #EE5285 #D3EE52 #52EEBB
split-complementary
#6D52EE #EEBB52 #85EE52
monochromatic
#2E12B4 #3E1AE9 #6D52EE #9C8AF3 #CBC1F9

Accessibility & contrast

On white

5.13
#6D52EE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.09
#6D52EE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6D52EE
5.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6D52EE#FFFFFF#000000##FFFFFF
##6D52EE1.005.134.095.13
#FFFFFF5.131.0021.001.00
#0000004.0921.001.0021.00
##FFFFFF5.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0072F3
Deuteranopia (green-blind)
#0069EB
Tritanopia (blue-blind)
#337999
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #6d52ee;
/* rgb */ color: rgb(109, 82, 238);
/* oklch */ color: oklch(55.8% 0.223 284.5);
Tailwind
colors: {
  custom: {
    50: '#a284f5',
    500: '#6d52ee',
    950: '#000000',
  },
}
SCSS
$custom: #6d52ee;
$custom-light: #a284f5;
$custom-dark: #000000;
JSON
{
  "hex": "#6d52ee",
  "rgb": {
    "r": 109,
    "g": 82,
    "b": 238
  },
  "hsl": {
    "h": 250.385,
    "s": 82.105,
    "l": 62.745
  },
  "oklch": {
    "l": 0.55847,
    "c": 0.22273,
    "h": 284.5
  },
  "luminance": 0.15459
}

Semantic roles & 50–950 ramp

primary
#6D52EE
secondary
#E0EAB2
accent
#DE07B9
background
#FAF8FF
surface
#F4EFFF
border
#CECAD7
text
#100B17
muted
#7F7C85

Preview Lab

Preview with #6D52EE

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

Preview Lab → · Contrast checker → · Palette generator →

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