#6D5CEC#6D5CEC

#6D5CEC is a mid, highly saturated blue. Relative luminance 0.170; OKLCH L 57.2% C 0.208 H 283.0°. Best body text is #FFFFFF at 4.78:1 contrast (WCAG AA passes).

Color values

HEX#6D5CEC
RGBrgb(109, 92, 236)
HSLhsl(247, 79%, 64%)
HSVhsv(247, 61%, 93%)
CMYKcmyk(53.8%, 61%, 0%, 7.5%)
CIE-LABlab(48.21, 44.74, -70.72)
CIE-LCHlch(48.21, 83.69, 302.32°)
OKLaboklab(57.22% 0.0467 -0.203)
OKLCHoklch(57.22% 0.208 283)
XYZxyz(25.2695, 16.9601, 81.2827)
Luminance0.1696 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6D5CEC #DBEC5C
analogous
#5C93EC #6D5CEC #B55CEC
triadic
#6D5CEC #EC6D5C #5CEC6D
tetradic
#6D5CEC #EC5C93 #DBEC5C #5CECB5
square
#6D5CEC #EC5C93 #DBEC5C #5CECB5
split-complementary
#6D5CEC #ECB55C #93EC5C
monochromatic
#2915B8 #3C25E6 #6D5CEC #9E93F2 #CFCAF9

Accessibility & contrast

On white

4.78
#6D5CEC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.39
#6D5CEC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6D5CEC
4.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6D5CEC#FFFFFF#000000##FFFFFF
##6D5CEC1.004.784.394.78
#FFFFFF4.781.0021.001.00
#0000004.3921.001.0021.00
##FFFFFF4.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0077F1
Deuteranopia (green-blind)
#006EE9
Tritanopia (blue-blind)
#347F9B
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #6d5cec;
/* rgb */ color: rgb(109, 92, 236);
/* oklch */ color: oklch(57.2% 0.208 283.0);
Tailwind
colors: {
  custom: {
    50: '#a18bf3',
    500: '#6d5cec',
    950: '#000000',
  },
}
SCSS
$custom: #6d5cec;
$custom-light: #a18bf3;
$custom-dark: #000000;
JSON
{
  "hex": "#6d5cec",
  "rgb": {
    "r": 109,
    "g": 92,
    "b": 236
  },
  "hsl": {
    "h": 247.083,
    "s": 79.121,
    "l": 64.314
  },
  "oklch": {
    "l": 0.5722,
    "c": 0.20827,
    "h": 283
  },
  "luminance": 0.16962
}

Semantic roles & 50–950 ramp

primary
#6D5CEC
secondary
#E5EBB9
accent
#DB0AC3
background
#FAF8FF
surface
#F4F0FE
border
#CECBD6
text
#100C17
muted
#7F7D85

Preview Lab

Preview with #6D5CEC

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

Preview Lab → · Contrast checker → · Palette generator →

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