#6A5FF0#6A5FF0

#6A5FF0 is a mid, highly saturated blue. Relative luminance 0.175; OKLCH L 57.8% C 0.210 H 281.0°. Best body text is #FFFFFF at 4.66:1 contrast (WCAG AA passes).

Color values

HEX#6A5FF0
RGBrgb(106, 95, 240)
HSLhsl(245, 83%, 66%)
HSVhsv(245, 60%, 94%)
CMYKcmyk(55.8%, 60.4%, 0%, 5.9%)
CIE-LABlab(48.93, 43.69, -71.81)
CIE-LCHlch(48.93, 84.06, 301.32°)
OKLaboklab(57.78% 0.04 -0.2062)
OKLCHoklch(57.78% 0.21 281)
XYZxyz(25.7593, 17.5382, 84.4490)
Luminance0.1754 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6A5FF0 #E5F05F
analogous
#5F9CF0 #6A5FF0 #B35FF0
triadic
#6A5FF0 #F06A5F #5FF06A
tetradic
#6A5FF0 #F05F9C #E5F05F #5FF0B3
square
#6A5FF0 #F05F9C #E5F05F #5FF0B3
split-complementary
#6A5FF0 #F0B35F #9CF05F
monochromatic
#2012C2 #3627EB #6A5FF0 #9E97F5 #D2CFFA

Accessibility & contrast

On white

4.66
#6A5FF0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.51
#6A5FF0 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #6A5FF0
4.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6A5FF0#FFFFFF#000000##FFFFFF
##6A5FF01.004.664.514.66
#FFFFFF4.661.0021.001.00
#0000004.5121.001.0021.00
##FFFFFF4.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#007AF5
Deuteranopia (green-blind)
#006FED
Tritanopia (blue-blind)
#22829F
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #6a5ff0;
/* rgb */ color: rgb(106, 95, 240);
/* oklch */ color: oklch(57.8% 0.210 281.0);
Tailwind
colors: {
  custom: {
    50: '#a08df6',
    500: '#6a5ff0',
    950: '#000000',
  },
}
SCSS
$custom: #6a5ff0;
$custom-light: #a08df6;
$custom-dark: #000000;
JSON
{
  "hex": "#6a5ff0",
  "rgb": {
    "r": 106,
    "g": 95,
    "b": 240
  },
  "hsl": {
    "h": 244.552,
    "s": 82.857,
    "l": 65.686
  },
  "oklch": {
    "l": 0.57782,
    "c": 0.21006,
    "h": 281
  },
  "luminance": 0.1754
}

Semantic roles & 50–950 ramp

primary
#6A5FF0
secondary
#EAEEBD
accent
#DF06CF
background
#FAF8FF
surface
#F4F0FF
border
#CECBD7
text
#100C17
muted
#7F7D85

Preview Lab

Preview with #6A5FF0

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

Preview Lab → · Contrast checker → · Palette generator →

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