#6F52CC#6F52CC

#6F52CC is a mid, vivid violet. Relative luminance 0.138; OKLCH L 53.4% C 0.181 H 289.8°. Best body text is #FFFFFF at 5.59:1 contrast (WCAG AA passes).

Color values

HEX#6F52CC
RGBrgb(111, 82, 204)
HSLhsl(254, 54%, 56%)
HSVhsv(254, 60%, 80%)
CMYKcmyk(45.6%, 59.8%, 0%, 20%)
CIE-LABlab(43.91, 41.49, -59.49)
CIE-LCHlch(43.91, 72.52, 304.89°)
OKLaboklab(53.39% 0.0613 -0.1699)
OKLCHoklch(53.39% 0.181 289.8)
XYZxyz(20.4688, 13.7730, 58.6950)
Luminance0.1377 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6F52CC #AFCC52
analogous
#5272CC #6F52CC #AC52CC
triadic
#6F52CC #CC6F52 #52CC6F
tetradic
#6F52CC #CC5272 #AFCC52 #52CCAC
square
#6F52CC #CC5272 #AFCC52 #52CCAC
split-complementary
#6F52CC #CCAC52 #72CC52
monochromatic
#3A257E #5033AE #6F52CC #9681DA #BEB1E8

Accessibility & contrast

On white

5.59
#6F52CC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.75
#6F52CC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6F52CC
5.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6F52CC#FFFFFF#000000##FFFFFF
##6F52CC1.005.593.755.59
#FFFFFF5.591.0021.001.00
#0000003.7521.001.0021.00
##FFFFFF5.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006AD0
Deuteranopia (green-blind)
#0065C9
Tritanopia (blue-blind)
#526E87
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #6f52cc;
/* rgb */ color: rgb(111, 82, 204);
/* oklch */ color: oklch(53.4% 0.181 289.8);
Tailwind
colors: {
  custom: {
    50: '#9f84dc',
    500: '#6f52cc',
    950: '#000000',
  },
}
SCSS
$custom: #6f52cc;
$custom-light: #9f84dc;
$custom-dark: #000000;
JSON
{
  "hex": "#6f52cc",
  "rgb": {
    "r": 111,
    "g": 82,
    "b": 204
  },
  "hsl": {
    "h": 254.262,
    "s": 54.464,
    "l": 56.078
  },
  "oklch": {
    "l": 0.5339,
    "c": 0.18059,
    "h": 289.8
  },
  "luminance": 0.13774
}

Semantic roles & 50–950 ramp

primary
#6F52CC
secondary
#CAD6A4
accent
#DE4ABB
background
#FAF8FD
surface
#F4EFFB
border
#CECAD4
text
#0F0B15
muted
#7F7C83

Preview Lab

Preview with #6F52CC

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

Preview Lab → · Contrast checker → · Palette generator →

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