#6D52CE#6D52CE

#6D52CE is a mid, vivid violet. Relative luminance 0.137; OKLCH L 53.4% C 0.183 H 288.6°. Best body text is #FFFFFF at 5.60:1 contrast (WCAG AA passes).

Color values

HEX#6D52CE
RGBrgb(109, 82, 206)
HSLhsl(253, 56%, 56%)
HSVhsv(253, 60%, 81%)
CMYKcmyk(47.1%, 60.2%, 0%, 19.2%)
CIE-LABlab(43.86, 41.65, -60.72)
CIE-LCHlch(43.86, 73.63, 304.45°)
OKLaboklab(53.36% 0.0585 -0.1736)
OKLCHoklch(53.36% 0.183 288.6)
XYZxyz(20.4613, 13.7412, 59.9548)
Luminance0.1374 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6D52CE #B3CE52
analogous
#5275CE #6D52CE #AB52CE
triadic
#6D52CE #CE6D52 #52CE6D
tetradic
#6D52CE #CE5275 #B3CE52 #52CEAB
square
#6D52CE #CE5275 #B3CE52 #52CEAB
split-complementary
#6D52CE #CEAB52 #75CE52
monochromatic
#392581 #4E32B1 #6D52CE #9582DC #BDB1E9

Accessibility & contrast

On white

5.60
#6D52CE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.75
#6D52CE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6D52CE
5.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6D52CE#FFFFFF#000000##FFFFFF
##6D52CE1.005.603.755.60
#FFFFFF5.601.0021.001.00
#0000003.7521.001.0021.00
##FFFFFF5.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006AD2
Deuteranopia (green-blind)
#0065CB
Tritanopia (blue-blind)
#4D6F88
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #6d52ce;
/* rgb */ color: rgb(109, 82, 206);
/* oklch */ color: oklch(53.4% 0.183 288.6);
Tailwind
colors: {
  custom: {
    50: '#9e84de',
    500: '#6d52ce',
    950: '#000000',
  },
}
SCSS
$custom: #6d52ce;
$custom-light: #9e84de;
$custom-dark: #000000;
JSON
{
  "hex": "#6d52ce",
  "rgb": {
    "r": 109,
    "g": 82,
    "b": 206
  },
  "hsl": {
    "h": 253.065,
    "s": 55.856,
    "l": 56.471
  },
  "oklch": {
    "l": 0.53356,
    "c": 0.18319,
    "h": 288.6
  },
  "luminance": 0.13742
}

Semantic roles & 50–950 ramp

primary
#6D52CE
secondary
#CCD7A4
accent
#DF49BE
background
#FAF8FD
surface
#F4EFFB
border
#CECAD4
text
#0F0B15
muted
#7F7C83

Preview Lab

Preview with #6D52CE

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

Preview Lab → · Contrast checker → · Palette generator →

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