#6F5CEC#6F5CEC

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

Color values

HEX#6F5CEC
RGBrgb(111, 92, 236)
HSLhsl(248, 79%, 64%)
HSVhsv(248, 61%, 93%)
CMYKcmyk(53%, 61%, 0%, 7.5%)
CIE-LABlab(48.37, 45.10, -70.45)
CIE-LCHlch(48.37, 83.65, 302.62°)
OKLaboklab(57.38% 0.0492 -0.2021)
OKLCHoklch(57.38% 0.208 283.7)
XYZxyz(25.5184, 17.0885, 81.2944)
Luminance0.1709 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6F5CEC #D9EC5C
analogous
#5C91EC #6F5CEC #B75CEC
triadic
#6F5CEC #EC6F5C #5CEC6F
tetradic
#6F5CEC #EC5C91 #D9EC5C #5CECB7
square
#6F5CEC #EC5C91 #D9EC5C #5CECB7
split-complementary
#6F5CEC #ECB75C #91EC5C
monochromatic
#2B15B8 #3F25E6 #6F5CEC #9F93F2 #D0CAF9

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##6F5CEC#FFFFFF#000000##FFFFFF
##6F5CEC1.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)
#0077F1
Deuteranopia (green-blind)
#006EE9
Tritanopia (blue-blind)
#397F9B
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #6f5cec;
/* rgb */ color: rgb(111, 92, 236);
/* oklch */ color: oklch(57.4% 0.208 283.7);
Tailwind
colors: {
  custom: {
    50: '#a28bf3',
    500: '#6f5cec',
    950: '#000000',
  },
}
SCSS
$custom: #6f5cec;
$custom-light: #a28bf3;
$custom-dark: #000000;
JSON
{
  "hex": "#6f5cec",
  "rgb": {
    "r": 111,
    "g": 92,
    "b": 236
  },
  "hsl": {
    "h": 247.917,
    "s": 79.121,
    "l": 64.314
  },
  "oklch": {
    "l": 0.57378,
    "c": 0.20802,
    "h": 283.7
  },
  "luminance": 0.1709
}

Semantic roles & 50–950 ramp

primary
#6F5CEC
secondary
#E4EBB9
accent
#DB0AC0
background
#FAF8FF
surface
#F4F0FE
border
#CECBD6
text
#100C17
muted
#7F7D85

Preview Lab

Preview with #6F5CEC

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

Preview Lab → · Contrast checker → · Palette generator →

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