#6F4ECA#6F4ECA

#6F4ECA is a mid, vivid violet. Relative luminance 0.131; OKLCH L 52.6% C 0.183 H 291.0°. Best body text is #FFFFFF at 5.80:1 contrast (WCAG AA passes).

Color values

HEX#6F4ECA
RGBrgb(111, 78, 202)
HSLhsl(256, 54%, 55%)
HSVhsv(256, 61%, 79%)
CMYKcmyk(45%, 61.4%, 0%, 20.8%)
CIE-LABlab(42.90, 43.20, -59.96)
CIE-LCHlch(42.90, 73.90, 305.77°)
OKLaboklab(52.61% 0.0658 -0.1713)
OKLCHoklch(52.61% 0.183 291)
XYZxyz(19.9376, 13.0919, 57.3422)
Luminance0.1309 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6F4ECA #A9CA4E
analogous
#4E6BCA #6F4ECA #AD4ECA
triadic
#6F4ECA #CA6F4E #4ECA6F
tetradic
#6F4ECA #CA4E6B #A9CA4E #4ECAAD
square
#6F4ECA #CA4E6B #A9CA4E #4ECAAD
split-complementary
#6F4ECA #CAAD4E #6BCA4E
monochromatic
#3B2479 #5232A8 #6F4ECA #957DD8 #BCACE6

Accessibility & contrast

On white

5.80
#6F4ECA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.62
#6F4ECA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6F4ECA
5.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6F4ECA#FFFFFF#000000##FFFFFF
##6F4ECA1.005.803.625.80
#FFFFFF5.801.0021.001.00
#0000003.6221.001.0021.00
##FFFFFF5.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0067CE
Deuteranopia (green-blind)
#0063C7
Tritanopia (blue-blind)
#546B85
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #6f4eca;
/* rgb */ color: rgb(111, 78, 202);
/* oklch */ color: oklch(52.6% 0.183 291.0);
Tailwind
colors: {
  custom: {
    50: '#9f81db',
    500: '#6f4eca',
    950: '#000000',
  },
}
SCSS
$custom: #6f4eca;
$custom-light: #9f81db;
$custom-dark: #000000;
JSON
{
  "hex": "#6f4eca",
  "rgb": {
    "r": 111,
    "g": 78,
    "b": 202
  },
  "hsl": {
    "h": 255.968,
    "s": 53.913,
    "l": 54.902
  },
  "oklch": {
    "l": 0.52612,
    "c": 0.18346,
    "h": 291
  },
  "luminance": 0.13093
}

Semantic roles & 50–950 ramp

primary
#6F4ECA
secondary
#C6D4A0
accent
#DD4BB6
background
#FAF8FD
surface
#F4EFFB
border
#CECAD4
text
#0F0A15
muted
#7F7C83

Preview Lab

Preview with #6F4ECA

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

Preview Lab → · Contrast checker → · Palette generator →

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