#6D5CE3#6D5CE3

#6D5CE3 is a mid, vivid blue. Relative luminance 0.165; OKLCH L 56.5% C 0.197 H 283.9°. Best body text is #FFFFFF at 4.89:1 contrast (WCAG AA passes).

Color values

HEX#6D5CE3
RGBrgb(109, 92, 227)
HSLhsl(248, 71%, 63%)
HSVhsv(248, 59%, 89%)
CMYKcmyk(52%, 59.5%, 0%, 11%)
CIE-LABlab(47.56, 42.04, -66.70)
CIE-LCHlch(47.56, 78.85, 302.22°)
OKLaboklab(56.54% 0.0472 -0.1911)
OKLCHoklch(56.54% 0.197 283.9)
XYZxyz(23.9948, 16.4502, 74.5690)
Luminance0.1645 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6D5CE3 #D2E35C
analogous
#5C8EE3 #6D5CE3 #B15CE3
triadic
#6D5CE3 #E36D5C #5CE36D
tetradic
#6D5CE3 #E35C8E #D2E35C #5CE3B1
square
#6D5CE3 #E35C8E #D2E35C #5CE3B1
split-complementary
#6D5CE3 #E3B15C #8EE35C
monochromatic
#2E1DA8 #3E28DA #6D5CE3 #9C90EC #CBC4F5

Accessibility & contrast

On white

4.89
#6D5CE3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.29
#6D5CE3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6D5CE3
4.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6D5CE3#FFFFFF#000000##FFFFFF
##6D5CE31.004.894.294.89
#FFFFFF4.891.0021.001.00
#0000004.2921.001.0021.00
##FFFFFF4.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0075E7
Deuteranopia (green-blind)
#006CE0
Tritanopia (blue-blind)
#3D7C97
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #6d5ce3;
/* rgb */ color: rgb(109, 92, 227);
/* oklch */ color: oklch(56.5% 0.197 283.9);
Tailwind
colors: {
  custom: {
    50: '#a08bed',
    500: '#6d5ce3',
    950: '#000000',
  },
}
SCSS
$custom: #6d5ce3;
$custom-light: #a08bed;
$custom-dark: #000000;
JSON
{
  "hex": "#6d5ce3",
  "rgb": {
    "r": 109,
    "g": 92,
    "b": 227
  },
  "hsl": {
    "h": 247.556,
    "s": 70.681,
    "l": 62.549
  },
  "oklch": {
    "l": 0.56539,
    "c": 0.19688,
    "h": 283.9
  },
  "luminance": 0.16452
}

Semantic roles & 50–950 ramp

primary
#6D5CE3
secondary
#E0E6B5
accent
#D313BB
background
#FAF8FE
surface
#F4F0FD
border
#CECBD5
text
#100C16
muted
#7F7D84

Preview Lab

Preview with #6D5CE3

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

Preview Lab → · Contrast checker → · Palette generator →

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