#6D52CD#6D52CD

#6D52CD is a mid, vivid violet. Relative luminance 0.137; OKLCH L 53.3% C 0.182 H 288.8°. Best body text is #FFFFFF at 5.62:1 contrast (WCAG AA passes).

Color values

HEX#6D52CD
RGBrgb(109, 82, 205)
HSLhsl(253, 55%, 56%)
HSVhsv(253, 60%, 80%)
CMYKcmyk(46.8%, 60%, 0%, 19.6%)
CIE-LABlab(43.79, 41.36, -60.26)
CIE-LCHlch(43.79, 73.09, 304.46°)
OKLaboklab(53.28% 0.0586 -0.1722)
OKLCHoklch(53.28% 0.182 288.8)
XYZxyz(20.3403, 13.6928, 59.3170)
Luminance0.1369 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6D52CD #B2CD52
analogous
#5275CD #6D52CD #AB52CD
triadic
#6D52CD #CD6D52 #52CD6D
tetradic
#6D52CD #CD5275 #B2CD52 #52CDAB
square
#6D52CD #CD5275 #B2CD52 #52CDAB
split-complementary
#6D52CD #CDAB52 #75CD52
monochromatic
#392580 #4E33AF #6D52CD #9581DB #BDB1E8

Accessibility & contrast

On white

5.62
#6D52CD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.74
#6D52CD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6D52CD
5.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6D52CD#FFFFFF#000000##FFFFFF
##6D52CD1.005.623.745.62
#FFFFFF5.621.0021.001.00
#0000003.7421.001.0021.00
##FFFFFF5.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006AD1
Deuteranopia (green-blind)
#0064CA
Tritanopia (blue-blind)
#4E6E88
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #6d52cd;
/* rgb */ color: rgb(109, 82, 205);
/* oklch */ color: oklch(53.3% 0.182 288.8);
Tailwind
colors: {
  custom: {
    50: '#9e84dd',
    500: '#6d52cd',
    950: '#000000',
  },
}
SCSS
$custom: #6d52cd;
$custom-light: #9e84dd;
$custom-dark: #000000;
JSON
{
  "hex": "#6d52cd",
  "rgb": {
    "r": 109,
    "g": 82,
    "b": 205
  },
  "hsl": {
    "h": 253.171,
    "s": 55.157,
    "l": 56.275
  },
  "oklch": {
    "l": 0.53282,
    "c": 0.18191,
    "h": 288.8
  },
  "luminance": 0.13694
}

Semantic roles & 50–950 ramp

primary
#6D52CD
secondary
#CCD7A4
accent
#DE49BE
background
#FAF8FD
surface
#F4EFFB
border
#CECAD4
text
#0F0B15
muted
#7F7C83

Preview Lab

Preview with #6D52CD

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

Preview Lab → · Contrast checker → · Palette generator →

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