#6D52EC#6D52EC

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

Color values

HEX#6D52EC
RGBrgb(109, 82, 236)
HSLhsl(251, 80%, 62%)
HSVhsv(251, 65%, 93%)
CMYKcmyk(53.8%, 65.3%, 0%, 7.5%)
CIE-LABlab(46.10, 50.37, -74.17)
CIE-LCHlch(46.10, 89.66, 304.19°)
OKLaboklab(55.68% 0.056 -0.2131)
OKLCHoklch(55.68% 0.22 284.7)
XYZxyz(24.4597, 15.3405, 81.0128)
Luminance0.1534 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6D52EC #D1EC52
analogous
#5284EC #6D52EC #BA52EC
triadic
#6D52EC #EC6D52 #52EC6D
tetradic
#6D52EC #EC5284 #D1EC52 #52ECBA
square
#6D52EC #EC5284 #D1EC52 #52ECBA
split-complementary
#6D52EC #ECBA52 #84EC52
monochromatic
#2F13B0 #3E1BE6 #6D52EC #9C89F2 #CAC0F8

Accessibility & contrast

On white

5.16
#6D52EC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.07
#6D52EC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6D52EC
5.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6D52EC#FFFFFF#000000##FFFFFF
##6D52EC1.005.164.075.16
#FFFFFF5.161.0021.001.00
#0000004.0721.001.0021.00
##FFFFFF5.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0072F1
Deuteranopia (green-blind)
#0068E9
Tritanopia (blue-blind)
#357998
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #6d52ec;
/* rgb */ color: rgb(109, 82, 236);
/* oklch */ color: oklch(55.7% 0.220 284.7);
Tailwind
colors: {
  custom: {
    50: '#a284f3',
    500: '#6d52ec',
    950: '#000000',
  },
}
SCSS
$custom: #6d52ec;
$custom-light: #a284f3;
$custom-dark: #000000;
JSON
{
  "hex": "#6d52ec",
  "rgb": {
    "r": 109,
    "g": 82,
    "b": 236
  },
  "hsl": {
    "h": 250.519,
    "s": 80.208,
    "l": 62.353
  },
  "oklch": {
    "l": 0.55684,
    "c": 0.22031,
    "h": 284.7
  },
  "luminance": 0.15342
}

Semantic roles & 50–950 ramp

primary
#6D52EC
secondary
#DFE9B1
accent
#DD09B7
background
#FAF8FF
surface
#F4EFFE
border
#CECAD6
text
#100B17
muted
#7F7C85

Preview Lab

Preview with #6D52EC

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

Preview Lab → · Contrast checker → · Palette generator →

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