#6D52CF#6D52CF

#6D52CF is a mid, vivid violet. Relative luminance 0.138; OKLCH L 53.4% C 0.184 H 288.5°. Best body text is #FFFFFF at 5.59:1 contrast (WCAG AA passes).

Color values

HEX#6D52CF
RGBrgb(109, 82, 207)
HSLhsl(253, 57%, 57%)
HSVhsv(253, 60%, 81%)
CMYKcmyk(47.3%, 60.4%, 0%, 18.8%)
CIE-LABlab(43.93, 41.94, -61.18)
CIE-LCHlch(43.93, 74.18, 304.43°)
OKLaboklab(53.43% 0.0585 -0.1749)
OKLCHoklch(53.43% 0.184 288.5)
XYZxyz(20.5832, 13.7899, 60.5966)
Luminance0.1379 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6D52CF #B4CF52
analogous
#5276CF #6D52CF #AC52CF
triadic
#6D52CF #CF6D52 #52CF6D
tetradic
#6D52CF #CF5276 #B4CF52 #52CFAC
square
#6D52CF #CF5276 #B4CF52 #52CFAC
split-complementary
#6D52CF #CFAC52 #76CF52
monochromatic
#392482 #4D31B2 #6D52CF #9582DC #BEB2EA

Accessibility & contrast

On white

5.59
#6D52CF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.76
#6D52CF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6D52CF
5.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6D52CF#FFFFFF#000000##FFFFFF
##6D52CF1.005.593.765.59
#FFFFFF5.591.0021.001.00
#0000003.7621.001.0021.00
##FFFFFF5.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006BD3
Deuteranopia (green-blind)
#0065CC
Tritanopia (blue-blind)
#4D6F89
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #6d52cf;
/* rgb */ color: rgb(109, 82, 207);
/* oklch */ color: oklch(53.4% 0.184 288.5);
Tailwind
colors: {
  custom: {
    50: '#9e84de',
    500: '#6d52cf',
    950: '#000000',
  },
}
SCSS
$custom: #6d52cf;
$custom-light: #9e84de;
$custom-dark: #000000;
JSON
{
  "hex": "#6d52cf",
  "rgb": {
    "r": 109,
    "g": 82,
    "b": 207
  },
  "hsl": {
    "h": 252.96,
    "s": 56.561,
    "l": 56.667
  },
  "oklch": {
    "l": 0.5343,
    "c": 0.18445,
    "h": 288.5
  },
  "luminance": 0.13791
}

Semantic roles & 50–950 ramp

primary
#6D52CF
secondary
#CDD8A5
accent
#E048BF
background
#FAF8FD
surface
#F4EFFB
border
#CECAD4
text
#0F0B15
muted
#7F7C83

Preview Lab

Preview with #6D52CF

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

Preview Lab → · Contrast checker → · Palette generator →

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