#6A5DFF#6A5DFF

#6A5DFF is a mid, highly saturated blue. Relative luminance 0.181; OKLCH L 58.6% C 0.231 H 280.1°. Best body text is #000000 at 4.62:1 contrast (WCAG AA passes).

Color values

HEX#6A5DFF
RGBrgb(106, 93, 255)
HSLhsl(245, 100%, 68%)
HSVhsv(245, 64%, 100%)
CMYKcmyk(58.4%, 63.5%, 0%, 0%)
CIE-LABlab(49.63, 49.42, -79.03)
CIE-LCHlch(49.63, 93.21, 302.02°)
OKLaboklab(58.65% 0.0407 -0.2274)
OKLCHoklch(58.65% 0.231 280.1)
XYZxyz(27.9025, 18.1109, 96.6138)
Luminance0.1811 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6A5DFF #F2FF5D
analogous
#5DA1FF #6A5DFF #BB5DFF
triadic
#6A5DFF #FF6A5D #5DFF6A
tetradic
#6A5DFF #FF5DA1 #F2FF5D #5DFFBB
square
#6A5DFF #FF5DA1 #F2FF5D #5DFFBB
split-complementary
#6A5DFF #FFBB5D #A1FF5D
monochromatic
#1200E2 #3220FF #6A5DFF #A29AFF #DBD7FF

Accessibility & contrast

On white

4.54
#6A5DFF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.62
#6A5DFF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #6A5DFF
4.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6A5DFF#FFFFFF#000000##000000
##6A5DFF1.004.544.624.62
#FFFFFF4.541.0021.0021.00
#0000004.6221.001.001.00
##0000004.6221.001.001.00

Color blindness preview

Protanopia (red-blind)
#007CFF
Deuteranopia (green-blind)
#0070FC
Tritanopia (blue-blind)
#0086A6
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #6a5dff;
/* rgb */ color: rgb(106, 93, 255);
/* oklch */ color: oklch(58.6% 0.231 280.1);
Tailwind
colors: {
  custom: {
    50: '#a28cff',
    500: '#6a5dff',
    950: '#000000',
  },
}
SCSS
$custom: #6a5dff;
$custom-light: #a28cff;
$custom-dark: #000000;
JSON
{
  "hex": "#6a5dff",
  "rgb": {
    "r": 106,
    "g": 93,
    "b": 255
  },
  "hsl": {
    "h": 244.815,
    "s": 100,
    "l": 68.235
  },
  "oklch": {
    "l": 0.58646,
    "c": 0.23106,
    "h": 280.1
  },
  "luminance": 0.18113
}

Semantic roles & 50–950 ramp

primary
#6A5DFF
secondary
#F1F4C3
accent
#E600D3
background
#FAF8FF
surface
#F4F0FF
border
#CECBD7
text
#100C18
muted
#7F7D86

Preview Lab

Preview with #6A5DFF

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

Preview Lab → · Contrast checker → · Palette generator →

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