#6F52CF#6F52CF

#6F52CF is a mid, vivid violet. Relative luminance 0.139; OKLCH L 53.6% C 0.184 H 289.4°. Best body text is #FFFFFF at 5.55:1 contrast (WCAG AA passes).

Color values

HEX#6F52CF
RGBrgb(111, 82, 207)
HSLhsl(254, 57%, 57%)
HSVhsv(254, 60%, 81%)
CMYKcmyk(46.4%, 60.4%, 0%, 18.8%)
CIE-LABlab(44.12, 42.34, -60.87)
CIE-LCHlch(44.12, 74.15, 304.82°)
OKLaboklab(53.61% 0.0611 -0.174)
OKLCHoklch(53.61% 0.184 289.4)
XYZxyz(20.8321, 13.9183, 60.6082)
Luminance0.1392 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6F52CF #B2CF52
analogous
#5274CF #6F52CF #AE52CF
triadic
#6F52CF #CF6F52 #52CF6F
tetradic
#6F52CF #CF5274 #B2CF52 #52CFAE
square
#6F52CF #CF5274 #B2CF52 #52CFAE
split-complementary
#6F52CF #CFAE52 #74CF52
monochromatic
#3A2482 #4F31B2 #6F52CF #9782DC #BFB2EA

Accessibility & contrast

On white

5.55
#6F52CF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.78
#6F52CF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6F52CF
5.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6F52CF#FFFFFF#000000##FFFFFF
##6F52CF1.005.553.785.55
#FFFFFF5.551.0021.001.00
#0000003.7821.001.0021.00
##FFFFFF5.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006BD3
Deuteranopia (green-blind)
#0065CC
Tritanopia (blue-blind)
#516F89
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #6f52cf;
/* rgb */ color: rgb(111, 82, 207);
/* oklch */ color: oklch(53.6% 0.184 289.4);
Tailwind
colors: {
  custom: {
    50: '#9f84de',
    500: '#6f52cf',
    950: '#000000',
  },
}
SCSS
$custom: #6f52cf;
$custom-light: #9f84de;
$custom-dark: #000000;
JSON
{
  "hex": "#6f52cf",
  "rgb": {
    "r": 111,
    "g": 82,
    "b": 207
  },
  "hsl": {
    "h": 253.92,
    "s": 56.561,
    "l": 56.667
  },
  "oklch": {
    "l": 0.5361,
    "c": 0.18438,
    "h": 289.4
  },
  "luminance": 0.13919
}

Semantic roles & 50–950 ramp

primary
#6F52CF
secondary
#CCD8A5
accent
#E048BD
background
#FAF8FD
surface
#F4EFFB
border
#CECAD4
text
#0F0B15
muted
#7F7C83

Preview Lab

Preview with #6F52CF

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

Preview Lab → · Contrast checker → · Palette generator →

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