#6F5CE5#6F5CE5

#6F5CE5 is a mid, vivid blue. Relative luminance 0.167; OKLCH L 56.9% C 0.199 H 284.4°. Best body text is #FFFFFF at 4.84:1 contrast (WCAG AA passes).

Color values

HEX#6F5CE5
RGBrgb(111, 92, 229)
HSLhsl(248, 72%, 63%)
HSVhsv(248, 60%, 90%)
CMYKcmyk(51.5%, 59.8%, 0%, 10.2%)
CIE-LABlab(47.87, 43.01, -67.33)
CIE-LCHlch(47.87, 79.90, 302.57°)
OKLaboklab(56.85% 0.0496 -0.1929)
OKLCHoklch(56.85% 0.199 284.4)
XYZxyz(24.5213, 16.6896, 76.0429)
Luminance0.1669 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6F5CE5 #D2E55C
analogous
#5C8DE5 #6F5CE5 #B35CE5
triadic
#6F5CE5 #E56F5C #5CE56F
tetradic
#6F5CE5 #E55C8D #D2E55C #5CE5B3
square
#6F5CE5 #E55C8D #D2E55C #5CE5B3
split-complementary
#6F5CE5 #E5B35C #8DE55C
monochromatic
#2F1BAB #4027DD #6F5CE5 #9E91ED #CCC6F6

Accessibility & contrast

On white

4.84
#6F5CE5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.34
#6F5CE5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6F5CE5
4.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6F5CE5#FFFFFF#000000##FFFFFF
##6F5CE51.004.844.344.84
#FFFFFF4.841.0021.001.00
#0000004.3421.001.0021.00
##FFFFFF4.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0076E9
Deuteranopia (green-blind)
#006DE2
Tritanopia (blue-blind)
#407C98
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #6f5ce5;
/* rgb */ color: rgb(111, 92, 229);
/* oklch */ color: oklch(56.9% 0.199 284.4);
Tailwind
colors: {
  custom: {
    50: '#a18bee',
    500: '#6f5ce5',
    950: '#000000',
  },
}
SCSS
$custom: #6f5ce5;
$custom-light: #a18bee;
$custom-dark: #000000;
JSON
{
  "hex": "#6f5ce5",
  "rgb": {
    "r": 111,
    "g": 92,
    "b": 229
  },
  "hsl": {
    "h": 248.321,
    "s": 72.487,
    "l": 62.941
  },
  "oklch": {
    "l": 0.5685,
    "c": 0.1992,
    "h": 284.4
  },
  "luminance": 0.16691
}

Semantic roles & 50–950 ramp

primary
#6F5CE5
secondary
#E0E7B6
accent
#D511B9
background
#FAF8FE
surface
#F4F0FD
border
#CECBD5
text
#100C16
muted
#7F7D84

Preview Lab

Preview with #6F5CE5

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

Preview Lab → · Contrast checker → · Palette generator →

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