#6B5FF2#6B5FF2

#6B5FF2 is a mid, highly saturated blue. Relative luminance 0.177; OKLCH L 58.0% C 0.212 H 281.2°. Best body text is #FFFFFF at 4.62:1 contrast (WCAG AA passes).

Color values

HEX#6B5FF2
RGBrgb(107, 95, 242)
HSLhsl(245, 85%, 66%)
HSVhsv(245, 61%, 95%)
CMYKcmyk(55.8%, 60.7%, 0%, 5.1%)
CIE-LABlab(49.15, 44.48, -72.56)
CIE-LCHlch(49.15, 85.11, 301.51°)
OKLaboklab(58.01% 0.0411 -0.2084)
OKLCHoklch(58.01% 0.212 281.2)
XYZxyz(26.1776, 17.7193, 86.0279)
Luminance0.1772 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6B5FF2 #E6F25F
analogous
#5F9CF2 #6B5FF2 #B45FF2
triadic
#6B5FF2 #F26B5F #5FF26B
tetradic
#6B5FF2 #F25F9C #E6F25F #5FF2B4
square
#6B5FF2 #F25F9C #E6F25F #5FF2B4
split-complementary
#6B5FF2 #F2B45F #9CF25F
monochromatic
#1F10C6 #3726ED #6B5FF2 #9F98F7 #D4D0FB

Accessibility & contrast

On white

4.62
#6B5FF2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.54
#6B5FF2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #6B5FF2
4.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6B5FF2#FFFFFF#000000##FFFFFF
##6B5FF21.004.624.544.62
#FFFFFF4.621.0021.001.00
#0000004.5421.001.0021.00
##FFFFFF4.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#007AF7
Deuteranopia (green-blind)
#006FEF
Tritanopia (blue-blind)
#2383A0
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #6b5ff2;
/* rgb */ color: rgb(107, 95, 242);
/* oklch */ color: oklch(58.0% 0.212 281.2);
Tailwind
colors: {
  custom: {
    50: '#a18df7',
    500: '#6b5ff2',
    950: '#000000',
  },
}
SCSS
$custom: #6b5ff2;
$custom-light: #a18df7;
$custom-dark: #000000;
JSON
{
  "hex": "#6b5ff2",
  "rgb": {
    "r": 107,
    "g": 95,
    "b": 242
  },
  "hsl": {
    "h": 244.898,
    "s": 84.971,
    "l": 66.078
  },
  "oklch": {
    "l": 0.5801,
    "c": 0.21242,
    "h": 281.2
  },
  "luminance": 0.17721
}

Semantic roles & 50–950 ramp

primary
#6B5FF2
secondary
#EBEFBE
accent
#E104CF
background
#FAF8FF
surface
#F4F0FF
border
#CECBD7
text
#100C17
muted
#7F7D85

Preview Lab

Preview with #6B5FF2

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

Preview Lab → · Contrast checker → · Palette generator →

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