#6F4EAC#6F4EAC

#6F4EAC is a mid, vivid violet. Relative luminance 0.118; OKLCH L 50.5% C 0.145 H 297.1°. Best body text is #FFFFFF at 6.25:1 contrast (WCAG AA passes).

Color values

HEX#6F4EAC
RGBrgb(111, 78, 172)
HSLhsl(261, 38%, 49%)
HSVhsv(261, 55%, 67%)
CMYKcmyk(35.5%, 54.7%, 0%, 32.5%)
CIE-LABlab(40.91, 34.89, -45.62)
CIE-LCHlch(40.91, 57.44, 307.41°)
OKLaboklab(50.51% 0.0661 -0.1291)
OKLCHoklch(50.51% 0.145 297.1)
XYZxyz(16.7245, 11.8066, 40.4195)
Luminance0.1181 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6F4EAC #8BAC4E
analogous
#4E5CAC #6F4EAC #9E4EAC
triadic
#6F4EAC #AC6F4E #4EAC6F
tetradic
#6F4EAC #AC4E5C #8BAC4E #4EAC9E
square
#6F4EAC #AC4E5C #8BAC4E #4EAC9E
split-complementary
#6F4EAC #AC9E4E #5CAC4E
monochromatic
#392858 #543B82 #6F4EAC #9076C1 #B2A0D4

Accessibility & contrast

On white

6.25
#6F4EAC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.36
#6F4EAC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6F4EAC
6.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6F4EAC#FFFFFF#000000##FFFFFF
##6F4EAC1.006.253.366.25
#FFFFFF6.251.0021.001.00
#0000003.3621.001.0021.00
##FFFFFF6.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2761AF
Deuteranopia (green-blind)
#305FAA
Tritanopia (blue-blind)
#616175
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #6f4eac;
/* rgb */ color: rgb(111, 78, 172);
/* oklch */ color: oklch(50.5% 0.145 297.1);
Tailwind
colors: {
  custom: {
    50: '#9c80c5',
    500: '#6f4eac',
    950: '#000000',
  },
}
SCSS
$custom: #6f4eac;
$custom-light: #9c80c5;
$custom-dark: #000000;
JSON
{
  "hex": "#6f4eac",
  "rgb": {
    "r": 111,
    "g": 78,
    "b": 172
  },
  "hsl": {
    "h": 261.064,
    "s": 37.6,
    "l": 49.02
  },
  "oklch": {
    "l": 0.50512,
    "c": 0.14509,
    "h": 297.1
  },
  "luminance": 0.11807
}

Semantic roles & 50–950 ramp

primary
#6F4EAC
secondary
#B1C195
accent
#CE5AA5
background
#F9F7FC
surface
#F2EEF8
border
#CCC9D1
text
#0E0A13
muted
#7E7C82

Preview Lab

Preview with #6F4EAC

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

Preview Lab → · Contrast checker → · Palette generator →

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