#6F5CC2#6F5CC2

#6F5CC2 is a mid, vivid violet. Relative luminance 0.149; OKLCH L 54.4% C 0.153 H 288.8°. Best body text is #FFFFFF at 5.27:1 contrast (WCAG AA passes).

Color values

HEX#6F5CC2
RGBrgb(111, 92, 194)
HSLhsl(251, 46%, 56%)
HSVhsv(251, 53%, 76%)
CMYKcmyk(42.8%, 52.6%, 0%, 23.9%)
CIE-LABlab(45.54, 32.74, -51.08)
CIE-LCHlch(45.54, 60.67, 302.65°)
OKLaboklab(54.38% 0.0495 -0.1451)
OKLCHoklch(54.38% 0.153 288.8)
XYZxyz(20.1176, 14.9281, 52.8499)
Luminance0.1493 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6F5CC2 #AFC25C
analogous
#5C7CC2 #6F5CC2 #A25CC2
triadic
#6F5CC2 #C26F5C #5CC26F
tetradic
#6F5CC2 #C25C7C #AFC25C #5CC2A2
square
#6F5CC2 #C25C7C #AFC25C #5CC2A2
split-complementary
#6F5CC2 #C2A25C #7CC25C
monochromatic
#3A2D77 #503DA4 #6F5CC2 #9689D3 #BEB5E3

Accessibility & contrast

On white

5.27
#6F5CC2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.99
#6F5CC2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6F5CC2
5.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6F5CC2#FFFFFF#000000##FFFFFF
##6F5CC21.005.273.995.27
#FFFFFF5.271.0021.001.00
#0000003.9921.001.0021.00
##FFFFFF5.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2D6EC6
Deuteranopia (green-blind)
#2E69C0
Tritanopia (blue-blind)
#577286
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #6f5cc2;
/* rgb */ color: rgb(111, 92, 194);
/* oklch */ color: oklch(54.4% 0.153 288.8);
Tailwind
colors: {
  custom: {
    50: '#9d8ad5',
    500: '#6f5cc2',
    950: '#000000',
  },
}
SCSS
$custom: #6f5cc2;
$custom-light: #9d8ad5;
$custom-dark: #000000;
JSON
{
  "hex": "#6f5cc2",
  "rgb": {
    "r": 111,
    "g": 92,
    "b": 194
  },
  "hsl": {
    "h": 251.176,
    "s": 45.536,
    "l": 56.078
  },
  "oklch": {
    "l": 0.54385,
    "c": 0.15335,
    "h": 288.8
  },
  "luminance": 0.14929
}

Semantic roles & 50–950 ramp

primary
#6F5CC2
secondary
#CAD2A8
accent
#D553BD
background
#FAF8FD
surface
#F3F0FA
border
#CDCBD3
text
#0F0C14
muted
#7F7D83

Preview Lab

Preview with #6F5CC2

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

Preview Lab → · Contrast checker → · Palette generator →

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