#6F5AF2#6F5AF2

#6F5AF2 is a mid, highly saturated blue. Relative luminance 0.171; OKLCH L 57.5% C 0.218 H 283.4°. Best body text is #FFFFFF at 4.75:1 contrast (WCAG AA passes).

Color values

HEX#6F5AF2
RGBrgb(111, 90, 242)
HSLhsl(248, 85%, 65%)
HSVhsv(248, 63%, 95%)
CMYKcmyk(54.1%, 62.8%, 0%, 5.1%)
CIE-LABlab(48.39, 48.01, -73.79)
CIE-LCHlch(48.39, 88.04, 303.05°)
OKLaboklab(57.53% 0.0507 -0.2119)
OKLCHoklch(57.53% 0.218 283.4)
XYZxyz(26.2338, 17.1011, 85.9057)
Luminance0.1710 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6F5AF2 #DDF25A
analogous
#5A91F2 #6F5AF2 #BB5AF2
triadic
#6F5AF2 #F26F5A #5AF26F
tetradic
#6F5AF2 #F25A91 #DDF25A #5AF2BB
square
#6F5AF2 #F25A91 #DDF25A #5AF2BB
split-complementary
#6F5AF2 #F2BB5A #91F25A
monochromatic
#280FC2 #3D21EE #6F5AF2 #A193F6 #D2CBFB

Accessibility & contrast

On white

4.75
#6F5AF2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.42
#6F5AF2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6F5AF2
4.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6F5AF2#FFFFFF#000000##FFFFFF
##6F5AF21.004.754.424.75
#FFFFFF4.751.0021.001.00
#0000004.4221.001.0021.00
##FFFFFF4.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0078F7
Deuteranopia (green-blind)
#006EEF
Tritanopia (blue-blind)
#337F9E
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #6f5af2;
/* rgb */ color: rgb(111, 90, 242);
/* oklch */ color: oklch(57.5% 0.218 283.4);
Tailwind
colors: {
  custom: {
    50: '#a38af7',
    500: '#6f5af2',
    950: '#000000',
  },
}
SCSS
$custom: #6f5af2;
$custom-light: #a38af7;
$custom-dark: #000000;
JSON
{
  "hex": "#6f5af2",
  "rgb": {
    "r": 111,
    "g": 90,
    "b": 242
  },
  "hsl": {
    "h": 248.289,
    "s": 85.393,
    "l": 65.098
  },
  "oklch": {
    "l": 0.57529,
    "c": 0.21791,
    "h": 283.4
  },
  "luminance": 0.17103
}

Semantic roles & 50–950 ramp

primary
#6F5AF2
secondary
#E7EEBA
accent
#E204C3
background
#FAF8FF
surface
#F4F0FF
border
#CECBD7
text
#100C17
muted
#7F7D85

Preview Lab

Preview with #6F5AF2

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

Preview Lab → · Contrast checker → · Palette generator →

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