#6B52DF#6B52DF

#6B52DF is a mid, highly saturated violet. Relative luminance 0.145; OKLCH L 54.5% C 0.205 H 285.5°. Best body text is #FFFFFF at 5.39:1 contrast (WCAG AA passes).

Color values

HEX#6B52DF
RGBrgb(107, 82, 223)
HSLhsl(251, 69%, 60%)
HSVhsv(251, 63%, 87%)
CMYKcmyk(52%, 63.2%, 0%, 12.5%)
CIE-LABlab(44.92, 46.23, -68.73)
CIE-LCHlch(44.92, 82.83, 303.92°)
OKLaboklab(54.48% 0.0547 -0.1972)
OKLCHoklch(54.48% 0.205 285.5)
XYZxyz(22.3960, 14.4869, 71.4139)
Luminance0.1449 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6B52DF #C6DF52
analogous
#5280DF #6B52DF #B152DF
triadic
#6B52DF #DF6B52 #52DF6B
tetradic
#6B52DF #DF5280 #C6DF52 #52DFB1
square
#6B52DF #DF5280 #C6DF52 #52DFB1
split-complementary
#6B52DF #DFB152 #80DF52
monochromatic
#331D9A #4426CE #6B52DF #9786E9 #C3B9F2

Accessibility & contrast

On white

5.39
#6B52DF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.90
#6B52DF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6B52DF
5.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6B52DF#FFFFFF#000000##FFFFFF
##6B52DF1.005.393.905.39
#FFFFFF5.391.0021.001.00
#0000003.9021.001.0021.00
##FFFFFF5.391.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #6b52df;
/* rgb */ color: rgb(107, 82, 223);
/* oklch */ color: oklch(54.5% 0.205 285.5);
Tailwind
colors: {
  custom: {
    50: '#9f84ea',
    500: '#6b52df',
    950: '#000000',
  },
}
SCSS
$custom: #6b52df;
$custom-light: #9f84ea;
$custom-dark: #000000;
JSON
{
  "hex": "#6b52df",
  "rgb": {
    "r": 107,
    "g": 82,
    "b": 223
  },
  "hsl": {
    "h": 250.638,
    "s": 68.78,
    "l": 59.804
  },
  "oklch": {
    "l": 0.5448,
    "c": 0.20463,
    "h": 285.5
  },
  "luminance": 0.14488
}

Semantic roles & 50–950 ramp

primary
#6B52DF
secondary
#D8E2AB
accent
#EC3CCD
background
#FAF8FE
surface
#F4EFFD
border
#CECAD5
text
#100B16
muted
#7F7C84

Preview Lab

Preview with #6B52DF

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

Preview Lab → · Contrast checker → · Palette generator →

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