#6F5BEC#6F5BEC

#6F5BEC is a mid, highly saturated blue. Relative luminance 0.169; OKLCH L 57.2% C 0.209 H 283.9°. Best body text is #FFFFFF at 4.79:1 contrast (WCAG AA passes).

Color values

HEX#6F5BEC
RGBrgb(111, 91, 236)
HSLhsl(248, 79%, 64%)
HSVhsv(248, 61%, 93%)
CMYKcmyk(53%, 61.4%, 0%, 7.5%)
CIE-LABlab(48.15, 45.67, -70.81)
CIE-LCHlch(48.15, 84.26, 302.82°)
OKLaboklab(57.22% 0.0502 -0.2031)
OKLCHoklch(57.22% 0.209 283.9)
XYZxyz(25.4324, 16.9164, 81.2657)
Luminance0.1692 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6F5BEC #D8EC5B
analogous
#5B90EC #6F5BEC #B85BEC
triadic
#6F5BEC #EC6F5B #5BEC6F
tetradic
#6F5BEC #EC5B90 #D8EC5B #5BECB8
square
#6F5BEC #EC5B90 #D8EC5B #5BECB8
split-complementary
#6F5BEC #ECB85B #90EC5B
monochromatic
#2C15B7 #3F24E6 #6F5BEC #9F92F2 #CFC9F9

Accessibility & contrast

On white

4.79
#6F5BEC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.38
#6F5BEC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6F5BEC
4.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6F5BEC#FFFFFF#000000##FFFFFF
##6F5BEC1.004.794.384.79
#FFFFFF4.791.0021.001.00
#0000004.3821.001.0021.00
##FFFFFF4.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0077F1
Deuteranopia (green-blind)
#006EE9
Tritanopia (blue-blind)
#397E9B
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #6f5bec;
/* rgb */ color: rgb(111, 91, 236);
/* oklch */ color: oklch(57.2% 0.209 283.9);
Tailwind
colors: {
  custom: {
    50: '#a28af3',
    500: '#6f5bec',
    950: '#000000',
  },
}
SCSS
$custom: #6f5bec;
$custom-light: #a28af3;
$custom-dark: #000000;
JSON
{
  "hex": "#6f5bec",
  "rgb": {
    "r": 111,
    "g": 91,
    "b": 236
  },
  "hsl": {
    "h": 248.276,
    "s": 79.235,
    "l": 64.118
  },
  "oklch": {
    "l": 0.5722,
    "c": 0.20926,
    "h": 283.9
  },
  "luminance": 0.16918
}

Semantic roles & 50–950 ramp

primary
#6F5BEC
secondary
#E4EBB8
accent
#DC0ABF
background
#FAF8FF
surface
#F4F0FE
border
#CECBD6
text
#100C17
muted
#7F7D85

Preview Lab

Preview with #6F5BEC

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

Preview Lab → · Contrast checker → · Palette generator →

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