#6A52CD#6A52CD

#6A52CD is a mid, vivid violet. Relative luminance 0.135; OKLCH L 53.0% C 0.182 H 287.5°. Best body text is #FFFFFF at 5.67:1 contrast (WCAG AA passes).

Color values

HEX#6A52CD
RGBrgb(106, 82, 205)
HSLhsl(252, 55%, 56%)
HSVhsv(252, 60%, 80%)
CMYKcmyk(48.3%, 60%, 0%, 19.6%)
CIE-LABlab(43.52, 40.75, -60.72)
CIE-LCHlch(43.52, 73.12, 303.87°)
OKLaboklab(53.02% 0.0547 -0.1736)
OKLCHoklch(53.02% 0.182 287.5)
XYZxyz(19.9774, 13.5057, 59.3000)
Luminance0.1351 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6A52CD #B5CD52
analogous
#5278CD #6A52CD #A852CD
triadic
#6A52CD #CD6A52 #52CD6A
tetradic
#6A52CD #CD5278 #B5CD52 #52CDA8
square
#6A52CD #CD5278 #B5CD52 #52CDA8
split-complementary
#6A52CD #CDA852 #78CD52
monochromatic
#372580 #4B33AF #6A52CD #9381DB #BCB1E8

Accessibility & contrast

On white

5.67
#6A52CD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.70
#6A52CD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6A52CD
5.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6A52CD#FFFFFF#000000##FFFFFF
##6A52CD1.005.673.705.67
#FFFFFF5.671.0021.001.00
#0000003.7021.001.0021.00
##FFFFFF5.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006AD1
Deuteranopia (green-blind)
#0063CA
Tritanopia (blue-blind)
#486E88
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #6a52cd;
/* rgb */ color: rgb(106, 82, 205);
/* oklch */ color: oklch(53.0% 0.182 287.5);
Tailwind
colors: {
  custom: {
    50: '#9c83dd',
    500: '#6a52cd',
    950: '#000000',
  },
}
SCSS
$custom: #6a52cd;
$custom-light: #9c83dd;
$custom-dark: #000000;
JSON
{
  "hex": "#6a52cd",
  "rgb": {
    "r": 106,
    "g": 82,
    "b": 205
  },
  "hsl": {
    "h": 251.707,
    "s": 55.157,
    "l": 56.275
  },
  "oklch": {
    "l": 0.53016,
    "c": 0.18205,
    "h": 287.5
  },
  "luminance": 0.13507
}

Semantic roles & 50–950 ramp

primary
#6A52CD
secondary
#CDD7A4
accent
#DE49C1
background
#FAF8FD
surface
#F3EFFB
border
#CDCAD4
text
#0F0B15
muted
#7F7C83

Preview Lab

Preview with #6A52CD

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

Preview Lab → · Contrast checker → · Palette generator →

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