#6D52ED#6D52ED

#6D52ED is a mid, highly saturated violet. Relative luminance 0.154; OKLCH L 55.8% C 0.222 H 284.6°. Best body text is #FFFFFF at 5.15:1 contrast (WCAG AA passes).

Color values

HEX#6D52ED
RGBrgb(109, 82, 237)
HSLhsl(250, 81%, 63%)
HSVhsv(250, 65%, 93%)
CMYKcmyk(54%, 65.4%, 0%, 7.1%)
CIE-LABlab(46.18, 50.67, -74.60)
CIE-LCHlch(46.18, 90.18, 304.18°)
OKLaboklab(55.77% 0.0558 -0.2144)
OKLCHoklch(55.77% 0.222 284.6)
XYZxyz(24.6054, 15.3988, 81.7801)
Luminance0.1540 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6D52ED #D2ED52
analogous
#5284ED #6D52ED #BB52ED
triadic
#6D52ED #ED6D52 #52ED6D
tetradic
#6D52ED #ED5284 #D2ED52 #52EDBB
square
#6D52ED #ED5284 #D2ED52 #52EDBB
split-complementary
#6D52ED #EDBB52 #84ED52
monochromatic
#2E13B2 #3E1BE7 #6D52ED #9C89F3 #CBC1F9

Accessibility & contrast

On white

5.15
#6D52ED on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.08
#6D52ED on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6D52ED
5.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6D52ED#FFFFFF#000000##FFFFFF
##6D52ED1.005.154.085.15
#FFFFFF5.151.0021.001.00
#0000004.0821.001.0021.00
##FFFFFF5.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0072F2
Deuteranopia (green-blind)
#0068EA
Tritanopia (blue-blind)
#347999
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #6d52ed;
/* rgb */ color: rgb(109, 82, 237);
/* oklch */ color: oklch(55.8% 0.222 284.6);
Tailwind
colors: {
  custom: {
    50: '#a284f4',
    500: '#6d52ed',
    950: '#000000',
  },
}
SCSS
$custom: #6d52ed;
$custom-light: #a284f4;
$custom-dark: #000000;
JSON
{
  "hex": "#6d52ed",
  "rgb": {
    "r": 109,
    "g": 82,
    "b": 237
  },
  "hsl": {
    "h": 250.452,
    "s": 81.152,
    "l": 62.549
  },
  "oklch": {
    "l": 0.55765,
    "c": 0.22152,
    "h": 284.6
  },
  "luminance": 0.154
}

Semantic roles & 50–950 ramp

primary
#6D52ED
secondary
#E0EAB1
accent
#DE08B8
background
#FAF8FF
surface
#F4EFFE
border
#CECAD6
text
#100B17
muted
#7F7C85

Preview Lab

Preview with #6D52ED

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

Preview Lab → · Contrast checker → · Palette generator →

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