#6C5FE3#6C5FE3

#6C5FE3 is a mid, vivid blue. Relative luminance 0.169; OKLCH L 57.0% C 0.193 H 282.8°. Best body text is #FFFFFF at 4.79:1 contrast (WCAG AA passes).

Color values

HEX#6C5FE3
RGBrgb(108, 95, 227)
HSLhsl(246, 70%, 63%)
HSVhsv(246, 58%, 89%)
CMYKcmyk(52.4%, 58.1%, 0%, 11%)
CIE-LABlab(48.16, 40.10, -65.74)
CIE-LCHlch(48.16, 77.01, 301.38°)
OKLaboklab(56.96% 0.0429 -0.1883)
OKLCHoklch(56.96% 0.193 282.8)
XYZxyz(24.1375, 16.9172, 74.6516)
Luminance0.1692 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6C5FE3 #D6E35F
analogous
#5F94E3 #6C5FE3 #AE5FE3
triadic
#6C5FE3 #E36C5F #5FE36C
tetradic
#6C5FE3 #E35F94 #D6E35F #5FE3AE
square
#6C5FE3 #E35F94 #D6E35F #5FE3AE
split-complementary
#6C5FE3 #E3AE5F #94E35F
monochromatic
#2C1EAA #3C2BDA #6C5FE3 #9C93EC #CCC7F5

Accessibility & contrast

On white

4.79
#6C5FE3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.38
#6C5FE3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6C5FE3
4.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6C5FE3#FFFFFF#000000##FFFFFF
##6C5FE31.004.794.384.79
#FFFFFF4.791.0021.001.00
#0000004.3821.001.0021.00
##FFFFFF4.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0077E7
Deuteranopia (green-blind)
#006EE0
Tritanopia (blue-blind)
#3A7E98
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #6c5fe3;
/* rgb */ color: rgb(108, 95, 227);
/* oklch */ color: oklch(57.0% 0.193 282.8);
Tailwind
colors: {
  custom: {
    50: '#9f8ded',
    500: '#6c5fe3',
    950: '#000000',
  },
}
SCSS
$custom: #6c5fe3;
$custom-light: #9f8ded;
$custom-dark: #000000;
JSON
{
  "hex": "#6c5fe3",
  "rgb": {
    "r": 108,
    "g": 95,
    "b": 227
  },
  "hsl": {
    "h": 245.909,
    "s": 70.213,
    "l": 63.137
  },
  "oklch": {
    "l": 0.56957,
    "c": 0.19315,
    "h": 282.8
  },
  "luminance": 0.16919
}

Semantic roles & 50–950 ramp

primary
#6C5FE3
secondary
#E2E7B7
accent
#D213BF
background
#FAF8FE
surface
#F4F0FD
border
#CECBD5
text
#0F0C16
muted
#7F7D84

Preview Lab

Preview with #6C5FE3

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

Preview Lab → · Contrast checker → · Palette generator →

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