#6F5DEC#6F5DEC

#6F5DEC is a mid, highly saturated blue. Relative luminance 0.173; OKLCH L 57.5% C 0.207 H 283.5°. Best body text is #FFFFFF at 4.72:1 contrast (WCAG AA passes).

Color values

HEX#6F5DEC
RGBrgb(111, 93, 236)
HSLhsl(248, 79%, 65%)
HSVhsv(248, 61%, 93%)
CMYKcmyk(53%, 60.6%, 0%, 7.5%)
CIE-LABlab(48.59, 44.52, -70.10)
CIE-LCHlch(48.59, 83.04, 302.42°)
OKLaboklab(57.54% 0.0483 -0.2011)
OKLCHoklch(57.54% 0.207 283.5)
XYZxyz(25.6056, 17.2629, 81.3234)
Luminance0.1726 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6F5DEC #DAEC5D
analogous
#5D93EC #6F5DEC #B65DEC
triadic
#6F5DEC #EC6F5D #5DEC6F
tetradic
#6F5DEC #EC5D93 #DAEC5D #5DECB6
square
#6F5DEC #EC5D93 #DAEC5D #5DECB6
split-complementary
#6F5DEC #ECB65D #93EC5D
monochromatic
#2A16B9 #3E26E6 #6F5DEC #A094F2 #D0CBF9

Accessibility & contrast

On white

4.72
#6F5DEC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.45
#6F5DEC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6F5DEC
4.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6F5DEC#FFFFFF#000000##FFFFFF
##6F5DEC1.004.724.454.72
#FFFFFF4.721.0021.001.00
#0000004.4521.001.0021.00
##FFFFFF4.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0078F1
Deuteranopia (green-blind)
#006FE9
Tritanopia (blue-blind)
#397F9C
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #6f5dec;
/* rgb */ color: rgb(111, 93, 236);
/* oklch */ color: oklch(57.5% 0.207 283.5);
Tailwind
colors: {
  custom: {
    50: '#a28cf3',
    500: '#6f5dec',
    950: '#000000',
  },
}
SCSS
$custom: #6f5dec;
$custom-light: #a28cf3;
$custom-dark: #000000;
JSON
{
  "hex": "#6f5dec",
  "rgb": {
    "r": 111,
    "g": 93,
    "b": 236
  },
  "hsl": {
    "h": 247.552,
    "s": 79.006,
    "l": 64.51
  },
  "oklch": {
    "l": 0.57538,
    "c": 0.20677,
    "h": 283.5
  },
  "luminance": 0.17264
}

Semantic roles & 50–950 ramp

primary
#6F5DEC
secondary
#E5EBBA
accent
#DB0AC1
background
#FAF8FF
surface
#F4F0FE
border
#CECBD6
text
#100C17
muted
#7F7D85

Preview Lab

Preview with #6F5DEC

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

Preview Lab → · Contrast checker → · Palette generator →

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