#6F5FE5#6F5FE5

#6F5FE5 is a mid, vivid blue. Relative luminance 0.172; OKLCH L 57.3% C 0.195 H 283.8°. Best body text is #FFFFFF at 4.73:1 contrast (WCAG AA passes).

Color values

HEX#6F5FE5
RGBrgb(111, 95, 229)
HSLhsl(247, 72%, 64%)
HSVhsv(247, 59%, 90%)
CMYKcmyk(51.5%, 58.5%, 0%, 10.2%)
CIE-LABlab(48.54, 41.27, -66.24)
CIE-LCHlch(48.54, 78.05, 301.92°)
OKLaboklab(57.34% 0.0466 -0.1897)
OKLCHoklch(57.34% 0.195 283.8)
XYZxyz(24.7863, 17.2197, 76.1312)
Luminance0.1722 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6F5FE5 #D5E55F
analogous
#5F92E5 #6F5FE5 #B25FE5
triadic
#6F5FE5 #E56F5F #5FE56F
tetradic
#6F5FE5 #E55F92 #D5E55F #5FE5B2
square
#6F5FE5 #E55F92 #D5E55F #5FE5B2
split-complementary
#6F5FE5 #E5B25F #92E55F
monochromatic
#2E1CAD #402ADC #6F5FE5 #9E94EE #CEC8F6

Accessibility & contrast

On white

4.73
#6F5FE5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.44
#6F5FE5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6F5FE5
4.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6F5FE5#FFFFFF#000000##FFFFFF
##6F5FE51.004.734.444.73
#FFFFFF4.731.0021.001.00
#0000004.4421.001.0021.00
##FFFFFF4.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0077E9
Deuteranopia (green-blind)
#006FE2
Tritanopia (blue-blind)
#407E99
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #6f5fe5;
/* rgb */ color: rgb(111, 95, 229);
/* oklch */ color: oklch(57.3% 0.195 283.8);
Tailwind
colors: {
  custom: {
    50: '#a18dee',
    500: '#6f5fe5',
    950: '#000000',
  },
}
SCSS
$custom: #6f5fe5;
$custom-light: #a18dee;
$custom-dark: #000000;
JSON
{
  "hex": "#6f5fe5",
  "rgb": {
    "r": 111,
    "g": 95,
    "b": 229
  },
  "hsl": {
    "h": 247.164,
    "s": 72.043,
    "l": 63.529
  },
  "oklch": {
    "l": 0.57341,
    "c": 0.19535,
    "h": 283.8
  },
  "luminance": 0.17221
}

Semantic roles & 50–950 ramp

primary
#6F5FE5
secondary
#E2E8B8
accent
#D411BD
background
#FAF8FE
surface
#F4F0FD
border
#CECBD5
text
#100C16
muted
#7F7D84

Preview Lab

Preview with #6F5FE5

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

Preview Lab → · Contrast checker → · Palette generator →

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