#6F5FFE#6F5FFE

#6F5FFE is a mid, highly saturated blue. Relative luminance 0.187; OKLCH L 59.2% C 0.227 H 281.5°. Best body text is #000000 at 4.74:1 contrast (WCAG AA passes).

Color values

HEX#6F5FFE
RGBrgb(111, 95, 254)
HSLhsl(246, 99%, 68%)
HSVhsv(246, 63%, 100%)
CMYKcmyk(56.3%, 62.6%, 0%, 0.4%)
CIE-LABlab(50.36, 48.77, -77.28)
CIE-LCHlch(50.36, 91.38, 302.26°)
OKLaboklab(59.25% 0.0452 -0.2221)
OKLCHoklch(59.25% 0.227 281.5)
XYZxyz(28.5316, 18.7178, 95.8562)
Luminance0.1872 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6F5FFE #EEFE5F
analogous
#5F9EFE #6F5FFE #BE5FFE
triadic
#6F5FFE #FE6F5F #5FFE6F
tetradic
#6F5FFE #FE5F9E #EEFE5F #5FFEBE
square
#6F5FFE #FE5F9E #EEFE5F #5FFEBE
split-complementary
#6F5FFE #FEBE5F #9EFE5F
monochromatic
#1801E1 #3822FE #6F5FFE #A69CFE #DCD9FF

Accessibility & contrast

On white

4.43
#6F5FFE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.74
#6F5FFE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #6F5FFE
4.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6F5FFE#FFFFFF#000000##000000
##6F5FFE1.004.434.744.74
#FFFFFF4.431.0021.0021.00
#0000004.7421.001.001.00
##0000004.7421.001.001.00

Color blindness preview

Protanopia (red-blind)
#007DFF
Deuteranopia (green-blind)
#0072FB
Tritanopia (blue-blind)
#1F87A6
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #6f5ffe;
/* rgb */ color: rgb(111, 95, 254);
/* oklch */ color: oklch(59.2% 0.227 281.5);
Tailwind
colors: {
  custom: {
    50: '#a58dff',
    500: '#6f5ffe',
    950: '#000000',
  },
}
SCSS
$custom: #6f5ffe;
$custom-light: #a58dff;
$custom-dark: #000000;
JSON
{
  "hex": "#6f5ffe",
  "rgb": {
    "r": 111,
    "g": 95,
    "b": 254
  },
  "hsl": {
    "h": 246.038,
    "s": 98.758,
    "l": 68.431
  },
  "oklch": {
    "l": 0.59245,
    "c": 0.2267,
    "h": 281.5
  },
  "luminance": 0.1872
}

Semantic roles & 50–950 ramp

primary
#6F5FFE
secondary
#F0F4C4
accent
#E600CE
background
#FAF8FF
surface
#F4F0FF
border
#CECBD7
text
#100C18
muted
#7F7D86

Preview Lab

Preview with #6F5FFE

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

Preview Lab → · Contrast checker → · Palette generator →

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