#6B5FEE#6B5FEE

#6B5FEE is a mid, highly saturated blue. Relative luminance 0.175; OKLCH L 57.7% C 0.207 H 281.5°. Best body text is #FFFFFF at 4.67:1 contrast (WCAG AA passes).

Color values

HEX#6B5FEE
RGBrgb(107, 95, 238)
HSLhsl(245, 81%, 65%)
HSVhsv(245, 60%, 93%)
CMYKcmyk(55%, 60.1%, 0%, 6.7%)
CIE-LABlab(48.86, 43.26, -70.79)
CIE-LCHlch(48.86, 82.96, 301.43°)
OKLaboklab(57.7% 0.0413 -0.2032)
OKLCHoklch(57.7% 0.207 281.5)
XYZxyz(25.5834, 17.4817, 82.8985)
Luminance0.1748 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6B5FEE #E2EE5F
analogous
#5F9AEE #6B5FEE #B25FEE
triadic
#6B5FEE #EE6B5F #5FEE6B
tetradic
#6B5FEE #EE5F9A #E2EE5F #5FEEB2
square
#6B5FEE #EE5F9A #E2EE5F #5FEEB2
split-complementary
#6B5FEE #EEB25F #9AEE5F
monochromatic
#2314BE #3828E8 #6B5FEE #9E96F4 #D1CEFA

Accessibility & contrast

On white

4.67
#6B5FEE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.50
#6B5FEE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #6B5FEE
4.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6B5FEE#FFFFFF#000000##FFFFFF
##6B5FEE1.004.674.504.67
#FFFFFF4.671.0021.001.00
#0000004.5021.001.0021.00
##FFFFFF4.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0079F3
Deuteranopia (green-blind)
#006FEB
Tritanopia (blue-blind)
#2A819E
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #6b5fee;
/* rgb */ color: rgb(107, 95, 238);
/* oklch */ color: oklch(57.7% 0.207 281.5);
Tailwind
colors: {
  custom: {
    50: '#a08df4',
    500: '#6b5fee',
    950: '#000000',
  },
}
SCSS
$custom: #6b5fee;
$custom-light: #a08df4;
$custom-dark: #000000;
JSON
{
  "hex": "#6b5fee",
  "rgb": {
    "r": 107,
    "g": 95,
    "b": 238
  },
  "hsl": {
    "h": 245.035,
    "s": 80.791,
    "l": 65.294
  },
  "oklch": {
    "l": 0.57704,
    "c": 0.20737,
    "h": 281.5
  },
  "luminance": 0.17483
}

Semantic roles & 50–950 ramp

primary
#6B5FEE
secondary
#E8ECBC
accent
#DD08CB
background
#FAF8FF
surface
#F4F0FE
border
#CECBD6
text
#100C17
muted
#7F7D85

Preview Lab

Preview with #6B5FEE

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

Preview Lab → · Contrast checker → · Palette generator →

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