#6B5FE9#6B5FE9

#6B5FE9 is a mid, highly saturated blue. Relative luminance 0.172; OKLCH L 57.3% C 0.201 H 281.9°. Best body text is #FFFFFF at 4.73:1 contrast (WCAG AA passes).

Color values

HEX#6B5FE9
RGBrgb(107, 95, 233)
HSLhsl(245, 76%, 64%)
HSVhsv(245, 59%, 91%)
CMYKcmyk(54.1%, 59.2%, 0%, 8.6%)
CIE-LABlab(48.50, 41.73, -68.57)
CIE-LCHlch(48.50, 80.27, 301.33°)
OKLaboklab(57.33% 0.0415 -0.1967)
OKLCHoklch(57.33% 0.201 281.9)
XYZxyz(24.8591, 17.1919, 79.0834)
Luminance0.1719 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6B5FE9 #DDE95F
analogous
#5F98E9 #6B5FE9 #B05FE9
triadic
#6B5FE9 #E96B5F #5FE96B
tetradic
#6B5FE9 #E95F98 #DDE95F #5FE9B0
square
#6B5FE9 #E95F98 #DDE95F #5FE9B0
split-complementary
#6B5FE9 #E9B05F #98E95F
monochromatic
#2619B5 #3929E2 #6B5FE9 #9D95F0 #CFCBF8

Accessibility & contrast

On white

4.73
#6B5FE9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.44
#6B5FE9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6B5FE9
4.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6B5FE9#FFFFFF#000000##FFFFFF
##6B5FE91.004.734.444.73
#FFFFFF4.731.0021.001.00
#0000004.4421.001.0021.00
##FFFFFF4.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0078EE
Deuteranopia (green-blind)
#006EE6
Tritanopia (blue-blind)
#31809B
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #6b5fe9;
/* rgb */ color: rgb(107, 95, 233);
/* oklch */ color: oklch(57.3% 0.201 281.9);
Tailwind
colors: {
  custom: {
    50: '#9f8df1',
    500: '#6b5fe9',
    950: '#000000',
  },
}
SCSS
$custom: #6b5fe9;
$custom-light: #9f8df1;
$custom-dark: #000000;
JSON
{
  "hex": "#6b5fe9",
  "rgb": {
    "r": 107,
    "g": 95,
    "b": 233
  },
  "hsl": {
    "h": 245.217,
    "s": 75.824,
    "l": 64.314
  },
  "oklch": {
    "l": 0.57326,
    "c": 0.20101,
    "h": 281.9
  },
  "luminance": 0.17193
}

Semantic roles & 50–950 ramp

primary
#6B5FE9
secondary
#E6EABA
accent
#D80DC6
background
#FAF8FE
surface
#F4F0FD
border
#CECBD5
text
#100C17
muted
#7F7D85

Preview Lab

Preview with #6B5FE9

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

Preview Lab → · Contrast checker → · Palette generator →

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