#6F54CC#6F54CC

#6F54CC is a mid, vivid violet. Relative luminance 0.141; OKLCH L 53.7% C 0.178 H 289.4°. Best body text is #FFFFFF at 5.50:1 contrast (WCAG AA passes).

Color values

HEX#6F54CC
RGBrgb(111, 84, 204)
HSLhsl(254, 54%, 56%)
HSVhsv(254, 59%, 80%)
CMYKcmyk(45.6%, 58.8%, 0%, 20%)
CIE-LABlab(44.35, 40.33, -58.77)
CIE-LCHlch(44.35, 71.28, 304.46°)
OKLaboklab(53.71% 0.059 -0.1678)
OKLCHoklch(53.71% 0.178 289.4)
XYZxyz(20.6219, 14.0790, 58.7460)
Luminance0.1408 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6F54CC #B1CC54
analogous
#5475CC #6F54CC #AB54CC
triadic
#6F54CC #CC6F54 #54CC6F
tetradic
#6F54CC #CC5475 #B1CC54 #54CCAB
square
#6F54CC #CC5475 #B1CC54 #54CCAB
split-complementary
#6F54CC #CCAB54 #75CC54
monochromatic
#3A2680 #5034AF #6F54CC #9783DA #BEB2E8

Accessibility & contrast

On white

5.50
#6F54CC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.82
#6F54CC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6F54CC
5.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6F54CC#FFFFFF#000000##FFFFFF
##6F54CC1.005.503.825.50
#FFFFFF5.501.0021.001.00
#0000003.8221.001.0021.00
##FFFFFF5.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006BD0
Deuteranopia (green-blind)
#0066C9
Tritanopia (blue-blind)
#526F88
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #6f54cc;
/* rgb */ color: rgb(111, 84, 204);
/* oklch */ color: oklch(53.7% 0.178 289.4);
Tailwind
colors: {
  custom: {
    50: '#9f85dc',
    500: '#6f54cc',
    950: '#000000',
  },
}
SCSS
$custom: #6f54cc;
$custom-light: #9f85dc;
$custom-dark: #000000;
JSON
{
  "hex": "#6f54cc",
  "rgb": {
    "r": 111,
    "g": 84,
    "b": 204
  },
  "hsl": {
    "h": 253.5,
    "s": 54.054,
    "l": 56.471
  },
  "oklch": {
    "l": 0.53713,
    "c": 0.17786,
    "h": 289.4
  },
  "luminance": 0.1408
}

Semantic roles & 50–950 ramp

primary
#6F54CC
secondary
#CBD7A5
accent
#DD4ABC
background
#FAF8FD
surface
#F4EFFB
border
#CECAD4
text
#0F0B15
muted
#7F7C83

Preview Lab

Preview with #6F54CC

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

Preview Lab → · Contrast checker → · Palette generator →

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