#6D5FCB#6D5FCB

#6D5FCB is a mid, vivid blue. Relative luminance 0.157; OKLCH L 55.3% C 0.161 H 285.8°. Best body text is #FFFFFF at 5.06:1 contrast (WCAG AA passes).

Color values

HEX#6D5FCB
RGBrgb(109, 95, 203)
HSLhsl(248, 51%, 58%)
HSVhsv(248, 53%, 80%)
CMYKcmyk(46.3%, 53.2%, 0%, 20.4%)
CIE-LABlab(46.64, 33.11, -54.51)
CIE-LCHlch(46.64, 63.78, 301.27°)
OKLaboklab(55.35% 0.0438 -0.1553)
OKLCHoklch(55.35% 0.161 285.8)
XYZxyz(21.1752, 15.7465, 58.4120)
Luminance0.1575 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6D5FCB #BDCB5F
analogous
#5F87CB #6D5FCB #A35FCB
triadic
#6D5FCB #CB6D5F #5FCB6D
tetradic
#6D5FCB #CB5F87 #BDCB5F #5FCBA3
square
#6D5FCB #CB5F87 #BDCB5F #5FCBA3
split-complementary
#6D5FCB #CBA35F #87CB5F
monochromatic
#372B85 #4A3AB3 #6D5FCB #978DDA #C1BBE9

Accessibility & contrast

On white

5.06
#6D5FCB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.15
#6D5FCB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6D5FCB
5.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6D5FCB#FFFFFF#000000##FFFFFF
##6D5FCB1.005.064.155.06
#FFFFFF5.061.0021.001.00
#0000004.1521.001.0021.00
##FFFFFF5.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2872CF
Deuteranopia (green-blind)
#256BC9
Tritanopia (blue-blind)
#4E768C
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #6d5fcb;
/* rgb */ color: rgb(109, 95, 203);
/* oklch */ color: oklch(55.3% 0.161 285.8);
Tailwind
colors: {
  custom: {
    50: '#9d8cdb',
    500: '#6d5fcb',
    950: '#000000',
  },
}
SCSS
$custom: #6d5fcb;
$custom-light: #9d8cdb;
$custom-dark: #000000;
JSON
{
  "hex": "#6d5fcb",
  "rgb": {
    "r": 109,
    "g": 95,
    "b": 203
  },
  "hsl": {
    "h": 247.778,
    "s": 50.943,
    "l": 58.431
  },
  "oklch": {
    "l": 0.55346,
    "c": 0.16133,
    "h": 285.8
  },
  "luminance": 0.15747
}

Semantic roles & 50–950 ramp

primary
#6D5FCB
secondary
#D3D8AD
accent
#DA4DC8
background
#FAF8FD
surface
#F3F0FB
border
#CDCBD4
text
#0F0C15
muted
#7F7D83

Preview Lab

Preview with #6D5FCB

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

Preview Lab → · Contrast checker → · Palette generator →

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