#6B52CA#6B52CA

#6B52CA is a mid, vivid violet. Relative luminance 0.134; OKLCH L 52.9% C 0.178 H 288.4°. Best body text is #FFFFFF at 5.70:1 contrast (WCAG AA passes).

Color values

HEX#6B52CA
RGBrgb(107, 82, 202)
HSLhsl(253, 53%, 56%)
HSVhsv(253, 59%, 79%)
CMYKcmyk(47%, 59.4%, 0%, 20.8%)
CIE-LABlab(43.40, 40.08, -59.18)
CIE-LCHlch(43.40, 71.47, 304.11°)
OKLaboklab(52.88% 0.0561 -0.1691)
OKLCHoklch(52.88% 0.178 288.4)
XYZxyz(19.7383, 13.4238, 57.4167)
Luminance0.1343 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6B52CA #B1CA52
analogous
#5275CA #6B52CA #A752CA
triadic
#6B52CA #CA6B52 #52CA6B
tetradic
#6B52CA #CA5275 #B1CA52 #52CAA7
square
#6B52CA #CA5275 #B1CA52 #52CAA7
split-complementary
#6B52CA #CAA752 #75CA52
monochromatic
#38267C #4D34AB #6B52CA #9381D8 #BBB0E7

Accessibility & contrast

On white

5.70
#6B52CA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.69
#6B52CA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6B52CA
5.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6B52CA#FFFFFF#000000##FFFFFF
##6B52CA1.005.703.695.70
#FFFFFF5.701.0021.001.00
#0000003.6921.001.0021.00
##FFFFFF5.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0069CE
Deuteranopia (green-blind)
#0063C7
Tritanopia (blue-blind)
#4C6D86
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #6b52ca;
/* rgb */ color: rgb(107, 82, 202);
/* oklch */ color: oklch(52.9% 0.178 288.4);
Tailwind
colors: {
  custom: {
    50: '#9c83db',
    500: '#6b52ca',
    950: '#000000',
  },
}
SCSS
$custom: #6b52ca;
$custom-light: #9c83db;
$custom-dark: #000000;
JSON
{
  "hex": "#6b52ca",
  "rgb": {
    "r": 107,
    "g": 82,
    "b": 202
  },
  "hsl": {
    "h": 252.5,
    "s": 53.097,
    "l": 55.686
  },
  "oklch": {
    "l": 0.52883,
    "c": 0.17815,
    "h": 288.4
  },
  "luminance": 0.13425
}

Semantic roles & 50–950 ramp

primary
#6B52CA
secondary
#CAD5A3
accent
#DD4BBE
background
#FAF8FD
surface
#F3EFFB
border
#CDCAD4
text
#0F0B15
muted
#7F7C83

Preview Lab

Preview with #6B52CA

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

Preview Lab → · Contrast checker → · Palette generator →

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