#6B52CB#6B52CB

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

Color values

HEX#6B52CB
RGBrgb(107, 82, 203)
HSLhsl(252, 54%, 56%)
HSVhsv(252, 60%, 80%)
CMYKcmyk(47.3%, 59.6%, 0%, 20.4%)
CIE-LABlab(43.47, 40.37, -59.64)
CIE-LCHlch(43.47, 72.02, 304.09°)
OKLaboklab(52.96% 0.0561 -0.1705)
OKLCHoklch(52.96% 0.179 288.2)
XYZxyz(19.8571, 13.4714, 58.0423)
Luminance0.1347 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6B52CB #B2CB52
analogous
#5275CB #6B52CB #A852CB
triadic
#6B52CB #CB6B52 #52CB6B
tetradic
#6B52CB #CB5275 #B2CB52 #52CBA8
square
#6B52CB #CB5275 #B2CB52 #52CBA8
split-complementary
#6B52CB #CBA852 #75CB52
monochromatic
#38267D #4D34AC #6B52CB #9381D9 #BCB0E7

Accessibility & contrast

On white

5.68
#6B52CB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #6B52CB
5.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6B52CB#FFFFFF#000000##FFFFFF
##6B52CB1.005.683.695.68
#FFFFFF5.681.0021.001.00
#0000003.6921.001.0021.00
##FFFFFF5.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0069CF
Deuteranopia (green-blind)
#0064C8
Tritanopia (blue-blind)
#4C6E87
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #6b52cb;
/* rgb */ color: rgb(107, 82, 203);
/* oklch */ color: oklch(53.0% 0.179 288.2);
Tailwind
colors: {
  custom: {
    50: '#9c83dc',
    500: '#6b52cb',
    950: '#000000',
  },
}
SCSS
$custom: #6b52cb;
$custom-light: #9c83dc;
$custom-dark: #000000;
JSON
{
  "hex": "#6b52cb",
  "rgb": {
    "r": 107,
    "g": 82,
    "b": 203
  },
  "hsl": {
    "h": 252.397,
    "s": 53.778,
    "l": 55.882
  },
  "oklch": {
    "l": 0.52956,
    "c": 0.17944,
    "h": 288.2
  },
  "luminance": 0.13472
}

Semantic roles & 50–950 ramp

primary
#6B52CB
secondary
#CBD5A3
accent
#DD4BBF
background
#FAF8FD
surface
#F3EFFB
border
#CDCAD4
text
#0F0B15
muted
#7F7C83

Preview Lab

Preview with #6B52CB

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

Preview Lab → · Contrast checker → · Palette generator →

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