#6D52DF#6D52DF

#6D52DF is a mid, highly saturated violet. Relative luminance 0.146; OKLCH L 54.6% C 0.204 H 286.3°. Best body text is #FFFFFF at 5.35:1 contrast (WCAG AA passes).

Color values

HEX#6D52DF
RGBrgb(109, 82, 223)
HSLhsl(251, 69%, 60%)
HSVhsv(251, 63%, 87%)
CMYKcmyk(51.1%, 63.2%, 0%, 12.5%)
CIE-LABlab(45.10, 46.58, -68.44)
CIE-LCHlch(45.10, 82.79, 304.24°)
OKLaboklab(54.65% 0.0573 -0.1963)
OKLCHoklch(54.65% 0.204 286.3)
XYZxyz(22.6393, 14.6124, 71.4253)
Luminance0.1461 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6D52DF #C4DF52
analogous
#527EDF #6D52DF #B352DF
triadic
#6D52DF #DF6D52 #52DF6D
tetradic
#6D52DF #DF527E #C4DF52 #52DFB3
square
#6D52DF #DF527E #C4DF52 #52DFB3
split-complementary
#6D52DF #DFB352 #7EDF52
monochromatic
#351D9A #4626CE #6D52DF #9986E9 #C4B9F2

Accessibility & contrast

On white

5.35
#6D52DF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.92
#6D52DF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6D52DF
5.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6D52DF#FFFFFF#000000##FFFFFF
##6D52DF1.005.353.925.35
#FFFFFF5.351.0021.001.00
#0000003.9221.001.0021.00
##FFFFFF5.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006EE3
Deuteranopia (green-blind)
#0067DC
Tritanopia (blue-blind)
#417491
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #6d52df;
/* rgb */ color: rgb(109, 82, 223);
/* oklch */ color: oklch(54.6% 0.204 286.3);
Tailwind
colors: {
  custom: {
    50: '#a084ea',
    500: '#6d52df',
    950: '#000000',
  },
}
SCSS
$custom: #6d52df;
$custom-light: #a084ea;
$custom-dark: #000000;
JSON
{
  "hex": "#6d52df",
  "rgb": {
    "r": 109,
    "g": 82,
    "b": 223
  },
  "hsl": {
    "h": 251.489,
    "s": 68.78,
    "l": 59.804
  },
  "oklch": {
    "l": 0.5465,
    "c": 0.20446,
    "h": 286.3
  },
  "luminance": 0.14614
}

Semantic roles & 50–950 ramp

primary
#6D52DF
secondary
#D7E2AB
accent
#EC3CCA
background
#FAF8FE
surface
#F4EFFD
border
#CECAD5
text
#100B16
muted
#7F7C84

Preview Lab

Preview with #6D52DF

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

Preview Lab → · Contrast checker → · Palette generator →

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