#6F5CC7#6F5CC7

#6F5CC7 is a mid, vivid violet. Relative luminance 0.152; OKLCH L 54.7% C 0.160 H 288.1°. Best body text is #FFFFFF at 5.21:1 contrast (WCAG AA passes).

Color values

HEX#6F5CC7
RGBrgb(111, 92, 199)
HSLhsl(251, 49%, 57%)
HSVhsv(251, 54%, 78%)
CMYKcmyk(44.2%, 53.8%, 0%, 22%)
CIE-LABlab(45.85, 34.18, -53.47)
CIE-LCHlch(45.85, 63.46, 302.59°)
OKLaboklab(54.72% 0.0497 -0.1522)
OKLCHoklch(54.72% 0.16 288.1)
XYZxyz(20.6886, 15.1565, 55.8572)
Luminance0.1516 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6F5CC7 #B4C75C
analogous
#5C7FC7 #6F5CC7 #A45CC7
triadic
#6F5CC7 #C76F5C #5CC76F
tetradic
#6F5CC7 #C75C7F #B4C75C #5CC7A4
square
#6F5CC7 #C75C7F #B4C75C #5CC7A4
split-complementary
#6F5CC7 #C7A45C #7FC75C
monochromatic
#3A2B7D #4F3BAB #6F5CC7 #978AD7 #BFB7E6

Accessibility & contrast

On white

5.21
#6F5CC7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.03
#6F5CC7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6F5CC7
5.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6F5CC7#FFFFFF#000000##FFFFFF
##6F5CC71.005.214.035.21
#FFFFFF5.211.0021.001.00
#0000004.0321.001.0021.00
##FFFFFF5.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#276FCB
Deuteranopia (green-blind)
#276AC5
Tritanopia (blue-blind)
#547389
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #6f5cc7;
/* rgb */ color: rgb(111, 92, 199);
/* oklch */ color: oklch(54.7% 0.160 288.1);
Tailwind
colors: {
  custom: {
    50: '#9e8ad9',
    500: '#6f5cc7',
    950: '#000000',
  },
}
SCSS
$custom: #6f5cc7;
$custom-light: #9e8ad9;
$custom-dark: #000000;
JSON
{
  "hex": "#6f5cc7",
  "rgb": {
    "r": 111,
    "g": 92,
    "b": 199
  },
  "hsl": {
    "h": 250.654,
    "s": 48.858,
    "l": 57.059
  },
  "oklch": {
    "l": 0.54718,
    "c": 0.16007,
    "h": 288.1
  },
  "luminance": 0.15157
}

Semantic roles & 50–950 ramp

primary
#6F5CC7
secondary
#CDD5AA
accent
#D84FC0
background
#FAF8FD
surface
#F3F0FA
border
#CDCBD3
text
#0F0C15
muted
#7F7D83

Preview Lab

Preview with #6F5CC7

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

Preview Lab → · Contrast checker → · Palette generator →

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