#6F5FEB#6F5FEB

#6F5FEB is a mid, highly saturated blue. Relative luminance 0.176; OKLCH L 57.8% C 0.203 H 283.2°. Best body text is #FFFFFF at 4.65:1 contrast (WCAG AA passes).

Color values

HEX#6F5FEB
RGBrgb(111, 95, 235)
HSLhsl(247, 78%, 65%)
HSVhsv(247, 60%, 92%)
CMYKcmyk(52.8%, 59.6%, 0%, 7.8%)
CIE-LABlab(48.96, 43.07, -68.94)
CIE-LCHlch(48.96, 81.29, 302.00°)
OKLaboklab(57.79% 0.0464 -0.1976)
OKLCHoklch(57.79% 0.203 283.2)
XYZxyz(25.6386, 17.5606, 80.6197)
Luminance0.1756 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6F5FEB #DBEB5F
analogous
#5F95EB #6F5FEB #B55FEB
triadic
#6F5FEB #EB6F5F #5FEB6F
tetradic
#6F5FEB #EB5F95 #DBEB5F #5FEBB5
square
#6F5FEB #EB5F95 #DBEB5F #5FEBB5
split-complementary
#6F5FEB #EBB55F #95EB5F
monochromatic
#2A17B9 #3E29E4 #6F5FEB #A095F2 #D1CCF9

Accessibility & contrast

On white

4.65
#6F5FEB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.51
#6F5FEB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #6F5FEB
4.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6F5FEB#FFFFFF#000000##FFFFFF
##6F5FEB1.004.654.514.65
#FFFFFF4.651.0021.001.00
#0000004.5121.001.0021.00
##FFFFFF4.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0079F0
Deuteranopia (green-blind)
#0070E8
Tritanopia (blue-blind)
#3A809C
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #6f5feb;
/* rgb */ color: rgb(111, 95, 235);
/* oklch */ color: oklch(57.8% 0.203 283.2);
Tailwind
colors: {
  custom: {
    50: '#a28df2',
    500: '#6f5feb',
    950: '#000000',
  },
}
SCSS
$custom: #6f5feb;
$custom-light: #a28df2;
$custom-dark: #000000;
JSON
{
  "hex": "#6f5feb",
  "rgb": {
    "r": 111,
    "g": 95,
    "b": 235
  },
  "hsl": {
    "h": 246.857,
    "s": 77.778,
    "l": 64.706
  },
  "oklch": {
    "l": 0.57786,
    "c": 0.203,
    "h": 283.2
  },
  "luminance": 0.17562
}

Semantic roles & 50–950 ramp

primary
#6F5FEB
secondary
#E5EBBB
accent
#DA0BC2
background
#FAF8FE
surface
#F4F0FD
border
#CECBD5
text
#100C17
muted
#7F7D85

Preview Lab

Preview with #6F5FEB

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

Preview Lab → · Contrast checker → · Palette generator →

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