#6F54BE#6F54BE

#6F54BE is a mid, vivid violet. Relative luminance 0.134; OKLCH L 52.7% C 0.160 H 291.7°. Best body text is #FFFFFF at 5.69:1 contrast (WCAG AA passes).

Color values

HEX#6F54BE
RGBrgb(111, 84, 190)
HSLhsl(255, 45%, 54%)
HSVhsv(255, 56%, 75%)
CMYKcmyk(41.6%, 55.8%, 0%, 25.5%)
CIE-LABlab(43.41, 36.35, -52.17)
CIE-LCHlch(43.41, 63.58, 304.87°)
OKLaboklab(52.73% 0.0591 -0.1483)
OKLCHoklch(52.73% 0.16 291.7)
XYZxyz(19.0176, 13.4373, 50.2969)
Luminance0.1344 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6F54BE #A3BE54
analogous
#546EBE #6F54BE #A454BE
triadic
#6F54BE #BE6F54 #54BE6F
tetradic
#6F54BE #BE546E #A3BE54 #54BEA4
square
#6F54BE #BE546E #A3BE54 #54BEA4
split-complementary
#6F54BE #BEA454 #6EBE54
monochromatic
#3B2A6E #533B9A #6F54BE #9480CF #BAADE0

Accessibility & contrast

On white

5.69
#6F54BE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.69
#6F54BE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6F54BE
5.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6F54BE#FFFFFF#000000##FFFFFF
##6F54BE1.005.693.695.69
#FFFFFF5.691.0021.001.00
#0000003.6921.001.0021.00
##FFFFFF5.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1D68C2
Deuteranopia (green-blind)
#2464BC
Tritanopia (blue-blind)
#596B81
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #6f54be;
/* rgb */ color: rgb(111, 84, 190);
/* oklch */ color: oklch(52.7% 0.160 291.7);
Tailwind
colors: {
  custom: {
    50: '#9d85d2',
    500: '#6f54be',
    950: '#000000',
  },
}
SCSS
$custom: #6f54be;
$custom-light: #9d85d2;
$custom-dark: #000000;
JSON
{
  "hex": "#6f54be",
  "rgb": {
    "r": 111,
    "g": 84,
    "b": 190
  },
  "hsl": {
    "h": 255.283,
    "s": 44.915,
    "l": 53.725
  },
  "oklch": {
    "l": 0.52731,
    "c": 0.15969,
    "h": 291.7
  },
  "luminance": 0.13438
}

Semantic roles & 50–950 ramp

primary
#6F54BE
secondary
#C2CEA0
accent
#D553B4
background
#FAF8FD
surface
#F3EFFA
border
#CDCAD3
text
#0F0B14
muted
#7F7C83

Preview Lab

Preview with #6F54BE

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

Preview Lab → · Contrast checker → · Palette generator →

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