#6958AF#6958AF

#6958AF is a mid, vivid violet. Relative luminance 0.131; OKLCH L 51.9% C 0.133 H 289.9°. Best body text is #FFFFFF at 5.81:1 contrast (WCAG AA passes).

Color values

HEX#6958AF
RGBrgb(105, 88, 175)
HSLhsl(252, 35%, 52%)
HSVhsv(252, 50%, 69%)
CMYKcmyk(40%, 49.7%, 0%, 31.4%)
CIE-LABlab(42.88, 28.20, -44.27)
CIE-LCHlch(42.88, 52.49, 302.50°)
OKLaboklab(51.9% 0.0455 -0.1253)
OKLCHoklch(51.9% 0.133 289.9)
XYZxyz(17.0512, 13.0773, 42.1749)
Luminance0.1308 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6958AF #9EAF58
analogous
#5873AF #6958AF #9558AF
triadic
#6958AF #AF6958 #58AF69
tetradic
#6958AF #AF5873 #9EAF58 #58AF95
square
#6958AF #AF5873 #9EAF58 #58AF95
split-complementary
#6958AF #AF9558 #73AF58
monochromatic
#372E5F #4F4188 #6958AF #8E81C3 #B3ABD7

Accessibility & contrast

On white

5.81
#6958AF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.62
#6958AF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6958AF
5.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6958AF#FFFFFF#000000##FFFFFF
##6958AF1.005.813.625.81
#FFFFFF5.811.0021.001.00
#0000003.6221.001.0021.00
##FFFFFF5.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3667B2
Deuteranopia (green-blind)
#3763AD
Tritanopia (blue-blind)
#566A7B
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #6958af;
/* rgb */ color: rgb(105, 88, 175);
/* oklch */ color: oklch(51.9% 0.133 289.9);
Tailwind
colors: {
  custom: {
    50: '#9787c7',
    500: '#6958af',
    950: '#000000',
  },
}
SCSS
$custom: #6958af;
$custom-light: #9787c7;
$custom-dark: #000000;
JSON
{
  "hex": "#6958af",
  "rgb": {
    "r": 105,
    "g": 88,
    "b": 175
  },
  "hsl": {
    "h": 251.724,
    "s": 35.223,
    "l": 51.569
  },
  "oklch": {
    "l": 0.519,
    "c": 0.13334,
    "h": 289.9
  },
  "luminance": 0.13078
}

Semantic roles & 50–950 ramp

primary
#6958AF
secondary
#BDC59E
accent
#CB5DB6
background
#F9F8FC
surface
#F2EFF8
border
#CCCAD1
text
#0E0B13
muted
#7E7C82

Preview Lab

Preview with #6958AF

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

Preview Lab → · Contrast checker → · Palette generator →

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