#6A52E1#6A52E1

#6A52E1 is a mid, highly saturated violet. Relative luminance 0.145; OKLCH L 54.6% C 0.207 H 284.9°. Best body text is #FFFFFF at 5.37:1 contrast (WCAG AA passes).

Color values

HEX#6A52E1
RGBrgb(106, 82, 225)
HSLhsl(250, 70%, 60%)
HSVhsv(250, 64%, 88%)
CMYKcmyk(52.9%, 63.6%, 0%, 11.8%)
CIE-LABlab(44.99, 46.64, -69.76)
CIE-LCHlch(44.99, 83.92, 303.76°)
OKLaboklab(54.55% 0.0532 -0.2002)
OKLCHoklch(54.55% 0.207 284.9)
XYZxyz(22.5477, 14.5338, 72.8368)
Luminance0.1454 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6A52E1 #C9E152
analogous
#5281E1 #6A52E1 #B152E1
triadic
#6A52E1 #E16A52 #52E16A
tetradic
#6A52E1 #E15281 #C9E152 #52E1B1
square
#6A52E1 #E15281 #C9E152 #52E1B1
split-complementary
#6A52E1 #E1B152 #81E152
monochromatic
#311B9D #4124D1 #6A52E1 #9786EA #C4BAF3

Accessibility & contrast

On white

5.37
#6A52E1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.91
#6A52E1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6A52E1
5.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6A52E1#FFFFFF#000000##FFFFFF
##6A52E11.005.373.915.37
#FFFFFF5.371.0021.001.00
#0000003.9121.001.0021.00
##FFFFFF5.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006FE6
Deuteranopia (green-blind)
#0066DE
Tritanopia (blue-blind)
#387592
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #6a52e1;
/* rgb */ color: rgb(106, 82, 225);
/* oklch */ color: oklch(54.6% 0.207 284.9);
Tailwind
colors: {
  custom: {
    50: '#9f84eb',
    500: '#6a52e1',
    950: '#000000',
  },
}
SCSS
$custom: #6a52e1;
$custom-light: #9f84eb;
$custom-dark: #000000;
JSON
{
  "hex": "#6a52e1",
  "rgb": {
    "r": 106,
    "g": 82,
    "b": 225
  },
  "hsl": {
    "h": 250.07,
    "s": 70.443,
    "l": 60.196
  },
  "oklch": {
    "l": 0.54554,
    "c": 0.20721,
    "h": 284.9
  },
  "luminance": 0.14535
}

Semantic roles & 50–950 ramp

primary
#6A52E1
secondary
#DAE3AC
accent
#D213B2
background
#FAF8FE
surface
#F4EFFD
border
#CECAD5
text
#100B16
muted
#7F7C84

Preview Lab

Preview with #6A52E1

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

Preview Lab → · Contrast checker → · Palette generator →

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