#6B52CD#6B52CD

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

Color values

HEX#6B52CD
RGBrgb(107, 82, 205)
HSLhsl(252, 55%, 56%)
HSVhsv(252, 60%, 80%)
CMYKcmyk(47.8%, 60%, 0%, 19.6%)
CIE-LABlab(43.61, 40.95, -60.56)
CIE-LCHlch(43.61, 73.11, 304.07°)
OKLaboklab(53.1% 0.056 -0.1732)
OKLCHoklch(53.1% 0.182 287.9)
XYZxyz(20.0970, 13.5673, 59.3056)
Luminance0.1357 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6B52CD #B4CD52
analogous
#5277CD #6B52CD #A952CD
triadic
#6B52CD #CD6B52 #52CD6B
tetradic
#6B52CD #CD5277 #B4CD52 #52CDA9
square
#6B52CD #CD5277 #B4CD52 #52CDA9
split-complementary
#6B52CD #CDA952 #77CD52
monochromatic
#372580 #4C33AF #6B52CD #9481DB #BCB1E8

Accessibility & contrast

On white

5.65
#6B52CD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #6B52CD
5.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6B52CD#FFFFFF#000000##FFFFFF
##6B52CD1.005.653.715.65
#FFFFFF5.651.0021.001.00
#0000003.7121.001.0021.00
##FFFFFF5.651.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #6b52cd;
/* rgb */ color: rgb(107, 82, 205);
/* oklch */ color: oklch(53.1% 0.182 287.9);
Tailwind
colors: {
  custom: {
    50: '#9c84dd',
    500: '#6b52cd',
    950: '#000000',
  },
}
SCSS
$custom: #6b52cd;
$custom-light: #9c84dd;
$custom-dark: #000000;
JSON
{
  "hex": "#6b52cd",
  "rgb": {
    "r": 107,
    "g": 82,
    "b": 205
  },
  "hsl": {
    "h": 252.195,
    "s": 55.157,
    "l": 56.275
  },
  "oklch": {
    "l": 0.53104,
    "c": 0.182,
    "h": 287.9
  },
  "luminance": 0.13568
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #6B52CD

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

Preview Lab → · Contrast checker → · Palette generator →

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