#6C5FDD#6C5FDD

#6C5FDD is a mid, vivid blue. Relative luminance 0.166; OKLCH L 56.5% C 0.185 H 283.4°. Best body text is #FFFFFF at 4.86:1 contrast (WCAG AA passes).

Color values

HEX#6C5FDD
RGBrgb(108, 95, 221)
HSLhsl(246, 65%, 62%)
HSVhsv(246, 57%, 87%)
CMYKcmyk(51.1%, 57%, 0%, 13.3%)
CIE-LABlab(47.74, 38.28, -63.02)
CIE-LCHlch(47.74, 73.73, 301.28°)
OKLaboklab(56.52% 0.043 -0.1803)
OKLCHoklch(56.52% 0.185 283.4)
XYZxyz(23.3237, 16.5918, 70.3661)
Luminance0.1659 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6C5FDD #D0DD5F
analogous
#5F91DD #6C5FDD #AB5FDD
triadic
#6C5FDD #DD6C5F #5FDD6C
tetradic
#6C5FDD #DD5F91 #D0DD5F #5FDDAB
square
#6C5FDD #DD5F91 #D0DD5F #5FDDAB
split-complementary
#6C5FDD #DDAB5F #91DD5F
monochromatic
#2F22A0 #3E2DD2 #6C5FDD #9A91E8 #C9C4F2

Accessibility & contrast

On white

4.86
#6C5FDD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.32
#6C5FDD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6C5FDD
4.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6C5FDD#FFFFFF#000000##FFFFFF
##6C5FDD1.004.864.324.86
#FFFFFF4.861.0021.001.00
#0000004.3221.001.0021.00
##FFFFFF4.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0075E1
Deuteranopia (green-blind)
#006DDA
Tritanopia (blue-blind)
#3F7C95
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #6c5fdd;
/* rgb */ color: rgb(108, 95, 221);
/* oklch */ color: oklch(56.5% 0.185 283.4);
Tailwind
colors: {
  custom: {
    50: '#9e8de8',
    500: '#6c5fdd',
    950: '#000000',
  },
}
SCSS
$custom: #6c5fdd;
$custom-light: #9e8de8;
$custom-dark: #000000;
JSON
{
  "hex": "#6c5fdd",
  "rgb": {
    "r": 108,
    "g": 95,
    "b": 221
  },
  "hsl": {
    "h": 246.19,
    "s": 64.948,
    "l": 61.961
  },
  "oklch": {
    "l": 0.5652,
    "c": 0.18536,
    "h": 283.4
  },
  "luminance": 0.16593
}

Semantic roles & 50–950 ramp

primary
#6C5FDD
secondary
#DEE3B5
accent
#CD19BA
background
#FAF8FE
surface
#F4F0FD
border
#CECBD5
text
#0F0C16
muted
#7F7D84

Preview Lab

Preview with #6C5FDD

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

Preview Lab → · Contrast checker → · Palette generator →

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