#6D5CE4#6D5CE4

#6D5CE4 is a mid, vivid blue. Relative luminance 0.165; OKLCH L 56.6% C 0.198 H 283.8°. Best body text is #FFFFFF at 4.88:1 contrast (WCAG AA passes).

Color values

HEX#6D5CE4
RGBrgb(109, 92, 228)
HSLhsl(248, 72%, 63%)
HSVhsv(248, 60%, 89%)
CMYKcmyk(52.2%, 59.6%, 0%, 10.6%)
CIE-LABlab(47.63, 42.34, -67.15)
CIE-LCHlch(47.63, 79.39, 302.23°)
OKLaboklab(56.61% 0.0471 -0.1925)
OKLCHoklch(56.61% 0.198 283.8)
XYZxyz(24.1332, 16.5056, 75.2980)
Luminance0.1651 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6D5CE4 #D3E45C
analogous
#5C8FE4 #6D5CE4 #B15CE4
triadic
#6D5CE4 #E46D5C #5CE46D
tetradic
#6D5CE4 #E45C8F #D3E45C #5CE4B1
square
#6D5CE4 #E45C8F #D3E45C #5CE4B1
split-complementary
#6D5CE4 #E4B15C #8FE45C
monochromatic
#2E1CAA #3E27DB #6D5CE4 #9C91ED #CBC5F5

Accessibility & contrast

On white

4.88
#6D5CE4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.30
#6D5CE4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6D5CE4
4.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6D5CE4#FFFFFF#000000##FFFFFF
##6D5CE41.004.884.304.88
#FFFFFF4.881.0021.001.00
#0000004.3021.001.0021.00
##FFFFFF4.881.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #6d5ce4;
/* rgb */ color: rgb(109, 92, 228);
/* oklch */ color: oklch(56.6% 0.198 283.8);
Tailwind
colors: {
  custom: {
    50: '#a08bed',
    500: '#6d5ce4',
    950: '#000000',
  },
}
SCSS
$custom: #6d5ce4;
$custom-light: #a08bed;
$custom-dark: #000000;
JSON
{
  "hex": "#6d5ce4",
  "rgb": {
    "r": 109,
    "g": 92,
    "b": 228
  },
  "hsl": {
    "h": 247.5,
    "s": 71.579,
    "l": 62.745
  },
  "oklch": {
    "l": 0.56614,
    "c": 0.19816,
    "h": 283.8
  },
  "luminance": 0.16507
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #6D5CE4

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

Preview Lab → · Contrast checker → · Palette generator →

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