#6958BE#6958BE

#6958BE is a mid, vivid violet. Relative luminance 0.137; OKLCH L 52.9% C 0.154 H 287.6°. Best body text is #FFFFFF at 5.61:1 contrast (WCAG AA passes).

Color values

HEX#6958BE
RGBrgb(105, 88, 190)
HSLhsl(250, 44%, 55%)
HSVhsv(250, 54%, 75%)
CMYKcmyk(44.7%, 53.7%, 0%, 25.5%)
CIE-LABlab(43.80, 32.57, -51.58)
CIE-LCHlch(43.80, 61.00, 302.27°)
OKLaboklab(52.88% 0.0465 -0.1468)
OKLCHoklch(52.88% 0.154 287.6)
XYZxyz(18.6070, 13.6997, 50.3691)
Luminance0.1370 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6958BE #ADBE58
analogous
#587ABE #6958BE #9C58BE
triadic
#6958BE #BE6958 #58BE69
tetradic
#6958BE #BE587A #ADBE58 #58BE9C
square
#6958BE #BE587A #ADBE58 #58BE9C
split-complementary
#6958BE #BE9C58 #7ABE58
monochromatic
#372C70 #4D3D9C #6958BE #9184CF #B8B0E0

Accessibility & contrast

On white

5.61
#6958BE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.74
#6958BE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6958BE
5.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6958BE#FFFFFF#000000##FFFFFF
##6958BE1.005.613.745.61
#FFFFFF5.611.0021.001.00
#0000003.7421.001.0021.00
##FFFFFF5.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#256AC2
Deuteranopia (green-blind)
#2565BC
Tritanopia (blue-blind)
#4F6E82
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #6958be;
/* rgb */ color: rgb(105, 88, 190);
/* oklch */ color: oklch(52.9% 0.154 287.6);
Tailwind
colors: {
  custom: {
    50: '#9987d2',
    500: '#6958be',
    950: '#000000',
  },
}
SCSS
$custom: #6958be;
$custom-light: #9987d2;
$custom-dark: #000000;
JSON
{
  "hex": "#6958be",
  "rgb": {
    "r": 105,
    "g": 88,
    "b": 190
  },
  "hsl": {
    "h": 250,
    "s": 43.966,
    "l": 54.51
  },
  "oklch": {
    "l": 0.52882,
    "c": 0.15399,
    "h": 287.6
  },
  "luminance": 0.137
}

Semantic roles & 50–950 ramp

primary
#6958BE
secondary
#C7CEA3
accent
#D454BE
background
#F9F8FD
surface
#F2EFFA
border
#CCCAD3
text
#0E0B14
muted
#7E7C83

Preview Lab

Preview with #6958BE

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

Preview Lab → · Contrast checker → · Palette generator →

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