#6A52BC#6A52BC

#6A52BC is a mid, vivid violet. Relative luminance 0.127; OKLCH L 51.8% C 0.160 H 290.1°. Best body text is #FFFFFF at 5.92:1 contrast (WCAG AA passes).

Color values

HEX#6A52BC
RGBrgb(106, 82, 188)
HSLhsl(254, 44%, 53%)
HSVhsv(254, 56%, 74%)
CMYKcmyk(43.6%, 56.4%, 0%, 26.3%)
CIE-LABlab(42.35, 35.80, -52.73)
CIE-LCHlch(42.35, 63.74, 304.17°)
OKLaboklab(51.79% 0.055 -0.1502)
OKLCHoklch(51.79% 0.16 290.1)
XYZxyz(18.0357, 12.7290, 49.0739)
Luminance0.1273 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6A52BC #A4BC52
analogous
#526FBC #6A52BC #9F52BC
triadic
#6A52BC #BC6A52 #52BC6A
tetradic
#6A52BC #BC526F #A4BC52 #52BC9F
square
#6A52BC #BC526F #A4BC52 #52BC9F
split-complementary
#6A52BC #BC9F52 #6FBC52
monochromatic
#38296A #4F3A97 #6A52BC #907ECD #B6AADE

Accessibility & contrast

On white

5.92
#6A52BC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.55
#6A52BC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6A52BC
5.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6A52BC#FFFFFF#000000##FFFFFF
##6A52BC1.005.923.555.92
#FFFFFF5.921.0021.001.00
#0000003.5521.001.0021.00
##FFFFFF5.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1566C0
Deuteranopia (green-blind)
#1B62BA
Tritanopia (blue-blind)
#52697F
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #6a52bc;
/* rgb */ color: rgb(106, 82, 188);
/* oklch */ color: oklch(51.8% 0.160 290.1);
Tailwind
colors: {
  custom: {
    50: '#9a83d1',
    500: '#6a52bc',
    950: '#000000',
  },
}
SCSS
$custom: #6a52bc;
$custom-light: #9a83d1;
$custom-dark: #000000;
JSON
{
  "hex": "#6a52bc",
  "rgb": {
    "r": 106,
    "g": 82,
    "b": 188
  },
  "hsl": {
    "h": 253.585,
    "s": 44.167,
    "l": 52.941
  },
  "oklch": {
    "l": 0.5179,
    "c": 0.15992,
    "h": 290.1
  },
  "luminance": 0.1273
}

Semantic roles & 50–950 ramp

primary
#6A52BC
secondary
#C1CC9E
accent
#D454B7
background
#F9F8FC
surface
#F2EFF9
border
#CCCAD2
text
#0E0B14
muted
#7E7C82

Preview Lab

Preview with #6A52BC

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

Preview Lab → · Contrast checker → · Palette generator →

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