#6F5CD4#6F5CD4

#6F5CD4 is a mid, vivid blue. Relative luminance 0.158; OKLCH L 55.6% C 0.177 H 286.4°. Best body text is #FFFFFF at 5.05:1 contrast (WCAG AA passes).

Color values

HEX#6F5CD4
RGBrgb(111, 92, 212)
HSLhsl(250, 58%, 60%)
HSVhsv(250, 57%, 83%)
CMYKcmyk(47.6%, 56.6%, 0%, 16.9%)
CIE-LABlab(46.69, 37.99, -59.57)
CIE-LCHlch(46.69, 70.65, 302.52°)
OKLaboklab(55.61% 0.05 -0.1701)
OKLCHoklch(55.61% 0.177 286.4)
XYZxyz(22.2629, 15.7863, 64.1486)
Luminance0.1579 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6F5CD4 #C1D45C
analogous
#5C85D4 #6F5CD4 #AB5CD4
triadic
#6F5CD4 #D46F5C #5CD46F
tetradic
#6F5CD4 #D45C85 #C1D45C #5CD4AB
square
#6F5CD4 #D45C85 #C1D45C #5CD4AB
split-complementary
#6F5CD4 #D4AB5C #85D45C
monochromatic
#372690 #4933C0 #6F5CD4 #9A8CE1 #C5BDEE

Accessibility & contrast

On white

5.05
#6F5CD4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.16
#6F5CD4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6F5CD4
5.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6F5CD4#FFFFFF#000000##FFFFFF
##6F5CD41.005.054.165.05
#FFFFFF5.051.0021.001.00
#0000004.1621.001.0021.00
##FFFFFF5.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0772D8
Deuteranopia (green-blind)
#016BD1
Tritanopia (blue-blind)
#4D778F
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #6f5cd4;
/* rgb */ color: rgb(111, 92, 212);
/* oklch */ color: oklch(55.6% 0.177 286.4);
Tailwind
colors: {
  custom: {
    50: '#9f8be2',
    500: '#6f5cd4',
    950: '#000000',
  },
}
SCSS
$custom: #6f5cd4;
$custom-light: #9f8be2;
$custom-dark: #000000;
JSON
{
  "hex": "#6f5cd4",
  "rgb": {
    "r": 111,
    "g": 92,
    "b": 212
  },
  "hsl": {
    "h": 249.5,
    "s": 58.252,
    "l": 59.608
  },
  "oklch": {
    "l": 0.55614,
    "c": 0.1773,
    "h": 286.4
  },
  "luminance": 0.15787
}

Semantic roles & 50–950 ramp

primary
#6F5CD4
secondary
#D6DDAF
accent
#E146C9
background
#FAF8FD
surface
#F4F0FB
border
#CECBD4
text
#0F0C15
muted
#7F7D83

Preview Lab

Preview with #6F5CD4

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

Preview Lab → · Contrast checker → · Palette generator →

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