#6F5CE4#6F5CE4

#6F5CE4 is a mid, vivid blue. Relative luminance 0.166; OKLCH L 56.8% C 0.198 H 284.5°. Best body text is #FFFFFF at 4.85:1 contrast (WCAG AA passes).

Color values

HEX#6F5CE4
RGBrgb(111, 92, 228)
HSLhsl(248, 72%, 63%)
HSVhsv(248, 60%, 89%)
CMYKcmyk(51.3%, 59.6%, 0%, 10.6%)
CIE-LABlab(47.80, 42.72, -66.88)
CIE-LCHlch(47.80, 79.36, 302.57°)
OKLaboklab(56.78% 0.0496 -0.1916)
OKLCHoklch(56.78% 0.198 284.5)
XYZxyz(24.3821, 16.6339, 75.3097)
Luminance0.1663 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6F5CE4 #D1E45C
analogous
#5C8DE4 #6F5CE4 #B35CE4
triadic
#6F5CE4 #E46F5C #5CE46F
tetradic
#6F5CE4 #E45C8D #D1E45C #5CE4B3
square
#6F5CE4 #E45C8D #D1E45C #5CE4B3
split-complementary
#6F5CE4 #E4B35C #8DE45C
monochromatic
#301CAA #4127DB #6F5CE4 #9D91ED #CCC5F5

Accessibility & contrast

On white

4.85
#6F5CE4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.33
#6F5CE4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6F5CE4
4.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6F5CE4#FFFFFF#000000##FFFFFF
##6F5CE41.004.854.334.85
#FFFFFF4.851.0021.001.00
#0000004.3321.001.0021.00
##FFFFFF4.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0075E8
Deuteranopia (green-blind)
#006DE1
Tritanopia (blue-blind)
#417C97
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #6f5ce4;
/* rgb */ color: rgb(111, 92, 228);
/* oklch */ color: oklch(56.8% 0.198 284.5);
Tailwind
colors: {
  custom: {
    50: '#a18bed',
    500: '#6f5ce4',
    950: '#000000',
  },
}
SCSS
$custom: #6f5ce4;
$custom-light: #a18bed;
$custom-dark: #000000;
JSON
{
  "hex": "#6f5ce4",
  "rgb": {
    "r": 111,
    "g": 92,
    "b": 228
  },
  "hsl": {
    "h": 248.382,
    "s": 71.579,
    "l": 62.745
  },
  "oklch": {
    "l": 0.56775,
    "c": 0.19793,
    "h": 284.5
  },
  "luminance": 0.16635
}

Semantic roles & 50–950 ramp

primary
#6F5CE4
secondary
#E0E7B5
accent
#D412B9
background
#FAF8FE
surface
#F4F0FD
border
#CECBD5
text
#100C16
muted
#7F7D84

Preview Lab

Preview with #6F5CE4

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

Preview Lab → · Contrast checker → · Palette generator →

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