#6D5BCA#6D5BCA

#6D5BCA is a mid, vivid blue. Relative luminance 0.150; OKLCH L 54.6% C 0.166 H 287.0°. Best body text is #FFFFFF at 5.25:1 contrast (WCAG AA passes).

Color values

HEX#6D5BCA
RGBrgb(109, 91, 202)
HSLhsl(250, 51%, 57%)
HSVhsv(250, 55%, 79%)
CMYKcmyk(46%, 55%, 0%, 20.8%)
CIE-LABlab(45.63, 35.21, -55.56)
CIE-LCHlch(45.63, 65.77, 302.36°)
OKLaboklab(54.58% 0.0485 -0.1584)
OKLCHoklch(54.58% 0.166 287)
XYZxyz(20.7054, 14.9968, 57.6694)
Luminance0.1500 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6D5BCA #B8CA5B
analogous
#5B80CA #6D5BCA #A55BCA
triadic
#6D5BCA #CA6D5B #5BCA6D
tetradic
#6D5BCA #CA5B80 #B8CA5B #5BCAA5
square
#6D5BCA #CA5B80 #B8CA5B #5BCAA5
split-complementary
#6D5BCA #CAA55B #80CA5B
monochromatic
#382A81 #4C39AF #6D5BCA #9689D9 #BFB8E8

Accessibility & contrast

On white

5.25
#6D5BCA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.00
#6D5BCA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6D5BCA
5.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6D5BCA#FFFFFF#000000##FFFFFF
##6D5BCA1.005.254.005.25
#FFFFFF5.251.0021.001.00
#0000004.0021.001.0021.00
##FFFFFF5.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1D6FCE
Deuteranopia (green-blind)
#1C69C8
Tritanopia (blue-blind)
#4F738A
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #6d5bca;
/* rgb */ color: rgb(109, 91, 202);
/* oklch */ color: oklch(54.6% 0.166 287.0);
Tailwind
colors: {
  custom: {
    50: '#9d8adb',
    500: '#6d5bca',
    950: '#000000',
  },
}
SCSS
$custom: #6d5bca;
$custom-light: #9d8adb;
$custom-dark: #000000;
JSON
{
  "hex": "#6d5bca",
  "rgb": {
    "r": 109,
    "g": 91,
    "b": 202
  },
  "hsl": {
    "h": 249.73,
    "s": 51.152,
    "l": 57.451
  },
  "oklch": {
    "l": 0.54575,
    "c": 0.16562,
    "h": 287
  },
  "luminance": 0.14998
}

Semantic roles & 50–950 ramp

primary
#6D5BCA
secondary
#D0D7AA
accent
#DB4DC4
background
#FAF8FD
surface
#F3F0FB
border
#CDCBD4
text
#0F0B15
muted
#7F7C83

Preview Lab

Preview with #6D5BCA

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

Preview Lab → · Contrast checker → · Palette generator →

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