#6958F6#6958F6

#6958F6 is a mid, highly saturated blue. Relative luminance 0.166; OKLCH L 57.1% C 0.226 H 281.4°. Best body text is #FFFFFF at 4.85:1 contrast (WCAG AA passes).

Color values

HEX#6958F6
RGBrgb(105, 88, 246)
HSLhsl(246, 90%, 65%)
HSVhsv(246, 64%, 96%)
CMYKcmyk(57.3%, 64.2%, 0%, 3.5%)
CIE-LABlab(47.80, 49.36, -77.02)
CIE-LCHlch(47.80, 91.48, 302.66°)
OKLaboklab(57.08% 0.0445 -0.2216)
OKLCHoklch(57.08% 0.226 281.4)
XYZxyz(25.9448, 16.6348, 89.0146)
Luminance0.1664 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6958F6 #E5F658
analogous
#5896F6 #6958F6 #B858F6
triadic
#6958F6 #F66958 #58F669
tetradic
#6958F6 #F65896 #E5F658 #58F6B8
square
#6958F6 #F65896 #E5F658 #58F6B8
split-complementary
#6958F6 #F6B858 #96F658
monochromatic
#1F0BC9 #351EF3 #6958F6 #9D92F9 #D1CCFC

Accessibility & contrast

On white

4.85
#6958F6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.33
#6958F6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6958F6
4.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6958F6#FFFFFF#000000##FFFFFF
##6958F61.004.854.334.85
#FFFFFF4.851.0021.001.00
#0000004.3321.001.0021.00
##FFFFFF4.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0077FB
Deuteranopia (green-blind)
#006CF3
Tritanopia (blue-blind)
#10809F
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #6958f6;
/* rgb */ color: rgb(105, 88, 246);
/* oklch */ color: oklch(57.1% 0.226 281.4);
Tailwind
colors: {
  custom: {
    50: '#a188fa',
    500: '#6958f6',
    950: '#000000',
  },
}
SCSS
$custom: #6958f6;
$custom-light: #a188fa;
$custom-dark: #000000;
JSON
{
  "hex": "#6958f6",
  "rgb": {
    "r": 105,
    "g": 88,
    "b": 246
  },
  "hsl": {
    "h": 246.456,
    "s": 89.773,
    "l": 65.49
  },
  "oklch": {
    "l": 0.57077,
    "c": 0.226,
    "h": 281.4
  },
  "luminance": 0.16637
}

Semantic roles & 50–950 ramp

primary
#6958F6
secondary
#EAEFBA
accent
#E600CD
background
#FAF8FF
surface
#F4F0FF
border
#CECBD7
text
#100B17
muted
#7F7C85

Preview Lab

Preview with #6958F6

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

Preview Lab → · Contrast checker → · Palette generator →

#6958F6 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva