#6958BA#6958BA

#6958BA is a mid, vivid violet. Relative luminance 0.135; OKLCH L 52.6% C 0.149 H 288.2°. Best body text is #FFFFFF at 5.67:1 contrast (WCAG AA passes).

Color values

HEX#6958BA
RGBrgb(105, 88, 186)
HSLhsl(250, 42%, 54%)
HSVhsv(250, 53%, 73%)
CMYKcmyk(43.5%, 52.7%, 0%, 27.1%)
CIE-LABlab(43.55, 31.40, -49.65)
CIE-LCHlch(43.55, 58.74, 302.31°)
OKLaboklab(52.61% 0.0463 -0.1411)
OKLCHoklch(52.61% 0.149 288.2)
XYZxyz(18.1758, 13.5272, 48.0982)
Luminance0.1353 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6958BA #A9BA58
analogous
#5878BA #6958BA #9A58BA
triadic
#6958BA #BA6958 #58BA69
tetradic
#6958BA #BA5878 #A9BA58 #58BA9A
square
#6958BA #BA5878 #A9BA58 #58BA9A
split-complementary
#6958BA #BA9A58 #78BA58
monochromatic
#372C6B #4E3E97 #6958BA #9083CC #B7AFDE

Accessibility & contrast

On white

5.67
#6958BA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.71
#6958BA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6958BA
5.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6958BA#FFFFFF#000000##FFFFFF
##6958BA1.005.673.715.67
#FFFFFF5.671.0021.001.00
#0000003.7121.001.0021.00
##FFFFFF5.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2A69BD
Deuteranopia (green-blind)
#2B64B8
Tritanopia (blue-blind)
#516D80
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #6958ba;
/* rgb */ color: rgb(105, 88, 186);
/* oklch */ color: oklch(52.6% 0.149 288.2);
Tailwind
colors: {
  custom: {
    50: '#9987cf',
    500: '#6958ba',
    950: '#000000',
  },
}
SCSS
$custom: #6958ba;
$custom-light: #9987cf;
$custom-dark: #000000;
JSON
{
  "hex": "#6958ba",
  "rgb": {
    "r": 105,
    "g": 88,
    "b": 186
  },
  "hsl": {
    "h": 250.408,
    "s": 41.525,
    "l": 53.725
  },
  "oklch": {
    "l": 0.52614,
    "c": 0.14854,
    "h": 288.2
  },
  "luminance": 0.13528
}

Semantic roles & 50–950 ramp

primary
#6958BA
secondary
#C5CCA2
accent
#D156BC
background
#F9F8FC
surface
#F2EFF9
border
#CCCAD2
text
#0E0B14
muted
#7E7C82

Preview Lab

Preview with #6958BA

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

Preview Lab → · Contrast checker → · Palette generator →

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