#6D52E6#6D52E6

#6D52E6 is a mid, highly saturated violet. Relative luminance 0.150; OKLCH L 55.2% C 0.213 H 285.4°. Best body text is #FFFFFF at 5.25:1 contrast (WCAG AA passes).

Color values

HEX#6D52E6
RGBrgb(109, 82, 230)
HSLhsl(251, 75%, 61%)
HSVhsv(251, 64%, 90%)
CMYKcmyk(52.6%, 64.3%, 0%, 9.8%)
CIE-LABlab(45.63, 48.62, -71.54)
CIE-LCHlch(45.63, 86.50, 304.20°)
OKLaboklab(55.2% 0.0566 -0.2054)
OKLCHoklch(55.2% 0.213 285.4)
XYZxyz(23.6026, 14.9977, 76.4987)
Luminance0.1500 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6D52E6 #CBE652
analogous
#5281E6 #6D52E6 #B752E6
triadic
#6D52E6 #E66D52 #52E66D
tetradic
#6D52E6 #E65281 #CBE652 #52E6B7
square
#6D52E6 #E65281 #CBE652 #52E6B7
split-complementary
#6D52E6 #E6B752 #81E652
monochromatic
#3218A6 #4220DB #6D52E6 #9A87EE #C7BDF5

Accessibility & contrast

On white

5.25
#6D52E6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.00
#6D52E6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6D52E6
5.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6D52E6#FFFFFF#000000##FFFFFF
##6D52E61.005.254.005.25
#FFFFFF5.251.0021.001.00
#0000004.0021.001.0021.00
##FFFFFF5.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0070EB
Deuteranopia (green-blind)
#0068E3
Tritanopia (blue-blind)
#3B7795
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #6d52e6;
/* rgb */ color: rgb(109, 82, 230);
/* oklch */ color: oklch(55.2% 0.213 285.4);
Tailwind
colors: {
  custom: {
    50: '#a184ef',
    500: '#6d52e6',
    950: '#000000',
  },
}
SCSS
$custom: #6d52e6;
$custom-light: #a184ef;
$custom-dark: #000000;
JSON
{
  "hex": "#6d52e6",
  "rgb": {
    "r": 109,
    "g": 82,
    "b": 230
  },
  "hsl": {
    "h": 250.946,
    "s": 74.747,
    "l": 61.176
  },
  "oklch": {
    "l": 0.55202,
    "c": 0.21305,
    "h": 285.4
  },
  "luminance": 0.14999
}

Semantic roles & 50–950 ramp

primary
#6D52E6
secondary
#DCE6AE
accent
#D70FB2
background
#FAF8FE
surface
#F4EFFD
border
#CECAD5
text
#100B17
muted
#7F7C85

Preview Lab

Preview with #6D52E6

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

Preview Lab → · Contrast checker → · Palette generator →

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