#6F5AEC#6F5AEC

#6F5AEC is a mid, highly saturated blue. Relative luminance 0.167; OKLCH L 57.1% C 0.210 H 284.1°. Best body text is #FFFFFF at 4.83:1 contrast (WCAG AA passes).

Color values

HEX#6F5AEC
RGBrgb(111, 90, 236)
HSLhsl(249, 79%, 64%)
HSVhsv(249, 62%, 93%)
CMYKcmyk(53%, 61.9%, 0%, 7.5%)
CIE-LABlab(47.94, 46.24, -71.16)
CIE-LCHlch(47.94, 84.86, 303.02°)
OKLaboklab(57.06% 0.0511 -0.2042)
OKLCHoklch(57.06% 0.21 284.1)
XYZxyz(25.3474, 16.7465, 81.2374)
Luminance0.1675 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6F5AEC #D7EC5A
analogous
#5A8EEC #6F5AEC #B85AEC
triadic
#6F5AEC #EC6F5A #5AEC6F
tetradic
#6F5AEC #EC5A8E #D7EC5A #5AECB8
square
#6F5AEC #EC5A8E #D7EC5A #5AECB8
split-complementary
#6F5AEC #ECB85A #8EEC5A
monochromatic
#2C15B7 #3F23E6 #6F5AEC #9F91F2 #CFC8F9

Accessibility & contrast

On white

4.83
#6F5AEC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.35
#6F5AEC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6F5AEC
4.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6F5AEC#FFFFFF#000000##FFFFFF
##6F5AEC1.004.834.354.83
#FFFFFF4.831.0021.001.00
#0000004.3521.001.0021.00
##FFFFFF4.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0076F1
Deuteranopia (green-blind)
#006DE9
Tritanopia (blue-blind)
#3A7D9B
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #6f5aec;
/* rgb */ color: rgb(111, 90, 236);
/* oklch */ color: oklch(57.1% 0.210 284.1);
Tailwind
colors: {
  custom: {
    50: '#a28af3',
    500: '#6f5aec',
    950: '#000000',
  },
}
SCSS
$custom: #6f5aec;
$custom-light: #a28af3;
$custom-dark: #000000;
JSON
{
  "hex": "#6f5aec",
  "rgb": {
    "r": 111,
    "g": 90,
    "b": 236
  },
  "hsl": {
    "h": 248.63,
    "s": 79.348,
    "l": 63.922
  },
  "oklch": {
    "l": 0.57062,
    "c": 0.21049,
    "h": 284.1
  },
  "luminance": 0.16748
}

Semantic roles & 50–950 ramp

primary
#6F5AEC
secondary
#E3EBB7
accent
#DC0ABD
background
#FAF8FF
surface
#F4F0FE
border
#CECBD6
text
#100C17
muted
#7F7D85

Preview Lab

Preview with #6F5AEC

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

Preview Lab → · Contrast checker → · Palette generator →

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