#6B52E3#6B52E3

#6B52E3 is a mid, highly saturated violet. Relative luminance 0.147; OKLCH L 54.8% C 0.210 H 285.0°. Best body text is #FFFFFF at 5.33:1 contrast (WCAG AA passes).

Color values

HEX#6B52E3
RGBrgb(107, 82, 227)
HSLhsl(250, 72%, 61%)
HSVhsv(250, 64%, 89%)
CMYKcmyk(52.9%, 63.9%, 0%, 11%)
CIE-LABlab(45.23, 47.40, -70.50)
CIE-LCHlch(45.23, 84.96, 303.91°)
OKLaboklab(54.8% 0.0543 -0.2024)
OKLCHoklch(54.8% 0.21 285)
XYZxyz(22.9417, 14.7052, 74.2877)
Luminance0.1471 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6B52E3 #CAE352
analogous
#5281E3 #6B52E3 #B352E3
triadic
#6B52E3 #E36B52 #52E36B
tetradic
#6B52E3 #E35281 #CAE352 #52E3B3
square
#6B52E3 #E35281 #CAE352 #52E3B3
split-complementary
#6B52E3 #E3B352 #81E352
monochromatic
#311AA1 #4123D5 #6B52E3 #9887EC #C5BBF4

Accessibility & contrast

On white

5.33
#6B52E3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.94
#6B52E3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6B52E3
5.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6B52E3#FFFFFF#000000##FFFFFF
##6B52E31.005.333.945.33
#FFFFFF5.331.0021.001.00
#0000003.9421.001.0021.00
##FFFFFF5.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006FE8
Deuteranopia (green-blind)
#0067E0
Tritanopia (blue-blind)
#397693
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #6b52e3;
/* rgb */ color: rgb(107, 82, 227);
/* oklch */ color: oklch(54.8% 0.210 285.0);
Tailwind
colors: {
  custom: {
    50: '#9f84ed',
    500: '#6b52e3',
    950: '#000000',
  },
}
SCSS
$custom: #6b52e3;
$custom-light: #9f84ed;
$custom-dark: #000000;
JSON
{
  "hex": "#6b52e3",
  "rgb": {
    "r": 107,
    "g": 82,
    "b": 227
  },
  "hsl": {
    "h": 250.345,
    "s": 72.139,
    "l": 60.588
  },
  "oklch": {
    "l": 0.54796,
    "c": 0.20957,
    "h": 285
  },
  "luminance": 0.14706
}

Semantic roles & 50–950 ramp

primary
#6B52E3
secondary
#DAE4AD
accent
#D411B3
background
#FAF8FE
surface
#F4EFFD
border
#CECAD5
text
#100B16
muted
#7F7C84

Preview Lab

Preview with #6B52E3

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

Preview Lab → · Contrast checker → · Palette generator →

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