#6A52DF#6A52DF

#6A52DF is a mid, highly saturated violet. Relative luminance 0.144; OKLCH L 54.4% C 0.205 H 285.1°. Best body text is #FFFFFF at 5.41:1 contrast (WCAG AA passes).

Color values

HEX#6A52DF
RGBrgb(106, 82, 223)
HSLhsl(250, 69%, 60%)
HSVhsv(250, 63%, 87%)
CMYKcmyk(52.5%, 63.2%, 0%, 12.5%)
CIE-LABlab(44.84, 46.05, -68.87)
CIE-LCHlch(44.84, 82.85, 303.77°)
OKLaboklab(54.4% 0.0534 -0.1976)
OKLCHoklch(54.4% 0.205 285.1)
XYZxyz(22.2764, 14.4253, 71.4083)
Luminance0.1443 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6A52DF #C7DF52
analogous
#5280DF #6A52DF #B152DF
triadic
#6A52DF #DF6A52 #52DF6A
tetradic
#6A52DF #DF5280 #C7DF52 #52DFB1
square
#6A52DF #DF5280 #C7DF52 #52DFB1
split-complementary
#6A52DF #DFB152 #80DF52
monochromatic
#321D9A #4326CE #6A52DF #9686E9 #C3B9F2

Accessibility & contrast

On white

5.41
#6A52DF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.89
#6A52DF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6A52DF
5.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6A52DF#FFFFFF#000000##FFFFFF
##6A52DF1.005.413.895.41
#FFFFFF5.411.0021.001.00
#0000003.8921.001.0021.00
##FFFFFF5.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006EE3
Deuteranopia (green-blind)
#0066DC
Tritanopia (blue-blind)
#3A7491
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #6a52df;
/* rgb */ color: rgb(106, 82, 223);
/* oklch */ color: oklch(54.4% 0.205 285.1);
Tailwind
colors: {
  custom: {
    50: '#9e84ea',
    500: '#6a52df',
    950: '#000000',
  },
}
SCSS
$custom: #6a52df;
$custom-light: #9e84ea;
$custom-dark: #000000;
JSON
{
  "hex": "#6a52df",
  "rgb": {
    "r": 106,
    "g": 82,
    "b": 223
  },
  "hsl": {
    "h": 250.213,
    "s": 68.78,
    "l": 59.804
  },
  "oklch": {
    "l": 0.54396,
    "c": 0.20473,
    "h": 285.1
  },
  "luminance": 0.14426
}

Semantic roles & 50–950 ramp

primary
#6A52DF
secondary
#D8E2AB
accent
#EC3CCE
background
#FAF8FE
surface
#F4EFFD
border
#CECAD5
text
#0F0B16
muted
#7F7C84

Preview Lab

Preview with #6A52DF

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

Preview Lab → · Contrast checker → · Palette generator →

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