#6D52CA#6D52CA

#6D52CA is a mid, vivid violet. Relative luminance 0.136; OKLCH L 53.1% C 0.178 H 289.2°. Best body text is #FFFFFF at 5.66:1 contrast (WCAG AA passes).

Color values

HEX#6D52CA
RGBrgb(109, 82, 202)
HSLhsl(254, 53%, 56%)
HSVhsv(254, 59%, 79%)
CMYKcmyk(46%, 59.4%, 0%, 20.8%)
CIE-LABlab(43.58, 40.50, -58.87)
CIE-LCHlch(43.58, 71.45, 304.52°)
OKLaboklab(53.06% 0.0587 -0.1681)
OKLCHoklch(53.06% 0.178 289.2)
XYZxyz(19.9816, 13.5493, 57.4281)
Luminance0.1355 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6D52CA #AFCA52
analogous
#5273CA #6D52CA #A952CA
triadic
#6D52CA #CA6D52 #52CA6D
tetradic
#6D52CA #CA5273 #AFCA52 #52CAA9
square
#6D52CA #CA5273 #AFCA52 #52CAA9
split-complementary
#6D52CA #CAA952 #73CA52
monochromatic
#39267C #4F34AB #6D52CA #9581D8 #BCB0E7

Accessibility & contrast

On white

5.66
#6D52CA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.71
#6D52CA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6D52CA
5.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6D52CA#FFFFFF#000000##FFFFFF
##6D52CA1.005.663.715.66
#FFFFFF5.661.0021.001.00
#0000003.7121.001.0021.00
##FFFFFF5.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0069CE
Deuteranopia (green-blind)
#0064C7
Tritanopia (blue-blind)
#506D86
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #6d52ca;
/* rgb */ color: rgb(109, 82, 202);
/* oklch */ color: oklch(53.1% 0.178 289.2);
Tailwind
colors: {
  custom: {
    50: '#9d84db',
    500: '#6d52ca',
    950: '#000000',
  },
}
SCSS
$custom: #6d52ca;
$custom-light: #9d84db;
$custom-dark: #000000;
JSON
{
  "hex": "#6d52ca",
  "rgb": {
    "r": 109,
    "g": 82,
    "b": 202
  },
  "hsl": {
    "h": 253.5,
    "s": 53.097,
    "l": 55.686
  },
  "oklch": {
    "l": 0.53063,
    "c": 0.17808,
    "h": 289.2
  },
  "luminance": 0.1355
}

Semantic roles & 50–950 ramp

primary
#6D52CA
secondary
#CAD5A3
accent
#DD4BBC
background
#FAF8FD
surface
#F4EFFB
border
#CECAD4
text
#0F0B15
muted
#7F7C83

Preview Lab

Preview with #6D52CA

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

Preview Lab → · Contrast checker → · Palette generator →

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